This diagram illustrates the layout of the CGNS file for the simple
Cartesian structured grid used in this example.
Just below the root node of the ADF file are two nodes with the
following characteristics.
- Name: CGNSLibraryVersion
Label: CGNSLibraryVersion_t
Data: (version number)
- Name: Base
Label: CGNSBase_t
Data: CellDimension=3, PhysicalDimension=3
Just below the CGNSBase_t node is a Zone_t node, with:
- Name: Zone 1
Label: Zone_t
Data: VertexSize=(21,17,9), CellSize=(20,16,8),
VertexSizeBoundary=(0,0,0)
At the next level, below the Zone_t node are the following two
nodes.
- Name: ZoneType
Label: ZoneType_t
Data: Structured
- Name: GridCoordinates
Label: GridCoordinates_t
Data: MT
And below the GridCoordinates_t node are three nodes defining
the grid coordinates.
- Name: CoordinateX
Label: DataArray_t
Data: x(1,1,1) to x(21,17,9)
- Name: CoordinateY
Label: DataArray_t
Data: y(1,1,1) to y(21,17,9)
- Name: CoordinateZ
Label: DataArray_t
Data: z(1,1,1) to z(21,17,9)