Athena++ v24.0Reference run (DimensionLab)
Kelvin-Helmholtz instability (McNally et al. 2012): Athena++ reference run
Athena++ v24.0 run of the Kelvin-Helmholtz instability (McNally et al. 2012) benchmark at 512^2 cells: total mass conservation error (relative) 0 (gate 1e-12); density and pressure stay positive (minima 0.988, 2.2); reported, not gated: Kelvin-Helmholtz mode amplitude 0.15. 13th Gen Intel Core i5-13600K 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

Density along y at x = 0.498 at each resolution

L1 difference to the finest run against resolution

Metrics
| Metric | Value | Gate | Allowance used | Result |
|---|---|---|---|---|
| Total mass conservation error (relative)key | 0 | |x| ≤ 1e-12 | <1 % | ✓ pass |
| Minimum density (gate: positive) | 0.988 | not gated | reported only | reported |
| Minimum pressure (gate: positive) | 2.2 | not gated | reported only | reported |
| Kelvin-Helmholtz mode amplitude (reported) | 0.148 | not gated | reported only | reported |
| L1 density difference to the finest grid at N = 256 (self-convergence, reported) | 0.00133 | not gated | reported only | reported |
Setup
- Code
- Athena++ v24.0
- Grid and numerics
- 2D periodic unit square, 512^2 cells (output averaged 2 x 2), t = 1.5; PLM, HLLC, VL2
- Hardware
- 13th Gen Intel Core i5-13600K cloud CPU, serial run; f64
References
- Published benchmark
C. P. McNally, W. Lyra, J.-C. Passy, A well-posed Kelvin-Helmholtz instability test and comparison, The Astrophysical Journal Supplement Series 201 (2012) 18
doi:10.1088/0067-0049/201/2/18 - 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 · CPUWell-posed Kelvin-Helmholtz instability: density and mode amplitude against Athena++
Density L1 difference from Athena++ relative to Athena++'s refinement change, 256^2 cells: 1.86e-4
<1 %kelvin-helmholtz · shear layer