Skip to content
DimensionLab

KazeMHDCPU · f64

Magnetised Kelvin-Helmholtz shear layer: growth rate against Athena++

Kaze matches Athena++ v24.0 on the growth rate of a magnetised Kelvin-Helmholtz shear layer (B_x 0.4): 0.4228 in both codes at 256^2 and 512^2, with a difference at most 0.008 of the allowed bound (gate 1); CPU, f64, 2026-11-22.

Kaze density
Pass
2 of 2 gates met
0.00775Growth-rate difference from Athena++ relative to the allowed difference, 256^2 cells · gate |x| ≤ 1
<1 %
Reference
J. M. Stone
Hardware
AMD EPYC Genoa server CPU, one thread
Solver version
Kaze 0.1.0+4f07b975
Grid
2D [-0.5, 0.5]^2, x periodic, y outflow, shear tanh(y / 0.02), B_x…

Results

Figures from the run.

Transverse kinetic energy, Kaze and Athena++

Transverse kinetic energy, Kaze and Athena++

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.

MetricValueGateAllowance usedResult
Growth-rate difference from Athena++ relative to the allowed difference, 256^2 cellskey0.00775|x| ≤ 1<1 %✓ pass
Kaze growth rate of the transverse kinetic energy, 256^2 cells0.423not gatedreported onlyreported
Athena++ growth rate of the transverse kinetic energy, 256^2 cells0.423not gatedreported onlyreported
Growth-rate difference from Athena++ relative to the allowed difference, 512^2 cells3.21e-4|x| ≤ 1<1 %✓ pass
Kaze growth rate of the transverse kinetic energy, 512^2 cells0.423not gatedreported onlyreported
Athena++ growth rate of the transverse kinetic energy, 512^2 cells0.423not gatedreported onlyreported
Growth rate with the field relative to without, 256^2 cells0.457not gatedreported onlyreported
Growth rate with the field relative to without, 512^2 cells0.457not gatedreported onlyreported

Setup and reproducibility

Grid and numerics
2D [-0.5, 0.5]^2, x periodic, y outflow, shear tanh(y / 0.02), B_x 0.4, gamma 5/3, t = 0.8, 256^2 and 512^2 cells; PLM, HLLD, VL2, constrained transport
Solver
Kaze 0.1.0+4f07b975
Hardware
AMD EPYC Genoa server CPU, one thread
Precision
f64
Code revision
4f07b975dfe9
Physics
MHD · kelvin-helmholtz, magnetised shear layer, growth rate
Run date

References

  • 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