Hi all, we’d like to get a reader for zCFD native mesh files into VTK/ParaView, to replace the plugin we ship today. Our results are already VTKHDF, so it’s only the mesh format that needs one. Before we start, we’d like to know what you’d want from it.
The format is a single HDF5 file with a mesh group. Cells are defined only by their faces, so arbitrary polyhedra are fine, and are pretty simply defined:
numCells,numFaces: attributesnodeVertex: node coordinates, (nodes, 3) float64faceType: nodes per facefaceNodes: each face’s node ids, flattened, 0-basedfaceCell: left (owner) and right cell per face. A boundary face’s right cell is ≥ numCells.faceInfo: zone id per face
Face normals point out of the left cell. We’re publishing a detailed full spec with our docs bump at our next release, which should line up nicely if we’re aiming for 6.2.1 (or whichever release suits).
The plan is a reader using only VTK’s own HDF5. It would output the volume as polyhedra plus one surface per boundary zone, with zone selection. It would come with a small test mesh. The current plugin’s embedded Python and file write-back would both go.
A few questions:
- VTK
IOmodule plus a ParaView proxy, or straight into ParaView? - Preferred output type? Partitioned dataset collection, or something else?
.h5clashes with plenty of other formats. Is aCanReadFilecheck on themeshgroup enough?- Anything you need for tests: size limits on test data, baseline images?
- Anything on licensing or maintenance we should sort out up front?
Happy to share sample files.