FEM_TO_TEC
Convert an FEM Model to a TECPLOT ASCII File


FEM_TO_TEC is a MATLAB program which reads three files defining a finite element model (FEM format) and writes a TECPLOT ASCII file suitable for display by TECPLOT.

The finite element model is assumed to include three items:

A naming convention assumes that these files share a common prefix, followed by the suffixes "_nodes.txt", "_elements.txt", and "_values.txt". Thus, the "carlos" set of data would be contained in the files "carlos_nodes.txt", "carlos_elements.txt" and "carlos_values.txt".

FEM_TO_TEC reads these three files and writes an equivalent ASCII ".dat" file that can be processed by the TECPLOT graphics program.

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

Usage:

fem_to_tec ( 'prefix' )
where reads the files 'prefix'_nodes.txt, 'prefix'_elements.txt and 'prefix'_values.txt and creates the TECPLOT ASCII file 'prefix'.dat.

Licensing:

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

Languages:

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

Related Data and Programs:

FD_TO_TEC, a MATLAB program which converts FD models into TECPLOT ASCII files.

FEM_IO, a MATLAB library which reads or writes an FEM model.

FEM_TO_MESH, a MATLAB program which reads a pair of FEM files defining node coordinates and elements, and creates a corresponding MESH file.

FEM2D, a data directory which contains examples of 2D FEM files, text files that describe a 2D finite element geometry and associated nodal values;

TEC, a data directory which contains a description and examples of TECPLOT ASCII graphics files.

TEC_IO, a MATLAB library which reads and writes TECPLOT ASCII graphics files.

TEC_TO_FEM, a MATLAB program which can convert a TECPLOT ASCII graphics file into an FEM model.

Source Code:

Examples and Tests:

ELL is an example of a 2D finite element model in which a scalar value is stored. This data was computed by the FREE_FEM_POISSON program.

TINY is a "tiny" example of a 2D finite element model in which a vector value is stored.

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


Last revised on 11 March 2010.