Skip to content
DimensionLab

KazeCompressible flowCPU · f64

Hydro linear waves: error against the exact eigenmode and Athena++

Kaze matches Athena++ v24.0 on hydro linear waves (amplitude 1e-6, one period): errors agree to within 3e-7 relative and converge at order 1.99 to 2.09 (gate 1.8), but the 32 to 64 error ratio, 0.337 to 0.357, misses the threshold of 0.325, so the case fails; CPU, f64, 2026-11-21.

Density error after one period
Failed
19 of 23 gates met
0.337Left sound wave: error ratio, 64 to 32 cells · gate |x| ≤ 0.325
104 %

Passed: order 64 to 128 (gate 1.8), agreement with Athena++ (gate 0.1) and left-right symmetry. Failed: the 32 to 64 error ratio (0.337 to 0.357, threshold 0.325). The threshold comes from a three-dimensional Athena++ test; in this 2D box Athena++ gives the same ratios. It was not changed.

Reference
J. M. Stone
Hardware
AMD EPYC Genoa server CPU, one thread
Solver version
Kaze 0.1.0+0b956236
Grid
2D periodic diagonal box sqrt(5) x sqrt(5)/2, n x n/2 cells with n…

Results

Figures from the run.

RMS-L1 error of Kaze and Athena++ per wave

RMS-L1 error of Kaze and Athena++ per wave

Kaze's error over Athena++'s with gate L3

Kaze's error over Athena++'s with gate L3

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
Left sound wave: error ratio, 64 to 32 cellskey0.337|x| ≤ 0.325104 %✕ fail
Left sound wave: shortfall of the order 64 to 128 below 1.80|x| ≤ 0–✓ pass
Left sound wave: relative difference of Kaze's error from Athena++'s, 32 cells1.95e-8|x| ≤ 0.1<1 %✓ pass
Left sound wave: relative difference of Kaze's error from Athena++'s, 64 cells9.29e-8|x| ≤ 0.1<1 %✓ pass
Left sound wave: relative difference of Kaze's error from Athena++'s, 128 cells2.64e-7|x| ≤ 0.1<1 %✓ pass
Left sound wave: Athena++'s own error ratio, 64 to 32 cells0.337not gatedreported onlyreported
Right sound wave: error ratio, 64 to 32 cells0.337|x| ≤ 0.325104 %✕ fail
Right sound wave: shortfall of the order 64 to 128 below 1.80|x| ≤ 0–✓ pass
Right sound wave: relative difference of Kaze's error from Athena++'s, 32 cells1.95e-8|x| ≤ 0.1<1 %✓ pass
Right sound wave: relative difference of Kaze's error from Athena++'s, 64 cells9.29e-8|x| ≤ 0.1<1 %✓ pass
Right sound wave: relative difference of Kaze's error from Athena++'s, 128 cells2.66e-7|x| ≤ 0.1<1 %✓ pass
Right sound wave: Athena++'s own error ratio, 64 to 32 cells0.337not gatedreported onlyreported
Entropy wave: error ratio, 64 to 32 cells0.355|x| ≤ 0.325109 %✕ fail
Entropy wave: shortfall of the order 64 to 128 below 1.80|x| ≤ 0–✓ pass
Entropy wave: relative difference of Kaze's error from Athena++'s, 32 cells2.98e-7|x| ≤ 0.1<1 %✓ pass
Entropy wave: relative difference of Kaze's error from Athena++'s, 64 cells7.39e-8|x| ≤ 0.1<1 %✓ pass
Entropy wave: relative difference of Kaze's error from Athena++'s, 128 cells5.25e-8|x| ≤ 0.1<1 %✓ pass
Entropy wave: Athena++'s own error ratio, 64 to 32 cells0.355not gatedreported onlyreported
Shear wave: error ratio, 64 to 32 cells0.357|x| ≤ 0.325110 %✕ fail
Shear wave: shortfall of the order 64 to 128 below 1.80|x| ≤ 0–✓ pass
Shear wave: relative difference of Kaze's error from Athena++'s, 32 cells1.12e-9|x| ≤ 0.1<1 %✓ pass
Shear wave: relative difference of Kaze's error from Athena++'s, 64 cells1.73e-7|x| ≤ 0.1<1 %✓ pass
Shear wave: relative difference of Kaze's error from Athena++'s, 128 cells4.89e-8|x| ≤ 0.1<1 %✓ pass
Shear wave: Athena++'s own error ratio, 64 to 32 cells0.357not gatedreported onlyreported
Left-right symmetry of the error, 32 cells0|x| ≤ 1e-6<1 %✓ pass
Left-right symmetry of the error, 64 cells0|x| ≤ 1e-6<1 %✓ pass
Left-right symmetry of the error, 128 cells1.74e-9|x| ≤ 1e-6<1 %✓ pass

Setup and reproducibility

Grid and numerics
2D periodic diagonal box sqrt(5) x sqrt(5)/2, n x n/2 cells with n = 32, 64, 128; PLM, HLLC, VL2, first-order flux correction, CFL 0.4
Solver
Kaze 0.1.0+0b956236
Hardware
AMD EPYC Genoa server CPU, one thread
Precision
f64
Code revision
0b9562367fdb
Physics
Compressible flow · linear waves, convergence order, code comparison
Run date

References

  • 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

    doi:10.1086/588755
  • 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