Skip to content
DimensionLab

KazeCompressible flowCPU · f64

Slow-strong-shock limiter option: guard problems against exact solutions and Athena++

Kaze's optional slow-strong-shock limiter (off by default) keeps HLLC's accuracy on guard problems: at most 2.0 % of HLLC's advantage over HLLE given up (gate 20 %) on Sod, Lax, triple point, Lax-Liu 3, double Mach reflection and forward step, and differences from Athena++ below 0.30 of its resolution spread (gate 0.5); CPU, f64, 2026-11-22.

Guard G8: bow shock with the option (steady, judged)
Pass
16 of 16 gates met
0.0196Double Mach reflection: share of HLLC's contact accuracy given up · gate |x| ≤ 0.2
10 %
Reference
P. Woodward
Hardware
Intel Core i7-6800K workstation CPU, one thread
Solver version
Kaze 0.1.0+c79c57e0
Grid
1D (Sod, Lax: 800 cells) and 2D (double Mach reflection, forward…

Results

Figures from the run.

Contact rule per guard row (bound 0.2)

Contact rule per guard row (bound 0.2)

Quirk duct front spread over time

Quirk duct front spread over time

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
Quirk duct: row front spread in cells0.226|x| ≤ 123 %✓ pass
Hanawa duct: entropy jump, Kaze with the limiter0.345not gatedreported onlyreported
Hanawa duct: entropy jump, Athena++ HLLC0.419not gatedreported onlyreported
Sod: share of HLLC's contact accuracy given up0|x| ≤ 0.2<1 %✓ pass
Lax: share of HLLC's contact accuracy given up0|x| ≤ 0.2<1 %✓ pass
Triple point: share of HLLC's contact accuracy given up0.00203|x| ≤ 0.21 %✓ pass
Lax-Liu 3: share of HLLC's contact accuracy given up-0.00518|x| ≤ 0.23 %✓ pass
Double Mach reflection: share of HLLC's contact accuracy given upkey0.0196|x| ≤ 0.210 %✓ pass
Forward step: share of HLLC's contact accuracy given up-0.11|x| ≤ 0.255 %✓ pass
Double Mach reflection: difference from Athena++ over its resolution spread, 80 cells0.108|x| ≤ 0.522 %✓ pass
Double Mach reflection: difference from Athena++ over its resolution spread, 160 cells0.198|x| ≤ 0.540 %✓ pass
Double Mach reflection: Kaze over Athena++ error ratio, 80 to 160 cells1.011 ± 0.252 %✓ pass
Forward step: difference from Athena++ over its resolution spread, 80 cells0.248|x| ≤ 0.550 %✓ pass
Forward step: difference from Athena++ over its resolution spread, 160 cells0.298|x| ≤ 0.560 %✓ pass
Forward step: Kaze over Athena++ error ratio, 80 to 160 cells11 ± 0.25<1 %✓ pass
Triple point: difference from Athena++ over its resolution spread, 32 cells0.01|x| ≤ 0.52 %✓ pass
Triple point: difference from Athena++ over its resolution spread, 64 cells0.009|x| ≤ 0.52 %✓ pass
Triple point: deviation of Kaze's refinement change from Athena++'s0.001|x| ≤ 0.25<1 %✓ pass

Setup and reproducibility

Grid and numerics
1D (Sod, Lax: 800 cells) and 2D (double Mach reflection, forward step, triple point, Lax-Liu 3, Quirk and Hanawa ducts); PLM with slow-strong-shock minmod, HLLC, VL2, flux correction
Solver
Kaze 0.1.0+c79c57e0
Hardware
Intel Core i7-6800K workstation CPU, one thread
Precision
f64
Code revision
c79c57e055fb
Physics
Compressible flow · shock limiter, guard problems, hllc
Run date

References

  • Published benchmark

    P. Woodward, P. Colella, The numerical simulation of two-dimensional fluid flow with strong shocks, J. Comput. Phys. 54 (1984) 115-173

    doi:10.1016/0021-9991(84)90142-6
  • Published benchmark

    J. J. Quirk, A contribution to the great Riemann solver debate, Int. J. Numer. Methods Fluids 18 (1994) 555-574

    doi:10.1002/fld.1650180603
  • 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