TEC_IO
Read and Write TEC Files


TEC_IO is a library of MATLAB routines which can read or write a TEC graphics file containing a finite element model.

There are several kinds of TEC 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.

Related Data and Programs:

FEM is a data directory which contains a description of the data files that can be used to describe a finite element model.

FEM_50 is a MATLAB finite element program in just 50 lines of code.

FEM_50_HEAT is a modified version of FEM_50 suitable for solving the heat equation.

FEM_IO is a set of MATLAB routines for reading or writing an FEM model.

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

FEM2D_POISSON is a program for solving Poisson's equation on a square, using the finite element method.

FEMPACK is a library of routines for finite element calculations.

FREE_FEM_POISSON is a program for solving Poisson's equation on a triangulated region, using the finite element method.

FREE_FEM_STOKES is a program for solving the Stokes equations on a triangulated region, using the finite element method.

HOT_PIPE is a sample problem that can be run with FEM_50_HEAT.

HOT_POINT is a sample problem that can be run with FEM_50_HEAT.

TABLE is a file format which is used for the FEM files.

TABLE_IO is a library of routines for reading and writing TABLE files.

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

TEC_IO is also available in a FORTRAN90 version.

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

TEC_TO_UCD is an executable FORTRAN90 program which reads a (finite element) TEC file and writes an equivalent AVS UCD file.

Source Code:

Examples and Tests:

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


Last revised on 26 April 2006.