Read_CGNS
Synopsis
The Read_CGNS user macro reads CGNS format files. CGNS files are used for the storage and retrieval of CFD data
Output Ports
|
currentBase |
int of the selected base |
|
|
Description
The Read_CGNS macro reads CGNS format files. CGNS files are used for the storage and retrieval of CFD data. The read_cgns macro takes a filename, reads the CGNS file and outputs a Multi_Block group that contains structured Zones and an array of fields that contains the unstructured Zones. The user interface allows the user to select which Base to read. It also allows the user to select which Zones to read and which Solution to read for each Zone.
Parameters
filename
string Name of CGNS file to read.
load
int Triggers loading of selected data from CGNS file.
status
string Reports any error during file loading.
Output Ports
currentBase
int Selected Base.
currentActiveZones[]
int[] Specifies which zones should be read.
currentSolution[]
int[] Specifies which solution should be read for each zone.
Example
Libraries.Examples.Visualization.CGNS_Unstr
v/dv_examp/cgns1.v
File
v/cfd.v