CFDread_PLOT3D
Synopsis
reads a PLOT3D format data file
V name
CFD.CFDread_PLOT3D
module CFDread_PLOT3D {
string+IPort2 filename_xyz;
string+IPort2 filename_q;
int+IPort2 format;
int+IPort2 iblanks;
int+IPort2 use_q;
int+IPort2 dims3d;
int+IPort2 multiblock;
int+IPort2 trigger;
Multi_Block+nosave out <NEportLevels={0,2}>;
link fields <NEportLevels={1,2},export=1> => out.fields;
omethod+notify_inst+req rd_plot3d_update = "CFDread_plot3d_update";
};
Description
CFDread_PLOT3D reads a pair of files which describe a PLOT3D data set. It reads that data into an array of fields; each field describes one block of the data set. The result can be operated on by any of the *_ARR array-of-fields macros.
Input Ports
filename_xyz
string. Name of PLOT3d xyz file.
filename_q
string. Name of PLOT3d q file.
iblanks
int. Accept blanks in input when nonzero.
format
int Select the file format: ASCII, Binary, or Binary with Padding
use_q
int Process Q file; otherwise ignore only building mesh data structure
trigger
integer Start the read process
dims3d
int. Assume data is 3D if selected, if not, assume 2D only
multiblock
int. Assume multiblock format or else simple 1-block binary files
Output Ports
out
Multi_Block. A Multi_Block object describing the read-in fields.
fields
field[]. An array of fields, each field describing one block of the data set.
Example
Not available.
File
v/cfd.v
See also
Related modules