Athena++ v24.0Reference run (DimensionLab)
Sod shock tube along the grid diagonal: Athena++ reference run
Athena++ v24.0 runs of the Sod shock tube with the shock normal along the cube diagonal at 16^3 and 32^3: total mass and energy unchanged (relative change 0; gate 1e-12); reported: mean density error 0.022 at 32^3, 0.035 at 16^3, and the solution is the same on every plane. Intel Core i7-6800K CPU, serial, f64, 2026-11-29.
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

Density of every plane at 16^3 and 32^3 against the exact solution (both diaphragms)

Density error of each plane against the exact cell average

Metrics
| Metric | Value | Gate | Allowance used | Result |
|---|---|---|---|---|
| Total mass conservation error (relative)key | 0 | |x| ≤ 1e-12 | <1 % | ✓ pass |
| Total energy conservation error (relative) | 0 | |x| ≤ 1e-12 | <1 % | ✓ pass |
| Mean density error against the exact solution (reported) | 0.0216 | not gated | reported only | reported |
| Largest density range within a plane (reported) | 0 | not gated | reported only | reported |
| Largest change under the cyclic axis rotation (reported) | 1.11e-16 | not gated | reported only | reported |
| Mean density error against the exact solution at 16^3 (reported) | 0.0346 | not gated | reported only | reported |
| Observed order of the density error from 16^3 to 32^3 (reported) | 0.68 | not gated | reported only | reported |
Setup
- Code
- Athena++ v24.0
- Grid and numerics
- 3D periodic unit cube, 32^3 cells (and 16^3), Sod states on the planes normal to (1, 1, 1), two diaphragms half a period apart, gamma 1.4, t = 0.06; PLM, HLLC, VL2, CFL 0.3
- Hardware
- Intel Core i7-6800K workstation CPU, serial run; f64
References
- Third-party code
B. Fryxell, K. Olson, P. Ricker, F. X. Timmes, M. Zingale, D. Q. Lamb, P. MacNeice, R. Rosner, J. W. Truran, H. Tufo, FLASH: An Adaptive Mesh Hydrodynamics Code for Modeling Astrophysical Thermonuclear Flashes, The Astrophysical Journal Supplement Series 131 (2000) 273-334
doi:10.1086/317361 - Published benchmark
G. A. Sod, A survey of several finite difference methods for systems of nonlinear hyperbolic conservation laws, Journal of Computational Physics 27 (1978) 1-31
doi:10.1016/0021-9991(78)90023-2 - 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
PassKaze · CPUSod shock tube along the cube diagonal against the exact solution
Observed order, 32^3 to 64^3 cells: 0.643
93 %riemann problem · shock tube
PassKaze · CPUSod shock tube: density against the exact Riemann solution
Density L1 error, 100 cells: 0.0041
31 %riemann problem · shock tube