KazeCompressible flowCPU · f64
Kelvin-Helmholtz instability (McNally et al. 2012): mode growth against the reference solution
Kaze follows the growth of the Kelvin-Helmholtz mode in McNally, Lyra & Passy's well-posed test to within 0.12 % of their 4096^2 reference over t 0-1.5 on 512^2 cells (bound 0.73 %, the published Athena result at 256^2); pass. CPU, f64.

Pass
4 of 4 gates met
0.00123Mode amplitude, largest relative deviation over t <= 1.5 (512^2) · gate 0 ± 0.00728
17 %- Reference
- C. P. McNally
- Hardware
- AMD EPYC Genoa server CPU
- Solver version
- Kaze 0.1.0+dee131c8
- Grid
- Periodic unit square at 128^2, 256^2 and 512^2 cells (512^2 judged)
Results
Figures from the run.
Mode amplitude against the paper's reference solution

Relative deviation of the mode amplitude from the reference, with the bound (128^2 omitted: up to 6 %)

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 |
|---|---|---|---|---|
| Mode amplitude, largest relative deviation over t <= 1.5 (512^2)key | 0.00123 | 0 ± 0.00728 | 17 % | ✓ pass |
| Mass, momentum and energy drift (128^2) | 1.52e-14 | 0 ± 1e-10 | <1 % | ✓ pass |
| Mass, momentum and energy drift (256^2) | 7.38e-14 | 0 ± 1e-10 | <1 % | ✓ pass |
| Mass, momentum and energy drift (512^2) | 1.81e-13 | 0 ± 1e-10 | <1 % | ✓ pass |
| Mode amplitude, largest relative deviation (128^2, reported) | 0.0616 | not gated | reported only | reported |
| Mode amplitude, largest relative deviation (256^2, reported) | 0.00912 | not gated | reported only | reported |
| Mode amplitude relative deviation at t = 1.5 (128^2, reported) | -0.0555 | not gated | reported only | reported |
| Mode amplitude relative deviation at t = 1.5 (256^2, reported) | -0.00874 | not gated | reported only | reported |
| Mode amplitude relative deviation at t = 1.5 (512^2, reported) | -0.00123 | not gated | reported only | reported |
| Published Athena at 256^2, largest relative deviation (the bound's source) | 0.00728 | not gated | reported only | reported |
| Published Athena at 512^2, largest relative deviation (context) | 0.0016 | not gated | reported only | reported |
| Published Pencil at 512^2, largest relative deviation (context) | 1.94e-4 | not gated | reported only | reported |
Setup and reproducibility
- Grid and numerics
- Periodic unit square at 128^2, 256^2 and 512^2 cells (512^2 judged); PLM reconstruction, HLLC flux, VL2 time stepping, CFL 0.4, t from 0 to 1.5
- Solver
- Kaze 0.1.0+dee131c8
- Hardware
- AMD EPYC Genoa server CPU
- Precision
- f64
- Code revision
- dee131c8ae79
- Physics
- Compressible flow · kelvin-helmholtz, shear layer, instability growth, euler equations
- 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. 201 (2012) 18 (Figs. 4 and 7)
doi:10.1088/0067-0049/201/2/18


