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.
Results

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

L1 difference to the finest run against resolution

Metrics
| Metric | Value | Gate | Allowance used | Result |
|---|---|---|---|---|
| Total mass conservation error (relative)key | 5.88e-15 | |x| ≤ 1e-12 | <1 % | ✓ pass |
| Magnetic energy at t = 2 over its initial value (reported) | 0.89 | not gated | reported only | reported |
| L1 error of the magnetic field after two crossings (reported) | 5.6e-5 | not gated | reported only | reported |
| Largest B_z (reported) | 8.52e-18 | not gated | reported only | reported |
| L1 bmag difference to the finest grid at N = 128 (self-convergence, reported) | 1.92e-5 | not gated | reported only | reported |
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
PassKaze · CPUField-loop advection: magnetic-energy loss against Athena++ and the exact field
Magnetic-energy loss, Kaze over 1.25 times Athena++, 256x128 cells (pass at or below 1): 0.8
80 %field loop · advection
PassKaze · CPUField-loop advection with constrained transport: magnetic-energy loss after two orbits
Magnetic-energy loss after two orbits, 128x64 cells: 0.209
91 %field loop · advection