TEC_TO_FEM
Convert TECPLOT Finite Element Files to FEM Format
TEC_TO_FEM is a FORTRAN90 program
which can read a TECPLOT file defining a finite element dataset,
and write a corresponding set of FEM files.
Usage:
-
tec_to_fem file.tec
-
reads the TECPLOT file file.tec and creates the FEM files
file.node_coord.txt, file.element.txt and
file.node_data.txt.
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 FORTRAN90 library of routines that may be used to
read or write a set of FEM files.
FEM_TO_TEC
is a FORTRAN90 program that can convert an FEM model
into a TEC graphics file.
FEM2D_POISSON
is a FORTRAN90 program for solving Poisson's equation
on a square, using the finite element method.
FEMPACK
is a FORTRAN90 library of routines for finite element
calculations.
FREE_FEM_POISSON
is a FORTRAN90 program for solving Poisson's equation
on a triangulated region, using the finite element method.
FREE_FEM_STOKES
is a FORTRAN90 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.
PLTMG_SINGLE
is a FORTRAN77 library of routines for solving
elliptic partial differential equations using the finite
element method with piecewise linear triangles and the
multigrid approach.
TABLE
is a format which is used for the input and output files used
by FEM_IO.
TABLE_IO
is a library of FORTRAN90 routines for reading and writing
TABLE files.
TEC
is a data directory which contains a description of TECPLOT files.
TEC_IO
is a FORTRAN90 library of routines that may be used to
read or write a TECPLOT file definite a finite element dataset.
TEC_TO_FEM is also available in
a MATLAB version.
TEC_TO_OBJ
is 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_TO_UCD
is an executable FORTRAN90 program which can read
a TECPLOT file defining a finite element dataset, and write
a corresponding AVS UCD (Unstructured Cell Data) file.
TEC_WRITE
is a FORTRAN90 library of routines which can write TEC files.
Reference:
-
Hans Rudolf Schwarz,
Methode der Finiten Elemente,
Teubner Studienbuecher, 1980.
-
Gilbert Strang, George Fix,
An Analysis of the Finite Element Method,
Prentice Hall, 1973.
-
Tecplot, Inc,
TECPLOT Reference Manual,
Version 10, Release 4,
Tecplot, Inc, 2005.
-
Tecplot, Inc,
TECPLOT User's Manual,
Version 10,
Tecplot, Inc, 2005.
-
Olgierd Zienkiewicz,
The Finite Element Method,
McGraw Hill, Third Edition, 1977.
-
Daniel Zwillinger, editor,
Standard Mathematical Tables and Formulae,
30th Edition,
CRC Press, 1996.
Source Code:
Examples and Tests:
TINY is a "tiny" dataset.
List of Routines:
-
MAIN is the main program for TEC_TO_FEM.
-
CH_CAP capitalizes a single character.
-
CH_EQI is a case insensitive comparison of two characters for equality.
-
CH_TO_DIGIT returns the integer value of a base 10 digit.
-
DTABLE_DATA_WRITE writes data to a double precision table file.
-
DTABLE_HEADER_WRITE writes the header to a double precision table file.
-
FEM_WRITE writes data files associated with a finite element solution.
-
FILE_NAME_EXT_GET determines the "extension" of a file name.
-
FILE_NAME_EXT_SWAP replaces the current "extension" of a file name.
-
GET_UNIT returns a free FORTRAN unit number.
-
ITABLE_DATA_WRITE writes data to an integer table file.
-
ITABLE_HEADER_WRITE writes the header to an integer table file.
-
S_BEGIN is TRUE if one string matches the beginning of the other.
-
S_BEHEAD_SUBSTRING "beheads" a string, removing a given substring.
-
S_BLANK_DELETE removes blanks from a string, left justifying the remainder.
-
S_EQI is a case insensitive comparison of two strings for equality.
-
S_INDEX_LAST finds the LAST occurrence of a given substring.
-
S_REPLACE_CH replaces all occurrences of one character by another.
-
S_TO_I4 reads an I4 from a string.
-
S_TO_R8 reads an R8 from a string.
-
S_WORD_COUNT counts the number of "words" in a string.
-
S_WORD_EXTRACT extracts the next word from a string.
-
TEC_DATA_READ reads the data from a TEC file.
-
TEC_HEADER_PRINT prints the header to a TEC file.
-
TEC_HEADER_READ reads the header from a TEC file.
-
TEC_TO_FEM_HANDLE reads data from a TECPLOT file and writes FEM files.
-
TEC_ZONE_LINE_PARSE parses the "ZONE" line of a TEC file.
-
TIMESTAMP prints the current YMDHMS date as a time stamp.
-
TIMESTRING writes the current YMDHMS date into a string.
You can go up one level to
the FORTRAN90 source codes.
Last revised on 13 November 2006.