Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Example: 3D Mesh Generation and Integration

Figure 12.5 — Example: Mesh 3D Integration

Crate: cfd-suite (workspace root) Run: cargo run --example mesh_3d_integration Source: examples/mesh_3d_integration.rs

What This Example Demonstrates

Builds a 3D tetrahedral mesh from CSG primitives and validates watertightness, Euler characteristic, and volume accuracy.

APIPurpose
cfd_mesh::{IndexedMesh, AdjacencyGraph}Euler characteristic V - E + F = 2 for closed orientable surfaces
BlueprintMeshPipelineEuler characteristic V - E + F = 2 for closed orientable surfaces

Physics Background

Euler characteristic V - E + F = 2 for closed orientable surfaces. Volume accuracy via signed-volume calculation.

Book Chapter

← Part VI — Geometry, Meshing, and CSG