Skip to content
DimensionLab

KazeCompressible flowCPU · f64

Carbuncle test: Quirk's duct and an Athena++ variant with HLLE and HLLC

Kaze keeps a straight shock front with HLLE in Quirk's Mach 6 duct (front spread 6.6e-11 cells, gate 1) and, in the Athena++ variant, shows the same carbuncle as Athena++ with HLLC (shock-irregularity measure 0.46 against 0.42) and none with HLLE (2e-15 against 4e-16); CPU, f64, 2026-11-21.

Quirk duct with HLLE: density near the shock
Pass
4 of 4 gates met
6.56e-11Quirk duct, HLLE: spread of the shock front in cells · gate |x| ≤ 1
<1 %
Reference
J. J. Quirk
Hardware
AMD EPYC Genoa server CPU, one thread
Solver version
Kaze 0.1.0+0b956236
Grid
Quirk duct 800 x 20 cells, Mach 6, gamma 1.4, t = 100

Results

Figures from the run.

Front spread across rows in Quirk's duct

Front spread across rows in Quirk's duct

delta s of both codes with the threshold

delta s of both codes with the threshold

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, HLLE: spread of the shock front in cellskey6.56e-11|x| ≤ 1<1 %✓ pass
Quirk duct, HLLC: spread of the shock front in cells (reported)0.215not gatedreported onlyreported
Variant, HLLE: shock-irregularity measure, Kaze2.22e-15|x| ≤ 0.05<1 %✓ pass
Variant, HLLE: Kaze and Athena++ on opposite sides of the 0.05 threshold (0 = agree)0|x| ≤ 0–✓ pass
Variant, HLLE: shock-irregularity measure, Athena++4.44e-16not gatedreported onlyreported
Variant, HLLC: Kaze and Athena++ on opposite sides of the 0.05 threshold (0 = agree)0|x| ≤ 0–✓ pass
Variant, HLLC: shock-irregularity measure, Athena++0.419not gatedreported onlyreported
Variant, HLLC: shock-irregularity measure, Kaze0.455not gatedreported onlyreported

Setup and reproducibility

Grid and numerics
Quirk duct 800 x 20 cells, Mach 6, gamma 1.4, t = 100; variant 128 x 16 cells, gamma 5/3, t = 0.4; PLM, VL2, first-order flux correction, CFL 0.4; HLLE and HLLC
Solver
Kaze 0.1.0+0b956236
Hardware
AMD EPYC Genoa server CPU, one thread
Precision
f64
Code revision
0b9562367fdb
Physics
Compressible flow · carbuncle, shock instability, riemann solver
Run date

References

  • 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
  • Published benchmark

    T. Hanawa, H. Mikami, T. Matsumoto, Improving shock irregularities based on the characteristics of the MHD equations, J. Comput. Phys. 227 (2008) 7952-7976

    doi:10.1016/j.jcp.2008.05.006
  • 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 (carbuncle test, v24.0)

    doi:10.3847/1538-4365/ab929b