tec_to_vtk


tec_to_vtk, a MATLAB code which reads a tecplot() TEC graphics file containing 80 images of the motion and deformation of a red blood cell, and outputs 80 separate VTK unstructured grid files, which can be read into PARAVIEW and animated.

The program was written to handle a single specific file. Some parts of the program might be useful for someone needing a similar kind of translation.

Usage:

tec_to_vtk ( 'rbc' )
expects to read the TECPLOT ASCII file 'rbc.tec' and creates 'rbc_001.vtk' through 'rbc_080.vtk'.

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

tec_to_vtk is available in a MATLAB version and an Octave version.

Related Data and Programs:

tec_to_vtk_test

paraview, examples which illustrate the use of the paraview() graphics program.

tec, a data directory which contains a description and examples of the TEC graphics files used by TECPLOT.

tec_io a MATLAB code which can read or write a TEC file containing a finite element model.

tec_to_fem, a MATLAB code which converts a TEC file into an FEM model.

tec_to_obj, a Fortran90 code which reads a TECPLOT file describing a surface in 3D composed of triangles or quadrilaterals, and writes an OBJ file.

threed_to_vtk, a MATLAB code which accepts computational data from a 3D finite element fluid flow program and writes it to a VTK "legacy" file for postprocessing by paraview().

twod_to_vtk, a MATLAB code which accepts computational data from a 2D finite element fluid flow program and writes it to a VTK "legacy" file for postprocessing by paraview().

twod_to_vtu, a MATLAB code which accepts computational data from a 2D finite element fluid flow program and writes it to a VTK unstructured grid file for postprocessing by paraview().

vtk, a data directory which contains examples of "legacy" (old style) VTK files, a file format used by the Visualization Toolkit, and which can be displayed by paraview();

vtk_io, a Fortran90 code which reads and writes files in the VTK format.

vtu, a data directory which contains examples of VTU files, an XML-based file format used by the Visualization Toolkit for unstructured grids, and which can be displayed by paraview();

Source Code:


Last revised on 17 July 2023.