Skip to content
DimensionLab

Athena++ v24.0Reference run (DimensionLab)

Magnetic field loop advection: Athena++ reference run

Athena++ v24.0 run of the magnetic field loop advection benchmark at 256 x 128 cells: total mass conservation error (relative) 5.9e-15 (gate 1e-12); reported, not gated: magnetic energy at t = 2 over its initial value 0.89. Intel Core i7-6800K CPU, serial, f64, 2026-11-21.

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

|b| at t = 2

|b| along x at y = -0.00391 at each resolution

|b| along x at y = -0.00391 at each resolution

L1 difference to the finest run against resolution

L1 difference to the finest run against resolution

Metrics

MetricValueGateAllowance usedResult
Total mass conservation error (relative)key5.88e-15|x| ≤ 1e-12<1 %✓ pass
Magnetic energy at t = 2 over its initial value (reported)0.89not gatedreported onlyreported
L1 error of the magnetic field after two crossings (reported)5.6e-5not gatedreported onlyreported
Largest B_z (reported)8.52e-18not gatedreported onlyreported
L1 bmag difference to the finest grid at N = 128 (self-convergence, reported)1.92e-5not gatedreported onlyreported

Setup

Code
Athena++ v24.0
Grid and numerics
2D periodic [-1, 1] x [-0.5, 0.5], 256 x 128 cells, v = (2, 1, 2), t = 2 (two crossings); PLM, HLLD, VL2 with constrained transport
Hardware
Intel Core i7-6800K workstation CPU, serial run; f64

References

  • Published benchmark

    T. A. Gardiner, J. M. Stone, An unsplit Godunov method for ideal MHD via constrained transport, Journal of Computational Physics 205 (2005) 509-539

    doi:10.1016/j.jcp.2004.11.016
  • Published benchmark

    J. M. Stone, T. A. Gardiner, P. Teuben, J. F. Hawley, J. B. Simon, Athena: A New Code for Astrophysical MHD, The Astrophysical Journal Supplement Series 178 (2008) 137-177

    doi:10.1086/588755

Our solvers on this problem

All reference cases