Fluid Mechanics¶
A family of worked Navier-Stokes examples in examples/fluid/,
from the lid-driven cavity benchmark (2D and 3D) to a Rayleigh-Bénard
convection problem coupling momentum and energy. They all share the
same underlying recipe — a custom NavierStokesAssembler (or its
transient cousin) defined in the example file, SUPG/PSPG
stabilization for equal-order P1-P1 elements, Picard linearization
for steady solves, implicit Euler for transient ones — so once you
have read Lid-Driven Cavity the rest are essentially geometry and
boundary-condition variations.
The NavierStokesAssembler itself lives in the example
folder, not in tensormesh.assemble. It is intentionally
example-grade: the production-quality version will move into the
core library when the assembler API for vector-valued problems
stabilizes.
Steady NS at Re=100, SUPG/PSPG stabilization, Picard iteration — in 2D and 3D with one dimension-generic assembler.
Transient DFG benchmark, implicit Euler, drag/lift/Strouhal post-processing.
Steady channel flow at Re=150 around six circular obstacles via MeshGen CSG.
Boussinesq-coupled momentum + heat transport, buoyancy-driven flow.
Decaying vortex with exact solution — the convergence-study showcase.