This script can convert .vtk rectilinear grid files to .dat or .szplt files for viewing in Tecplot
Working in Linux
-
Open Paraview readable formats in Paraview.
-
File>Save Data...>select format as legacy .vtk and ascii.
-
Keep .vtk file in the folder containing script.
-
Copy libtecio.so from Tecplot path/to/tecplot/installation/bin to tecio directory
-
Run script:
for output as .szplt
python vtk2tecplot.py szplt
for output as .dat
python vtk2tecplot.py dat
- Numpy
- TECIO.dll (included)
- tecio_szl.py from github.com/Tecplot/handyscripts/tree/master/python/dataconversion/ (included)
- libtecio.so or tecio.dll (not included)
Very limited testing done! Sucessfully converts a .vtk file generated by paraview from a 3d flow simulation snapshot to .dat and .szplt file readable by tecplot. May need modifications to work with 2D plots, different type of grid, etc.