Appearance
Ideal MHD
The ideal-MHD verification of FLUME: the conservative MHD system with cell-centred check.sh under src/tests/flume/verification/mhd/<case>/ that runs it (CPU by default, FLUME_EXE=exe/adam_flume_fnl for the GPU backend) and an oracle that asserts the physics: an exact solution, a reference run, a symmetry or a conservation property. All runs use 2 MPI ranks and WENO5 unless a page says otherwise; the models are described in models and the schemes in numerics.
Seven scripts (rj2a, riemann, linear-wave, cpaw, orszag-tang, rotor, field-loop) also run on the weno-riemann scheme through the shared --numerics option (MHD on weno-riemann).
| Case | Type | What it verifies |
|---|---|---|
| MHD plumbing | C | the MHD model end to end: the fast-speed and |
| MHD with a zero field | C | MHD with |
| Ryu–Jones 2a: all seven waves | P | the whole MHD path against an exact 7-state solution; x/y/z bitwise; GLM inert in 1-D |
| Brio–Wu and Ryu–Jones 4d | P | clean runs near the eigensystem degeneracies; the positivity floors engage and stop as they should |
| GLM divergence cleaning | P | the GLM telegraph system against its exact solution; div(B) decay of the Dedner peak, uniform and across seams; the divb_tol monitor |
| Order of accuracy | P | fifth order on linear waves, the circularly polarised Alfvén wave and the magnetised vortex |
| Orszag–Tang vortex | P | 180° symmetry, conservation and positivity, uniform and across 2:1 seams |
| MHD rotor | P | symmetry under rotation with |
| Field loop advection | P | the divergence error GLM leaves, the loop dissipation, CPU–FNL agreement on |
| Rotated shock tube | P | |
| MHD conservation across AMR seams | C | every MHD integral, |
MHD on weno-riemann | P | the HLLD scheme on the verifications built for the flux splitting |
| EGLM cleaning | P | the energy-consistent cleaning: telegraph solution, EGLM = GLM at |
| Positivity limiter | P | positivity on magnetised blasts and near vacuum, inactivity on smooth flow, 2:1 seams |
| Quadtree AMR | C | 2:1 seams on quadtrees against the octree reference |
| Isothermal and barotropic MHD | P | ideal MHD without an energy equation: Kim's eigensystem and Mignone's isothermal HLLD on |
The Ryu–Jones 2a split in two realms is on the forest seams page.
Regenerating the figures
The check.sh scripts delete their checkpoints after the oracles, so the figures are drawn from re-runs:
bash
cd src/tests/flume/verification
./make_doc_runs.sh <runs-dir> blast vacuum rj2a order mhd rotated quadtree # every MHD figure run
./make_doc_figures.py --out ../../../../docs/public/flume --runs <runs-dir> \
--only blast near-vacuum mhd-riemann order glm-pulse orszag-tang rotor field-loop eglm-energy \
weno-riemann rotated-shock-tube quadtree
./make_doc_runs.sh <runs-dir> eosmhd && ./make_doc_figures.py --out ../../../../docs/public/flume --runs <runs-dir> \
--only barotropic-mhd # the isothermal and barotropic MHD (M13)eglm-energy reads the conservation histories kept in the mhd/orszag-tang work directories. The group mhd writes the runs of the gallery figures: Brio–Wu, RJ4d, the GLM pulse, Orszag–Tang and its AMR run, the rotor, the field loop, and RJ2a on HLLD with primitive interpolation.
How it was built
The conservative MHD system with mixed GLM cleaning is milestone M2 (#41); the Riemann face fluxes, the EGLM cleaning and the positivity limiter are M3 (#47); the quadtrees are #46; the isothermal and barotropic MHD is M13 (#100). The Ryu–Jones 2a split in two realms on the forest seams page is MV-14 (M2 · P7c).
| Case | ID | Milestone |
|---|---|---|
| MHD plumbing | — (mhd/plumbing) | M2 · P1 |
| MHD with a zero field | MV-2 | M2 · P3a |
| Ryu–Jones 2a: all seven waves | MV-4 | M2 · P3b |
| Brio–Wu and Ryu–Jones 4d | — (mhd/riemann) | M2 · P3c |
| GLM divergence cleaning | MV-3, MV-10 | M2 · P4; M6 · G1 |
| Order of accuracy | MV-5, MV-6, MV-7 | M2 · P5 |
| Orszag–Tang vortex | MV-12 | M2 · P6a |
| MHD rotor | MV-13 | M2 · P6b |
| Field loop advection | MV-9 | M2 · P6c |
| Rotated shock tube | MV-8 | M2 · P6d |
| MHD conservation across AMR seams | MV-11 | M2 · P7a |
MHD on weno-riemann | RV-5, RV-6, RV-7 | M3 · P3c |
| EGLM cleaning | EV-2, EV-3, EV-4 | M3 · P4 |
| Positivity limiter | PV-1 to PV-5 | M3 · P5 |
| Quadtree AMR | MV-15 | #46 |
| Isothermal and barotropic MHD | EO (em) | M13 · P5a, P5b |
The verification catalog places each page in implementation order.