Expand description
Whole-case reader (system/, constant/polyMesh, a time directory).
FoamCase::read loads an OpenFOAM case directory into memory:
system/controlDict,system/fvSchemes,system/fvSolution(and any othersystem/dictionaries) asFoamFiledictionaries;constant/polyMeshas aPolyMesh(plus a derivedFvMesh);- the fields in a time directory (default
0/) asCaseFields, dispatched by theirFoamFileclass(volScalarField/volVectorField).
Field classes other than scalar/vector volume fields are skipped and
their file names recorded in FoamCase::skipped_fields (honest partial
coverage — nothing is silently lost). FoamCase::write is a best-effort
counterpart that re-emits the system dictionaries, the mesh, and the
scalar/vector fields.
Structs§
- Foam
Case - An in-memory OpenFOAM case.
Enums§
- Case
Field - A field loaded from a time directory, tagged by its value type.