Skip to content
DimensionLab

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.

Pass

Results

Density on the bottom cell layer: the fronts run along the diagonal

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

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

Density error of each plane against the exact cell average

Metrics

MetricValueGateAllowance usedResult
Total mass conservation error (relative)key0|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.0216not gatedreported onlyreported
Largest density range within a plane (reported)0not gatedreported onlyreported
Largest change under the cyclic axis rotation (reported)1.11e-16not gatedreported onlyreported
Mean density error against the exact solution at 16^3 (reported)0.0346not gatedreported onlyreported
Observed order of the density error from 16^3 to 32^3 (reported)0.68not gatedreported onlyreported

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

All reference cases