Skip to content

shore.io.plot3d ​

Plot3D export of structured block lists (ADR 0035).

Multi-block, whole (no IBLANK), 3-D grid file, Fortran unformatted sequential, double precision, little endian (the layout ParaView's and VTK's PLOT3D readers and most CFD tools read):

Record 1 : nblocks - int32 Record 2 : (ni, nj, nk) per block - 3 * nblocks int32, *node* counts Record 2 + n : X, Y, Z of block n - 3 * ni * nj * nk float64, each i-fastest

Plot3D carries no block names, connectivity or boundary conditions; CGNS (:mod:shore.io.cgns) does.

write_plot3d function ​

python
write_plot3d(blocks: Sequence[HexBlock], path: str | Path) -> Path

source

Write blocks as one multi-block Plot3D grid file at path.

Released under the MIT License.