fd_to_tec, an Octave code which reads two files defining a finite difference model (FD format) and writes a TECPLOT ASCII file suitable for display by tecplot().
The finite difference model is assumed to include two items:
A naming convention assumes that these files share a common prefix, followed by the suffixes "_nodes.txt" and "_values.txt". Thus, the "carlos" set of data would be contained in the files "carlos_nodes.txt" and "carlos_values.txt".
FD_TO_TEC reads these two files, calls MATLAB's delaunayn function to get a triangularization (if the node data is 2D) or a tetrahedralization (if the node data is 3D) and writes the element data to a file (which turns the FD model into an FEM model), and writes an equivalent TECPLOT ASCII ".dat" file.
The TECPLOT home page contains a description of the tecplot() program.
fd_to_tec ( 'prefix' )where
The information on this web page is distributed under the MIT license.
fd_to_tec is available in a MATLAB version and an Octave version.
fd, a data directory which contains examples of FD files, two text files that can be used to describe many finite difference models;
fem_to_tec, an Octave code which converts FEM models into TECPLOT ASCII graphics files.
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.