Appearance
Verification
Every FLUME capability is backed by a verification case in src/tests/flume/verification/: a check.sh that runs the case and an oracle that asserts the physics (an exact solution, a reference, a symmetry or a conservation property), not a stored golden. The goldens are the job of the regression suite; the building blocks below the solver are pinned by the unit tests.
The catalog below is grouped by capability. Each card names what its page verifies; each page has the same sections: case and scope, models and numerics with references to the code, initial and boundary conditions, input files, results on CPU and FNL, findings. All runs use 2 MPI ranks and WENO5 unless a page says otherwise. The tag of a card says what it verifies:
- physics: a run against an exact or reference solution, an order of accuracy or a symmetry;
- contract: a bitwise identity, rank or backend invariance (CPU = FNL), a restart, conservation to round-off, an input refusal. A contract page documents its setup in a table; most have no figure, since a plot of a difference that is zero shows nothing.
Provenance. Every results table is followed by one line that says what produced its numbers (#142, A11), in this form:
text
*Measured: ADAM <commit>, CPU <toolchain> on <device>, FNL <toolchain> on <device>, <date> (<jobs>).*| Field | Content |
|---|---|
<commit> | the short hash of the ADAM tree that ran, clean (never a tree with local changes); the tag as well where there is one |
<toolchain> | compiler and MPI of the backend, as the varset names them (local_gnu, iac_nvf, …): e.g. gfortran and Open MPI versions for CPU, nvfortran version and CUDA for FNL |
<device> | the machine and processor of the CPU column, the GPU model of the FNL column |
<date> | the date of the runs, YYYY-MM-DD (the first and last day if they span several) |
<jobs> | the command that produced the numbers (make_doc_runs.sh <runs> <group>, check.sh --legs …), with the Slurm job ids when the runs were batch jobs |
A backend absent from the table is left out of the line. Rows measured at different commits get one line per commit, each naming its rows. The figure drawn from the same runs shares the line. A table without the line predates this rule: its numbers come from the milestone that the page names, at a commit that was not recorded.
Compressible Euler
Riemann problems against their exact solutions, the design order on smooth flows, the immersed boundary, the equations of state (ideal, isothermal, barotropic), dual energy, passive scalars and radiative cooling; conservation across 2:1 faces and forest seams, restarts. Group page.
Sod shock tube
Lax problemthe Riemann solvers on a strong contact, bound
Ideal MHD
The seven MHD waves and the classic MHD problems against exact or reference solutions, the order of accuracy on linear waves, the divergence control (GLM, EGLM), the Riemann-flux path and the positivity limiter, conservation on AMR and quadtrees. Group page.
Orszag–Tang vortex180° symmetry, conservation and positivity, uniform and across 2:1 seamsphysics
MHD rotorsymmetry under rotation with
Rotated shock tube
MHD on weno-riemannthe HLLD scheme on the M2 verificationsphysics
Quadtree AMR2:1 seams on quadtrees against the octree referencecontract
Viscosity, heat conduction and resistivity
Viscous and resistive waves against their exact decay, Becker's shock and Couette flow against exact profiles, Ohmic heating and the divergence constraint, accuracy and conservation across 2:1 seams, and the input contract. Group page.
External gravity
The gravity force and its energy source to design order, stratified atmospheres held at rest by the well-balanced mode and the hydrostatic boundary, the Rayleigh–Taylor growth rate against linear theory. Group page.
Self-gravity
The Poisson solvers (FFT, isolated, multigrid on AMR) against exact potentials, Jeans modes against the dispersion relation, the exact exchange of kinetic and potential energy, and the
Gravity from a cell potentialthe potential path reproduces the constant-g oracles of M7physics
The FFT Poisson solverthe periodic solver is exact for
Self-gravity under runtime AMRthe solver and
Sink particles
Point masses coupled through the Poisson source: rest and Kepler orbits, creation, accretion at Shu's rate, mergers, restarts, CPU against FNL and runtime AMR. Group page.
Accuracy across 2:1 seams
What a static 2:1 face costs: the order of accuracy across it, the divergence the cleaning sees, a shock crossing it against the exact solution, the drift of the integrals, and the operators that lift the cap. Group page.
Runtime AMR
Regridding during the run: the regrid step and its conservative prolongation, conservation and bitwise restarts through regrids, tracked runs against uniform-fine controls, and forests whose realms regrid across their seams. Group page.
Turbulence
What the scheme does to turbulence, then the closures: subgrid-scale models, a hybrid central/WENO scheme, and wall models with a turbulent inflow, against DNS of the Taylor–Green vortex, isotropic turbulence, channels and boundary layers. Group page.
Supersonic boundary layers: boundaries and shock interaction
The boundaries a shock/boundary-layer interaction needs, a non-reflecting outflow and an oblique-shock generator, verified against exact relations, and the wall-modelled interaction against DNS and experiment. Group page.
Infrastructure
Contracts below the physics: every ghost cell on a linear field, the non-finite state guard, ranks that own no block, and the covariance of the non-dimensional form. Group page.
How it was built
The capabilities were added one milestone or issue at a time; this table maps each to the pages that verify it, in the order they were implemented.
Running a case
bash
cd src/tests/flume/verification/sod && ./check.sh # CPU backend
FLUME_EXE=$PWD/../../../../../exe/adam_flume_fnl ./check.sh # FNL backend (GPU)
./check.sh --legs vv1,vv3 # the listed legs (commas or blanks)
./check.sh --legs all # every legThe cases are complete simulations: run the legs a change touches, not the whole catalog; the regression suite is the layer that runs on every change. Every script selects its legs through the shared legs.sh, and lists its legs and its default selection in its Usage: header. An unknown leg, or a selection that names no leg, stops the script with exit status 2 before anything runs; each log opens with the resolved selection (>> legs: ...). The figures are drawn by make_doc_figures.py, from the work directories of the check.sh scripts or from the re-runs of make_doc_runs.sh; each group page lists its commands.
Isentropic vortex: order of accuracy
Shock over a cylinder
Conservation across AMR seams
Forest seams: the inter-realm contract
Shu–Osher shock / entropy-wave interaction
Forward-facing step
Dual energy: the advected entropy of euler-de
Passive scalars
Radiative cooling
Isothermal equation of state
Barotropic equation of state
Barotropic gases under gravity
Ryu–Jones 2a: all seven waves
Brio–Wu and Ryu–Jones 4d
GLM divergence cleaning
Order of accuracy
Field loop advection
MHD conservation across AMR seams
EGLM cleaning
Positivity limiter
Isothermal and barotropic MHD
Viscous waves
Compressible Couette flow
Conservation across 2:1 seams and forest seams
Accuracy across 2:1 seams
Stratified atmospheres and the
The gravity force
The order of the energy source
The well-balanced mode
Rayleigh–Taylor
Jeans modes
The isolated solver
The n = 1 polytrope
The multigrid solver on AMR grids
Jeans modes on a static AMR grid
The polytrope on AMR
Sink particles
Order across static 2:1 seams
Divergence across seams
Shock crossing a static 2:1 face
Integral drift and the WENO sensor near seams
Reflux policy: troubled against always
EGLM reflux leaves B alone
Seam design record
Runtime regrids in FLUME
Accuracy of runtime AMR
MHD blast symmetry on the flux-splitting path
Runtime AMR on a forest
The ILES baseline
Subgrid-scale models
The hybrid central/WENO scheme
Plane channel and the wall model
Compressible boundary layer
Non-reflecting boundary
Shock generator
Shock/boundary-layer interaction
Ghost probe
Ranks without blocks