Skip to content

shore plot3d ​

Write the blocks of a saved SHORE project as one multi-block Plot3D grid file (ADR 0035).

Synopsis ​

shore plot3d [OPTIONS] PROJECT_DIR

Arguments and options ​

Argument / optionDescription
PROJECT_DIRA saved project.
-o, --output FILEThe Plot3D grid file to write (conventionally .xyz or .x).
-c, --component NAMEA component to write; repeatable. Default: every component with a mesh, in project order.
--no-replayLoad the project from its saved grids without replaying its journal (ADR 0033).

Format ​

Multi-block, whole (no IBLANK), 3-D grid; Fortran unformatted sequential records, little endian, double precision:

RecordContent
1number of blocks (int32)
2ni, nj, nk of every block (int32, node counts)
2 + nX, Y, Z of block n, each i-fastest (float64)

Blocks follow the components in order, and the blocks of a component in their order. Plot3D carries no names, connectivity or boundary conditions: use shore cgns for those.

Released under the MIT License.