TOC PREV NEXT INDEX

Read_PLOT3D

Synopsis

reads a multiblock PLOT3D format data file

Input Port

parent

user interface parent object

Parameters

filename_xyz

string

filename_q

string

iblanks

integer

format

integer

useq

integer

trigger

integer

dims3d

integer

multiblock

integer

<none>

<none>

Output Port

mblock

Multi_Block

fields

(Mesh+Node_Data)[]

Description

Read_PLOT3D has the same functionality as Plot_Multi_Block, but reads more types of PLOT3D files.

Read_PLOT3D reads a pair of files that describe a PLOT3D dataset. It reads that data into an array of fields; each field describes one block of the dataset. The result can be operated on by any of the *_ARR array-of-fields macros.

The Multi_Block object contains the array of fields plus some additional information, including the number of blocks and the bounds of the dataset.

Input

ui_parent

A port to connect to a user interface object that contains the macro's widgets. By default, it is connected to the default user interface object in the application in which the macro is instanced. (This default connection is not drawn.)

Parameters

Plot3d XYZ Filename

UIfileSB. Name of Plot3d xyz file.

Plot3d Q Filename

UIfileSB. Name of Plot3d q file.

iblanks

Indicate presence of iblank values in the data files

format

Select the file format: ASCII, Binary, or Binary with Padding

use_q

Process Q file; otherwise ignore only building mesh data structure

trigger

Start the read process

dims3d

Assume data is 3D if selected, if not, assume 2D only

multiblock

Assume multiblock format or else simple 1-block binary files

<none>

Clear the filename entries

Output Port

mblock

Multi_Block object.

fields

Array of fields.

Example

Libraries.Examples.Visualization.Multi_Block
v/dv_examp/mblock.v

File

v/cfd.v

See also related modules

ARR
mblock_to_fields

TOC PREV NEXT INDEX