MHD linear waves: fast, Alfven, slow and entropy modes
Kaze propagates all four ideal-MHD linear waves for one period with second-order convergence (observed orders 1.92 to 2.06, gate 1.8; error ratio 32 to 64 cells 0.33 to 0.39, Athena++ gate 0.4) and, with the MC limiter, below the Athena++ absolute error thresholds; CPU, f64, 2026-11-15.

- Reference
- J. M. Stone et al.
- Hardware
- AMD EPYC Genoa server CPU, 4 vCPU
- Solver version
- Kaze 0.1.0+5cd3e93b
- Grid
- 2D periodic sqrt(5) x sqrt(5)/2, wave along the diagonal, n x n/2…
Results
Every chart is drawn from the run's own numbers: hover for values, drag to zoom, toggle series in the legend, or download the data as CSV. Field views switch between 2D and a 3D surface.
Fast-wave density perturbation
Kaze | Fast magnetosonic wave after one period, (rho - 1) / 1e-6, 128 x 64

Fast wave along a row vs exact
Kaze | Fast wave after one period vs exact, row y = 0.568, 128 x 64
Hover to read values · drag to zoom · double-click to reset · click a legend entry to hide it.
Error vs resolution, four waves
Kaze | MHD linear waves, RMS-L1 vs resolution, orders 64 -> 128 1.92-2.06
Hover to read values · drag to zoom · double-click to reset · click a legend entry to hide it.
Metrics and gates
Each gate is fixed before the run. The bar shows how much of its allowance a metric uses: the line marks the gate, so a bar past it fails. A metric without a gate is reported for context and does not decide the verdict.
| Metric | Value | Gate | Allowance used | Result |
|---|---|---|---|---|
| Fast wave: error ratio 32 to 64 cellskey | 0.332 | |x| ≤ 0.4 | 83 % | ✓ pass |
| Fast wave: observed order, 64 to 128 cells | 2.06 | ≥ 1.8 | 87 % | ✓ pass |
| Fast wave: RMS error, 64 cells (regression bound) | 5.11e-8 | |x| ≤ 5.62e-8 | 91 % | ✓ pass |
| Alfven wave: error ratio 32 to 64 cells | 0.389 | |x| ≤ 0.4 | 97 % | ✓ pass |
| Alfven wave: observed order, 64 to 128 cells | 2.02 | ≥ 1.8 | 89 % | ✓ pass |
| Alfven wave: RMS error, 64 cells (regression bound) | 5e-8 | |x| ≤ 5.5e-8 | 91 % | ✓ pass |
| Slow wave: error ratio 32 to 64 cells | 0.348 | |x| ≤ 0.4 | 87 % | ✓ pass |
| Slow wave: observed order, 64 to 128 cells | 1.92 | ≥ 1.8 | 94 % | ✓ pass |
| Slow wave: RMS error, 64 cells (regression bound) | 6.72e-8 | |x| ≤ 7.39e-8 | 91 % | ✓ pass |
| Entropy wave: error ratio 32 to 64 cells | 0.365 | |x| ≤ 0.4 | 91 % | ✓ pass |
| Entropy wave: observed order, 64 to 128 cells | 1.96 | ≥ 1.8 | 92 % | ✓ pass |
| Entropy wave: RMS error, 64 cells (regression bound) | 3.83e-8 | |x| ≤ 4.22e-8 | 91 % | ✓ pass |
| Fast wave: RMS error, 64 cells, MC limiter | 1.73e-8 | |x| ≤ 4.5e-8 | 38 % | ✓ pass |
| Alfven wave: RMS error, 64 cells, MC limiter | 1.87e-8 | |x| ≤ 4e-8 | 47 % | ✓ pass |
| Slow wave: RMS error, 64 cells, MC limiter | 2.65e-8 | |x| ≤ 5e-8 | 53 % | ✓ pass |
| Entropy wave: RMS error, 64 cells, MC limiter | 2.27e-8 | |x| ≤ 2.75e-8 | 82 % | ✓ pass |
| Fast wave: left- and right-going difference | 4.1e-16 | |x| ≤ 1e-14 | 4 % | ✓ pass |
Setup and reproducibility
References
- Published benchmark
J. M. Stone et al., Athena: a new code for astrophysical MHD, Astrophys. J. Suppl. 178 (2008) 137-177 (linear wave convergence test)
doi:10.1086/588755 - Third-party code · reference, not our solver
J. M. Stone et al., The Athena++ adaptive mesh refinement framework, Astrophys. J. Suppl. 249 (2020) 4 (regression-test error thresholds)
doi:10.3847/1538-4365/ab929b


