Torrilhon MHD Riemann problem: density and B_y against Athena++
Kaze matches Athena++ v24.0 on the Torrilhon non-unique MHD Riemann problem: density and B_y differ from Athena++ by at most 0.017 of its refinement change (gate 0.5) at 240 to 960 cells, and the grid behaviour agrees within 0.0033 (gate 0.25); CPU, f64, 2026-11-21.

- Reference
- M. Torrilhon
- Hardware
- AMD EPYC Genoa server CPU, one thread
- Solver version
- Kaze 0.1.0+53e67d29
- Grid
- 1D on [-1, 2], twist angle 3, gamma 5/3, Bn = 1, t = 0.4, 240, 480…
Results
Figures from the run.
B_y, Kaze and Athena++

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 |
|---|---|---|---|---|
| Difference from Athena++ over its refinement change, density, 240 cells | 0.0131 | |x| ≤ 0.5 | 3 % | ✓ pass |
| L1 difference from Athena++, density, 240 cells | 2.67e-5 | not gated | reported only | reported |
| Difference from Athena++ over its refinement change, B_y, 240 cellskey | 0.0169 | |x| ≤ 0.5 | 3 % | ✓ pass |
| L1 difference from Athena++, B_y, 240 cells | 5.12e-5 | not gated | reported only | reported |
| Difference from Athena++ over its refinement change, density, 480 cells | 0.0108 | |x| ≤ 0.5 | 2 % | ✓ pass |
| L1 difference from Athena++, density, 480 cells | 1.44e-5 | not gated | reported only | reported |
| Difference from Athena++ over its refinement change, B_y, 480 cells | 0.0171 | |x| ≤ 0.5 | 3 % | ✓ pass |
| L1 difference from Athena++, B_y, 480 cells | 2.96e-5 | not gated | reported only | reported |
| Difference from Athena++ over its refinement change, density, 960 cells | 0.00788 | |x| ≤ 0.5 | 2 % | ✓ pass |
| L1 difference from Athena++, density, 960 cells | 9.01e-6 | not gated | reported only | reported |
| Difference from Athena++ over its refinement change, B_y, 960 cells | 0.00992 | |x| ≤ 0.5 | 2 % | ✓ pass |
| L1 difference from Athena++, B_y, 960 cells | 1.57e-5 | not gated | reported only | reported |
| Deviation of Kaze's refinement change from Athena++'s, 240 to 480 cells | 4.91e-4 | |x| ≤ 0.25 | <1 % | ✓ pass |
| Deviation of Kaze's refinement change from Athena++'s, 480 to 960 cells | 0.00329 | |x| ≤ 0.25 | 1 % | ✓ pass |
Setup and reproducibility
- Grid and numerics
- 1D on [-1, 2], twist angle 3, gamma 5/3, Bn = 1, t = 0.4, 240, 480 and 960 cells; PLM, HLLD, VL2, CFL 0.3
- Solver
- Kaze 0.1.0+53e67d29
- Hardware
- AMD EPYC Genoa server CPU, one thread
- Precision
- f64
- Code revision
- 53e67d29090e
- Physics
- MHD · mhd riemann problem, compound wave, code comparison
- Run date
References
- Published benchmark
M. Torrilhon, Non-uniform convergence of finite volume schemes for Riemann problems of ideal magnetohydrodynamics, J. Comput. Phys. 192 (2003) 73-94
doi:10.1016/s0021-9991(03)00347-4 - 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


