Expand description
PLOT3D format for CFD grid and solution files.
Supports multi-block structured grids in ASCII PLOT3D .xyz and .q
formats as commonly used in CFD solvers.
§File layout
§Grid file (.xyz)
`nblocks`
`ni1` `nj1` `nk1` [`ni2` `nj2` `nk2` …]
<x values block 1> <y values block 1> <z values block 1>
…§Solution file (.q)
`nblocks`
`ni1` `nj1` `nk1` [`ni2` `nj2` `nk2` …]
`mach` `alpha` `rey` `time` (per block)
`rho` <rho*u> <rho*v> <rho*w> `e` (per point, per block)Structs§
- Plot3d
Block - A single structured block in a PLOT3D grid.
- Plot3d
Freestream - Free-stream reference parameters stored per block in a
.qfile. - Plot3d
Grid - A multi-block PLOT3D structured grid.
- Plot3dQ
Point - Solution variables at a single grid point.
- Plot3d
Solution - A multi-block PLOT3D solution.
- Plot3d
Solution Block - A single solution block in a PLOT3D
.qfile.
Functions§
- read_
plot3d_ grid - Parse an ASCII PLOT3D
.xyzfile from a string. - read_
plot3d_ solution - Parse an ASCII PLOT3D
.qsolution file from a string. - write_
plot3d_ grid - Write a PLOT3D grid to an ASCII string.
- write_
plot3d_ solution - Write a PLOT3D solution to an ASCII string.