Contents Previous Next

Using Tecplot with O-Matrix

Description
The following functions enable O-Matrix to transfer data and results to and from Tecplot . O-Matrix can create, read, and manipulate Tecplot data. Functions are provided to create Tecplot graphs of O-Matrix

Installation
Use of these functions require that a current version of Tecplot Focus or Tecplot 360 and O-Matrix be installed on your system. After Tecplot and O-Matrix have been installed copy the file omlink.dll from the tecplot directory of your O-Matrix installation, (e.g. C:\OMWIN\TECPLOT) to the bin directory of your Tecplot installation. Add the following line to the tecplot.add file in your Tecplot home directory.
    $!Loadaddon "omlink"

Plotting Functions
tpplot Creating XY Plots
tpsurface Creating Surface Plots
tpcontour Creating Contour Plots
tpcolors Line Color Sequence for XY Plots
tphist Creating Histograms
tpsymbols Setting Symbol Style for XY Plots
tpxyzaxes Setting X, Y and Z Axes Minimum, Maximum, and Type

Data and Tecplot Manipulation Functions
tpopen Opening Tecplot Data, Layout and Style Files
tpget Transferring Data from Tecplot to O-Matrix
tpput Transferring Data from O-Matrix to Tecplot
tpmacrostring Running a Tecplot Macro String
tpplottype Setting and Retrieving Current Frame Plot Type
tpframe Popping, Creating and Obtaining Frame Names
tpaddzone Adding a Zone to an Existing Dataset
tpdataset Creating Tecplot Data Sets
tpzone Setting the Zone for Plot Functions
tpmacrofile Running a Tecplot Macro File
tpmapcount Determining the Number of Maps in the Current Frame
tpmapcopy Copying Maps in a Data Set
tpdims Getting Dataset and Zone Dimensions
tpvarname Obtaining a Variable Name from Variable Number
tpvarnum Obtaining a Variable Number from Variable Name
tpzonename Obtaining a Zone Name from Zone Number
tpzonenum Obtaining a Zone Number from Zone Name
tpget3D Transferring Volume Data from Tecplot to O-Matrix
tpput3D Transferring Data from O-Matrix to a Tecplot Volume
tpexport Creating Image Files
tpprint Printing the Current Frame
tpstart Connecting with a Tecplot Server
tprunning Checking if Tecplot is Running

Function Reference
The following table lists all of the O-Matrix client functions for interacting with the Tecplot server.
tpaddzone Adding a Zone to an Existing Dataset
tpcolors Line Color Sequence for XY Plots
tpcontour Creating Contour Plots
tpdataset Creating Tecplot Data Sets
tpdims Getting Dataset and Zone Dimensions
tpexport Creating Image Files
tpframe Popping, Creating and Obtaining Frame Names
tpget Transferring Data from Tecplot to O-Matrix
tpget3D Transferring Volume Data from Tecplot to O-Matrix
tphist Creating Histograms
tpmacrofile Running a Tecplot Macro File
tpmacrostring Running a Tecplot Macro String
tpmapcopy Copying Maps in a Data Set
tpmapcount Determining the Number of Maps in the Current Frame
tpopen Opening Tecplot Data, Layout and Style Files
tpplot Creating XY Plots
tpplottype Setting and Retrieving Current Frame Plot Type
tpprint Printing the Current Frame
tpput Transferring Data from O-Matrix to Tecplot
tpput3D Transferring Data from O-Matrix to a Tecplot Volume
tprunning Checking if Tecplot is Running
tpstart Connecting with a Tecplot Server
tpsurface Creating Surface Plots
tpsymbols Setting Symbol Style for XY Plots
tpvarname Obtaining a Variable Name from Variable Number
tpvarnum Obtaining a Variable Number from Variable Name
tpxyzaxes Setting X, Y and Z Axes Minimum, Maximum, and Type
tpzone Setting the Zone for Plot Functions
tpzonename Obtaining a Zone Name from Zone Number
tpzonenum Obtaining a Zone Number from Zone Name

Tecplot Application Samples
The reference pages for the examples above provide concise examples to illustrate the syntax and usage of each function. More detailed, application-oriented illustrations of using O-Matrix with Tecplot can be found in the omwin\example\tecplot directory of your distribution.