Skip to content
DimensionLab

Athena++ v24.0Reference run (DimensionLab)

Ryu-Jones 2a MHD Riemann problem against the Dai-Woodward solution

Athena++ v24.0 reproduces the Ryu-Jones 2a MHD shock tube (Dai and Woodward 1994) on 512 cells: RMS-L1 error 9.89e-3 against its own regression bound 0.01, with mass and energy balances closing to 6e-15 and 2e-14 (gate 1e-11); AMD Ryzen 7 5700X CPU, serial, f64, 2026-11-16.

Reference case. This is a run of Athena++ v24.0, another code, not of a DimensionLab solver. It is shown as a reference for the problem; it is not counted in our solvers' verdicts or totals.

Pass

Results

Density at t = 0.2 as a band

Density against Dai & Woodward's solution

Density against Dai & Woodward's solution

Metrics

MetricValueGateAllowance usedResult
RMS-L1 error of the eight conserved variableskey0.00989|x| ≤ 0.0199 %✓ pass
Mass balance error5.92e-15|x| ≤ 1e-11<1 %✓ pass
Energy balance error1.88e-14|x| ≤ 1e-11<1 %✓ pass

Setup

Code
Athena++ v24.0
Grid and numerics
1D, 512 cells on [-0.5, 0.5], t = 0.2; the Athena++ regression configuration for this problem
Hardware
AMD Ryzen 7 5700X workstation CPU, serial run; f64

References

  • Analytic solution

    W. Dai, P. R. Woodward, An approximate Riemann solver for ideal magnetohydrodynamics, Journal of Computational Physics 111 (1994) 354-372

    doi:10.1006/jcph.1994.1069
  • Published benchmark

    D. Ryu, T. W. Jones, Numerical magnetohydrodynamics in astrophysics: algorithm and tests for one-dimensional flow, The Astrophysical Journal 442 (1995) 228-258

    doi:10.1086/175437
  • Third-party code

    J. M. Stone, K. Tomida, C. J. White, K. G. Felker, The Athena++ Adaptive Mesh Refinement Framework: Design and Magnetohydrodynamic Solvers, The Astrophysical Journal Supplement Series 249 (2020) 4

    doi:10.3847/1538-4365/ab929b

Our solvers on this problem

All reference cases