Skip to content
DimensionLab

KazeCompressible flowCPU · f64

Sod shock tube at the Athena++ regression thresholds (HLLC and HLLE)

Kaze meets the Athena++ regression thresholds for the Sod shock tube against the exact Riemann solution: RMS error 9.6e-3 with HLLC and 9.9e-3 with HLLE at 128 cells (gate 1.1e-2) and an error ratio of 0.52 from 128 to 256 cells for both (gate 0.6); CPU, f64, 2026-11-15.

Density along the tube
Pass
4 of 4 gates met
0.00964HLLC: RMS error of density, momentum and energy, 128 cells · gate |x| ≤ 0.011
88 %
Reference
E. F. Toro
Hardware
AMD EPYC Genoa server CPU, 4 vCPU
Solver version
Kaze 0.1.0+5cd3e93b
Grid
1D on [-0.5, 0.5], diaphragm at 0, t = 0.25, 128 and 256 cells

Results

Figures from the run.

Density vs the exact solution

Density vs the exact solution

RMS error with the Athena++ gate

RMS error with the Athena++ 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.

MetricValueGateAllowance usedResult
HLLC: RMS error of density, momentum and energy, 128 cellskey0.00964|x| ≤ 0.01188 %✓ pass
HLLC: error ratio, 256 over 128 cells0.525|x| ≤ 0.687 %✓ pass
HLLC: RMS error of density, momentum and energy, 256 cells0.00506not gatedreported onlyreported
HLLE: RMS error of density, momentum and energy, 128 cells0.00989|x| ≤ 0.01190 %✓ pass
HLLE: error ratio, 256 over 128 cells0.523|x| ≤ 0.687 %✓ pass
HLLE: RMS error of density, momentum and energy, 256 cells0.00517not gatedreported onlyreported

Setup and reproducibility

Grid and numerics
1D on [-0.5, 0.5], diaphragm at 0, t = 0.25, 128 and 256 cells; PLM, VL2, first-order flux correction, CFL 0.3
Solver
Kaze 0.1.0+5cd3e93b
Hardware
AMD EPYC Genoa server CPU, 4 vCPU
Precision
f64
Code revision
5cd3e93b1148
Physics
Compressible flow · riemann problem, shock tube, euler equations
Run date

References

  • Analytic solution

    E. F. Toro, Riemann Solvers and Numerical Methods for Fluid Dynamics, 3rd ed., Springer, 2009 (exact Riemann solver, ch. 4)

    doi:10.1007/b79761In the Physics Atlas
  • 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 (Sod shock tube regression thresholds)

    doi:10.3847/1538-4365/ab929b