Read and Write TECPLOT ASCII Files

TEC_IO is a FORTRAN90 library which reads or writes a TECPLOT ASCII file containing a finite element model.

There are several kinds of TECPLOT ASCII files; the routines given here can only handle the case where a single ZONE record is used to define finite element data, using a DATAPACKING value of "POINT" (not "BLOCK"), and a ZONETYPE of

The data to be written or read is assumed to have a logical organization into three groups:

The TECPLOT home page contains a description of the TECPLOT program.


The computer code and data files made available on this web page are distributed under the GNU LGPL license.


TEC_IO is available in a FORTRAN90 version and a MATLAB version.

Related Data and Programs:

FEM_TO_TEC, a FORTRAN90 program which reads the three files defining an FEM model and writes an equivalent TEC file.

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

TEC_TO_FEM, a FORTRAN90 program which reads a TEC file and writes a set of three files defining the equivalent FEM model.

TEC_TO_OBJ, a FORTRAN90 program which can read a TECPLOT file describing a surface in 3D composed of triangles or quadrilaterals, and write an OBJ file.

TEC_WRITE, a FORTRAN90 library which can write TEC files.


Source Code:

Examples and Tests:

List of Routines:

You can go up one level to the FORTRAN90 source codes.

Last revised on 13 November 2006.