MHD shock-cloud interaction: density against Athena++
Kaze matches Athena++ v24.0 on a Mach 10 MHD shock striking a dense cloud: density differences of 0.028 and 0.022 of Athena++'s refinement change (gate 0.5) at 160 x 80 and 320 x 160 cells, grid behaviour within 0.006 (gate 0.25) and relative div B of 1.4e-15 (gate 1e-12); CPU, f64, 2026-11-22.

- Reference
- J. M. Stone
- Hardware
- AMD EPYC Genoa server CPU, one thread
- Solver version
- Kaze 0.1.0+4f07b975
- Grid
- 2D [-3, 7] x [-2.5, 2.5], 160 x 80 and 320 x 160 cells, Mach 10…
Results
Figures from the run.
Matched-resolution ratio 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++ over its refinement change, 160 x 80 cellskey | 0.0278 | |x| ≤ 0.5 | 6 % | ✓ pass |
| Density L1 difference from Athena++ over its refinement change, 320 x 160 cells | 0.0221 | |x| ≤ 0.5 | 4 % | ✓ pass |
| Deviation of Kaze's refinement change from Athena++'s, 160 to 320 cells | 0.0057 | |x| ≤ 0.25 | 2 % | ✓ pass |
| Maximum relative divergence of B | 1.39e-15 | |x| ≤ 1e-12 | <1 % | ✓ pass |
Setup and reproducibility
- Grid and numerics
- 2D [-3, 7] x [-2.5, 2.5], 160 x 80 and 320 x 160 cells, Mach 10 shock, cloud density 10, gamma 5/3, t = 0.5; PLM, HLLD, constrained transport, VL2, CFL 0.4
- Solver
- Kaze 0.1.0+4f07b975
- Hardware
- AMD EPYC Genoa server CPU, one thread
- Precision
- f64
- Code revision
- 4f07b975dfe9
- Physics
- MHD · shock-cloud interaction, mhd, constrained transport
- 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 - Published benchmark
J. M. Stone, T. A. Gardiner, P. Teuben, J. F. Hawley, J. B. Simon, Athena: a new code for astrophysical MHD, Astrophys. J. Suppl. Ser. 178 (2008) 137-177 (shock-cloud test)
doi:10.1086/588755


