Ryu-Jones 2a MHD shock tube: error against the published solution
Kaze reproduces the Ryu-Jones 2a (Dai-Woodward) MHD shock tube with an RMS error of 9.9e-3 at 512 cells (gate 0.01), the same as Athena++'s 9.9e-3, and an error ratio of 0.53 from 256 to 512 cells (gate 0.6); CPU, f64, 2026-11-21.

- Reference
- D. Ryu
- Hardware
- AMD EPYC Genoa server CPU, one thread
- Solver version
- Kaze 0.1.0+cdaf0423
- Grid
- 1D on [-0.5, 0.5], gamma 5/3, Bx = 2/sqrt(4 pi), t = 0.2, 256 and…
Results
Figures from the run.
By vs the published solution

Density vs the published solution

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 |
|---|---|---|---|---|
| RMS error over the conserved variables, 512 cellskey | 0.00989 | |x| ≤ 0.01 | 99 % | ✓ pass |
| RMS error ratio, 512 over 256 cells | 0.534 | |x| ≤ 0.6 | 89 % | ✓ pass |
| RMS error over the conserved variables, 256 cells | 0.0185 | not gated | reported only | reported |
| Athena++ RMS error, 512 cells | 0.00989 | not gated | reported only | reported |
| RMS error, 512 cells, CFL 0.8 | 0.00935 | not gated | reported only | reported |
Setup and reproducibility
References
- Published benchmark
D. Ryu, T. W. Jones, Numerical magnetohydrodynamics in astrophysics: algorithm and tests for one-dimensional flow, Astrophys. J. 442 (1995) 228-258
doi:10.1086/175437 - Analytic solution
W. Dai, P. R. Woodward, An approximate Riemann solver for ideal magnetohydrodynamics, J. Comput. Phys. 111 (1994) 354-372
doi:10.1006/jcph.1994.1069 - Third-party code · reference, not our solver
J. M. Stone, K. Tomida, C. J. White, K. G. Felker, The Athena++ adaptive mesh refinement framework: design and magnetohydrodynamic solvers, Astrophys. J. Suppl. Ser. 249 (2020) 4
doi:10.3847/1538-4365/ab929b


