Skip to content
DimensionLab

KazeMHDCPU · f64

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.

Kaze B_y as a colour band
Pass
8 of 8 gates met
0.0169Difference from Athena++ over its refinement change, B_y, 240 cells · gate |x| ≤ 0.5
3 %
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++

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.

MetricValueGateAllowance usedResult
Difference from Athena++ over its refinement change, density, 240 cells0.0131|x| ≤ 0.53 %✓ pass
L1 difference from Athena++, density, 240 cells2.67e-5not gatedreported onlyreported
Difference from Athena++ over its refinement change, B_y, 240 cellskey0.0169|x| ≤ 0.53 %✓ pass
L1 difference from Athena++, B_y, 240 cells5.12e-5not gatedreported onlyreported
Difference from Athena++ over its refinement change, density, 480 cells0.0108|x| ≤ 0.52 %✓ pass
L1 difference from Athena++, density, 480 cells1.44e-5not gatedreported onlyreported
Difference from Athena++ over its refinement change, B_y, 480 cells0.0171|x| ≤ 0.53 %✓ pass
L1 difference from Athena++, B_y, 480 cells2.96e-5not gatedreported onlyreported
Difference from Athena++ over its refinement change, density, 960 cells0.00788|x| ≤ 0.52 %✓ pass
L1 difference from Athena++, density, 960 cells9.01e-6not gatedreported onlyreported
Difference from Athena++ over its refinement change, B_y, 960 cells0.00992|x| ≤ 0.52 %✓ pass
L1 difference from Athena++, B_y, 960 cells1.57e-5not gatedreported onlyreported
Deviation of Kaze's refinement change from Athena++'s, 240 to 480 cells4.91e-4|x| ≤ 0.25<1 %✓ pass
Deviation of Kaze's refinement change from Athena++'s, 480 to 960 cells0.00329|x| ≤ 0.251 %✓ 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