Expand description
Layer 2 — the finite-volume mesh: cells, faces, boundary patches, and geometric metrics. Finite-volume mesh layer: topology and geometry.
This module holds the flat, cache-friendly mesh representation the FV operators run on. It contains:
FvMesh— the mesh itself (cells, faces, owner/neighbour connectivity, cell volumes[m³], face-area vectors[m²], and cell/face centres[m]), plusFvMeshBuilderto assemble one incrementally.BoundaryPatch/PatchKind— boundary-patch descriptors.ami— arbitrary-mesh-interface (non-conformal periodic /cyclicAMI) face-overlap weighting andAmiCouplingrepresentation.RegionInterface— a face-to-face coupling map between two regions’ patches (used by conjugate-heat-transfer solvers).MeshError— the errors raised during mesh construction and validation.
It stores only the data required by the operators; the OpenFOAM
polyMesh → primitiveMesh → lduMesh inheritance chain is not reproduced.
Re-exports§
pub use ami::AmiCoupling;pub use ami::AmiOverlap;pub use ami::AmiWeight;pub use error::MeshError;pub use region_interface::RegionInterface;pub use fv_mesh::*;
Modules§
- ami
- Arbitrary Mesh Interface (AMI) weight computation and non-conformal periodic (cyclicAMI) coupling representation.
- error
- fv_mesh
- region_
interface