Skip to content
DimensionLab

KazeCompressible flowCPU · f64

HLLC with antidiffusion control: carbuncle rows and shock-rich guard rows

Kaze's HLLC flux with antidiffusion control cures the carbuncle (Quirk duct row spread 4.3e-7 cells, gate 1; Hanawa shear-layer jump 2.0e-8 against 0.455 for plain HLLC, gate 0.05) but fails the guard rows: it gives up 0.43 to 0.92 of HLLC's accuracy advantage on three shock-rich cases (gate 0.2); CPU, f64, 2026-11-21.

Hanawa variant with HLLC-ADC: planar shock
Failed
5 of 12 gates met
0.708Double Mach reflection: share of HLLC's advantage over HLLE given up · gate |x| ≤ 0.2
354 %

Passed: Quirk duct, Hanawa shear layer and triple point (0.12 given up, gate 0.2). Failed: Lax-Liu 3 (0.43), double Mach reflection (0.71) and forward step (0.92) against 0.2, and the Athena++ comparison on the last two (difference over refinement change 0.73 to 1.36, gate 0.5). The option stays off by default.

Reference
J. J. Quirk
Hardware
AMD EPYC Genoa server CPU, one thread
Solver version
Kaze 0.1.0+367ada1a
Grid
2D: Quirk duct 800 x 20, Hanawa 128 x 16, double Mach reflection…

Results

Figures from the run.

Contact rule per guard row (bound 0.2)

Contact rule per guard row (bound 0.2)

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: spread of the row front at t = 100 (cells)4.26e-7|x| ≤ 1<1 %✓ pass
Hanawa shear-layer jump with the antidiffusion option1.99e-8|x| ≤ 0.05<1 %✓ pass
Hanawa shear-layer jump with plain HLLC (reported)0.455not gatedreported onlyreported
Triple point: share of HLLC's advantage over HLLE given up0.124|x| ≤ 0.262 %✓ pass
Lax-Liu 3: share of HLLC's advantage over HLLE given up0.43|x| ≤ 0.2215 %✕ fail
Double Mach reflection: share of HLLC's advantage over HLLE given upkey0.708|x| ≤ 0.2354 %✕ fail
Forward step: share of HLLC's advantage over HLLE given up0.919|x| ≤ 0.2460 %✕ fail
Double Mach reflection, 80 cells: difference from Athena++ relative to Athena++'s refinement change0.728|x| ≤ 0.5146 %✕ fail
Double Mach reflection, 160 cells: difference from Athena++ relative to Athena++'s refinement change0.783|x| ≤ 0.5157 %✕ fail
Double Mach reflection: deviation of refinement change from Athena++'s1.021 ± 0.259 %✓ pass
Forward step, 80 cells: difference from Athena++ relative to Athena++'s refinement change1.15|x| ≤ 0.5231 %✕ fail
Forward step, 160 cells: difference from Athena++ relative to Athena++'s refinement change1.36|x| ≤ 0.5272 %✕ fail
Forward step: deviation of refinement change from Athena++'s0.8461 ± 0.2562 %✓ pass

Setup and reproducibility

Grid and numerics
2D: Quirk duct 800 x 20, Hanawa 128 x 16, double Mach reflection and forward step at 80 and 160 cells per unit, triple point 32 and 64, Lax-Liu 3 64^2 and 128^2; PLM, HLLC with antidiffusion, VL2
Solver
Kaze 0.1.0+367ada1a
Hardware
AMD EPYC Genoa server CPU, one thread
Precision
f64
Code revision
367ada1afebc
Physics
Compressible flow · carbuncle, hllc, shock capturing
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

    doi:10.3847/1538-4365/ab929b