fem_to_tec


fem_to_tec, an Octave code 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".

The code 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 information on this web page is distributed under the MIT license.

Languages:

fem_to_tec is available in a Fortran90 version and a MATLAB version and an Octave version.

Related Data and Programs:

fem_to_tec_test

fd_to_tec, an Octave code which converts FD models into TECPLOT ASCII files.

fem_io, an Octave code which reads or writes an FEM model.

fem_to_gmsh, an Octave code which reads FEM files definining a 1D, 2D or 3D mesh, namely a file of node coordinates and a file of elements defined by node indices, and creates a gmsh() mesh file.

fem_to_medit, an Octave code which reads a pair of FEM files defining node coordinates and elements, and creates a corresponding medit() mesh file.

fem_to_triangle, an Octave code which reads FEM files defining a 2D mesh of triangles, namely a file of node coordinates and a file of elements defined by node indices, and creates a corresponding pair of node and element files for use by Jonathan Shewchuk's triangle() program.

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, an Octave code which reads and writes TECPLOT ASCII graphics files.

tec_to_fem, an Octave code which converts a TECPLOT ASCII graphics file into an FEM model.

Source Code:


Last revised on 23 September 2024.