KazeCompressible flowCPU · f64
Well-posed Kelvin-Helmholtz instability: density and mode amplitude against Athena++
Kaze reproduces Athena++ v24.0 on the well-posed Kelvin-Helmholtz problem of McNally et al. (2012): density differs by 1.9e-4 of Athena++'s own refinement change at 256^2 (gate 0.5) and the mode amplitude is 0.14665 in both codes; code to code comparison; CPU, f64, 2026-11-21.

- Reference
- C. P. McNally
- Hardware
- AMD EPYC Genoa server CPU, one thread
- Solver version
- Kaze 0.1.0+53e67d29
- Grid
- 2D periodic unit square, gamma 5/3, t = 1.5, 128^2 and 256^2 cells
Results
Figures from the run.
Matched-resolution difference with the gate

Metrics and gates
Each gate is fixed before the run. The bar shows how much of its allowance a metric uses: the line marks the gate, so a bar past it fails. A metric without a gate is reported for context and does not decide the verdict.
| Metric | Value | Gate | Allowance used | Result |
|---|---|---|---|---|
| Density L1 difference from Athena++ relative to Athena++'s refinement change, 128^2 cells | 5.45e-4 | |x| ≤ 0.5 | <1 % | ✓ pass |
| Density L1 difference between Kaze and Athena++, 128^2 cells | 2.87e-6 | not gated | reported only | reported |
| Density L1 difference from Athena++ relative to Athena++'s refinement change, 256^2 cellskey | 1.86e-4 | |x| ≤ 0.5 | <1 % | ✓ pass |
| Density L1 difference between Kaze and Athena++, 256^2 cells | 2.48e-7 | not gated | reported only | reported |
| Mode amplitude difference from Athena++ relative to Athena++'s refinement change, 128^2 cells | 5.89e-4 | |x| ≤ 0.5 | <1 % | ✓ pass |
| Mode amplitude difference between Kaze and Athena++, 128^2 cells | 4.08e-6 | not gated | reported only | reported |
| Mode amplitude difference from Athena++ relative to Athena++'s refinement change, 256^2 cells | 1.8e-4 | |x| ≤ 0.5 | <1 % | ✓ pass |
| Mode amplitude difference between Kaze and Athena++, 256^2 cells | 1.96e-7 | not gated | reported only | reported |
| Deviation of Kaze's refinement change from Athena++'s (relative) | 3.6e-4 | |x| ≤ 0.25 | <1 % | ✓ pass |
| Kaze mode amplitude, 256^2 cells | 0.147 | not gated | reported only | reported |
| Athena++ mode amplitude, 256^2 cells | 0.147 | not gated | reported only | reported |
Setup and reproducibility
- Grid and numerics
- 2D periodic unit square, gamma 5/3, t = 1.5, 128^2 and 256^2 cells; PLM, HLLC, VL2, first-order flux correction, CFL 0.4
- Solver
- Kaze 0.1.0+53e67d29
- Hardware
- AMD EPYC Genoa server CPU, one thread
- Precision
- f64
- Code revision
- 53e67d29090e
- Physics
- Compressible flow · kelvin-helmholtz, shear layer, code comparison
- Run date
References
- Published benchmark
C. P. McNally, W. Lyra, J.-C. Passy, A well-posed Kelvin-Helmholtz instability test and comparison, Astrophys. J. Suppl. Ser. 201 (2012) 18
doi:10.1088/0067-0049/201/2/18 - Third-party code · reference, not our solver
J. M. Stone, K. Tomida, C. J. White, K. G. Felker, The Athena++ adaptive mesh refinement framework: design and magnetohydrodynamic solvers, Astrophys. J. Suppl. Ser. 249 (2020) 4
doi:10.3847/1538-4365/ab929b


