Skip to content

Euler ​

The compressible Euler verification of FLUME: shock tubes and smooth flows against their exact solutions or a finer reference, the immersed boundary, conservation across AMR seams and restarts as exact invariants, the forest seams bitwise against a single realm, and the gas models built on the Euler system (dual energy, passive scalars, radiative cooling, isothermal and barotropic equations of state). The two space schemes, weno (WENO5 flux splitting on characteristic variables) and weno-riemann (WENO5 face states, an LLF, HLL or HLLC Riemann flux and a 6th-order flux correction), are described in numerics.

CaseTypeWhat it verifies
Sod shock tubePL1(ρ) against the exact solution; x, y, z bitwise equal; reflecting walls
Isentropic vortex: order of accuracyPthe design order on a smooth exact solution, periodic blocks across ranks
Shock over a cylinderPthe immersed boundary with solid AMR: refinement, mirror symmetry, positivity
Conservation across AMR seamsCthe reflux at 2:1 faces: the volume integrals constant to round-off
Restart round trip and output channelsCa restarted run equals the uninterrupted one bit for bit on four integration paths, an empty rank included; slices and auxiliary fields
Forest seams: the inter-realm contractCmirror, misaligned and 2:1 inter-realm seams, across ranks: bitwise equal to one realm
Lax problemPthe Riemann solvers on a strong contact, bound 1.05× the splitting scheme
Shu–Osher shock / entropy-wave interactionPthe entropy waves behind a Mach 3 shock against a 16× finer reference
Forward-facing stepP+Ca three-realm forest on quadtrees against octrees; the Woodward–Colella step at t=4
Dual energy: the advected entropy of euler-deP+Ceuler-de changes nothing where no cell is cold (Sod bitwise) and keeps a cold Noh shock heated
Passive scalarsP+Cup to four scalars that do not act on the flow, are conserved, and stay uniform through runtime AMR
Radiative coolingPoptically thin cooling by Townsend's exact integration: the isochoric ODE to round-off, the floor, a radiative shock against its steady structure
Isothermal equation of statePP=c02ρ: the shock tube and a Mach-5 collision against the exact solution, the fifth order on an acoustic wave, the inert energy slot, the contract
Barotropic equation of statePa piecewise polytrope: a fan split at a convex break, shocks across segments, the order with c2=P′(ρ0), the Mathew & Federrath table by self-convergence
Barotropic gases under gravityPgravity on the momentum only, Jeans waves with c2=P′(ρ0), the Jeans marker, sinks with cs2=dP/dρ and the virial thermal energy, Bonnor–Ebert stability, Boss–Bodenheimer

The figures are drawn by src/tests/flume/verification/make_doc_figures.py from the work directories that the check.sh scripts leave behind (the step's with --keep):

bash
cd src/tests/flume/verification
(cd sod && ./check.sh) ; (cd vortex && ./check.sh) ; (cd conservation && ./check.sh)
(cd riemann-flux && ./check.sh                                    # HLLC, every leg
   ./check.sh --solver split --legs lax ; ./check.sh --solver split --legs shu-osher
   ./check.sh --solver llf --legs lax --lax-l1-max 1 ; ./check.sh --solver llf --legs vortex
   ./check.sh --solver hll --legs vortex)                           # LLF exceeds the default Lax bound
(cd step && ./check.sh --legs trees,full --keep)
python3 make_doc_figures.py --out ../../../../docs/public/flume \
   --only sod lax shu-osher vortex shock-cylinder conservation step step-trees

How it was built ​

The pages span several milestones: the Euler core of M1 (#35), the Riemann-flux scheme of M3 (#47), the forest (#37 and the seam issues after it, to #71), the quadtrees (#46), and the models of M9 (dual energy), M10 (passive scalars), M11 (radiative cooling) and M13 (isothermal and barotropic equations of state).

CaseIDMilestone
Sod shock tubeV1, RV-3M1, M3
Isentropic vortex: order of accuracyV2, RV-2M1, M3
Shock over a cylinderV6M1, M3
Conservation across AMR seamsV3, RV-4M1, M3
Restart round trip and output channelsV7M1
Forest seams: the inter-realm contractmultirealm legs 1–6, 15; MV-14#37 to #71
Lax problemRV-3M3
Shu–Osher shock / entropy-wave interactionRV-3M3
Forward-facing stepEV-step#46
Dual energy: the advected entropy of euler-deDEM9
Passive scalarsPSM10
Radiative coolingCOM11
Isothermal equation of stateEO (eo)M13
Barotropic equation of stateEO (eb)M13
Barotropic gases under gravityEO (eg)M13

The verification catalog places each page in implementation order.