TEC_WRITE
Write TECPLOT ASCII Files
TEC_WRITE
is a FORTRAN90 library which
can write TECPLOT ASCII files.
The TECPLOT home page contains information about the TECPLOT
graphics program.
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the GNU LGPL license.
Languages:
TEC_WRITE is available in
a FORTRAN90 version.
Related Data and Programs:
FEM_TO_TEC,
a MATLAB program which
can convert an FEM model
into a TEC graphics file.
IVCON,
a C++ program which
can read a variety of graphics
files and convert some of the information into a TEC file.
IVREAD,
a FORTRAN90 program which
can read a variety of graphics
files and convert some of the information into a TEC file.
TEC,
a data file directory which
contains sample TEC files.
TEC_IO,
a MATLAB library which
reads or writes a
TEC file containing a finite element model.
TEC_TO_FEM,
a MATLAB program which
can convert a TEC file
into an 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.
Reference:

Tecplot, Inc,
TECPLOT Reference Manual,
Version 10, Release 4,
Tecplot, Inc, 2005.

Tecplot, Inc,
TECPLOT User's Manual,
Version 10,
Tecplot, Inc, 2005.
Source Code:
Examples and Tests:
One example shows how to read a data file that represents a
slice of cylindrically symmetric data, and write it out
in TECPLOT format:

mydata.txt, a data file to be used.

cylinder_3d.dat,
the data, reformatted for TECPLOT as a 3D cylinder, made
by making many copies of the plane.

plane_slice.dat,
the data, reformatted as a plane slice for TECPLOT.
Data files created by the sample problem include:
List of Routines:

GET_UNIT returns a free FORTRAN unit number.

R8VEC_EVEN returns N real values, evenly spaced between ALO and AHI.

TEC_WRITE_OPEN opens a TECPLOT output file.

TEC_WRITE_CLOSE closes a TECPLOT output file.

TEC_WRITE_HEADER writes the two line TECPLOT header.

TEC_WRITE_XY_LINE writes out line data in XY geometry for use by TECPLOT.

TEC_WRITE_XY_PUV writes out PUV data in XY geometry for use by TECPLOT.

TEC_WRITE_T3 writes data defining 3 node triangular elements.

TEC_WRITE_T6 rewrites 6 node triangular elements as 3 node triangles.

TEC_WRITE_XY_UV writes out UV data in XY geometry for TECPLOT.

TEC_WRITE_XY_PRUV writes out PRUV data in XY geometry for TECPLOT.

TEC_WRITE_XY_UVW writes out UVW data in XY geometry for TECPLOT.

TEC_WRITE_CYL_V writes out V data in cylindrical geometry for TECPLOT.

TIMESTAMP prints the current YMDHMS date as a time stamp.

TVEC_EVEN3 computes an evenly spaced set of angles between 0 and 2*PI.
You can go up one level to
the FORTRAN90 source codes.
Last revised on 03 September 2005.