Skip to content
DimensionLab

KazeCompressible flowCPU · f64

Planar Noh problem: density against the closed form

Kaze reproduces the planar Noh (1987) problem: mean density behind the shock 3.9999 (exact 4) and shock at 0.2000 (exact 0.2) at 800 cells, density L1 error 3.6e-3, observed orders 0.61 to 0.86 (gate 0.6); the wall cell overshoots by 7.5 % (wall heating, reported); CPU, f64, 2026-11-20.

Density at t = 0.6
Pass
8 of 8 gates met
4Mean density behind the shock, 800 cells (exact 4) · gate 4 ± 0.04
<1 %
Reference
W. F. Noh
Hardware
AMD EPYC Genoa server CPU, one thread
Solver version
Kaze 0.1.0+75102836
Grid
1D on [0, 1], reflecting wall at 0, gamma 5/3, inflow speed 1, t =…

Results

Figures from the run.

L1 error vs resolution

L1 error vs resolution

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
Density L1 error, 100 cells0.0168not gatedreported onlyreported
Density L1 error, 200 cells0.00926not gatedreported onlyreported
Density L1 error, 400 cells0.00549not gatedreported onlyreported
Density L1 error, 800 cells0.00359not gatedreported onlyreported
Observed order, 100 to 200 cells0.863≥ 0.670 %✓ pass
Observed order, 200 to 400 cells0.755≥ 0.680 %✓ pass
Observed order, 400 to 800 cells0.612≥ 0.698 %✓ pass
Mean density behind the shock, 800 cells (exact 4)key44 ± 0.04<1 %✓ pass
Shock position, 100 cells (exact 0.2)0.20.2 ± 0.02<1 %✓ pass
Shock position, 200 cells (exact 0.2)0.20.2 ± 0.01<1 %✓ pass
Shock position, 400 cells (exact 0.2)0.20.2 ± 0.005<1 %✓ pass
Shock position, 800 cells (exact 0.2)0.20.2 ± 0.0025<1 %✓ pass
Density in the wall cell, 100 cells (reported)4.31not gatedreported onlyreported
Density in the wall cell, 200 cells (reported)4.3not gatedreported onlyreported
Density in the wall cell, 400 cells (reported)4.3not gatedreported onlyreported
Density in the wall cell, 800 cells (reported)4.3not gatedreported onlyreported

Setup and reproducibility

Grid and numerics
1D on [0, 1], reflecting wall at 0, gamma 5/3, inflow speed 1, t = 0.6, 100 to 800 cells; PLM (van Leer), HLLC, VL2, first-order flux correction, CFL 0.8
Solver
Kaze 0.1.0+75102836
Hardware
AMD EPYC Genoa server CPU, one thread
Precision
f64
Code revision
75102836f7ae
Physics
Compressible flow · noh problem, strong shock, wall heating
Run date

References

  • Analytic solution

    W. F. Noh, Errors for calculations of strong shocks using an artificial viscosity and an artificial heat flux, J. Comput. Phys. 72 (1987) 78-120

    doi:10.1016/0021-9991(87)90074-x