Skip to content
DimensionLab

KazeCompressible flowCPU · f64

Converging-diverging nozzle (NPARC CDV): Mach number and pressure against quasi-1D theory at t = 200

Kaze fails the NPARC converging-diverging nozzle at t = 200: Mach errors stay below 1 % (gate 3 %) at back pressures 0.89 and 0.75, but the flow is not yet steady at 0.89 and 0.75 (density change 1e-4 and 1.4e-5, gate 1e-6) and at 0.16 the Mach error is 68 % on 200 cells; CPU, f64, 2026-11-22.

Mach number along the nozzle as a colour band
Failed
12 of 20 gates met
0.68Back pressure 0.16: Mach number relative error, 200 cells · gate |x| ≤ 0.03
2267 %

Passed: Mach and pressure errors at back pressures 0.89 and 0.75 (at most 0.91 %, gate 3 %). Failed: steady state (density change 1e-6) at 0.89 and 0.75 (1.0e-4, 1.4e-5 at 200 cells); at 0.16 the Mach error is 68 % on 200 cells because the start-up shock had not left the duct.

Reference
NPARC Alliance CFD Verification and Validation Archive: Converging-Diverging Verification
Hardware
AMD EPYC Genoa server CPU, one thread
Solver version
Kaze 0.1.0+e97c872b
Grid
Quasi-1D duct on [0, 10], gamma 1.4, p0 = T0 = 1, 50 to 200 cells…

Results

Figures from the run.

Mach number with the normal shock, Kaze and theory

Mach number with the normal shock, Kaze and theory

Subsonic Mach number, Kaze and theory

Subsonic Mach number, Kaze and theory

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
Back pressure 0.89: Mach number relative error, 50 cells0.0075not gatedreported onlyreported
Back pressure 0.89: pressure relative error, 50 cells0.00869not gatedreported onlyreported
Back pressure 0.89: change of density over the last time unit, 50 cells7.43e-5not gatedreported onlyreported
Back pressure 0.89: Mach number relative error, 100 cells0.0087|x| ≤ 0.0329 %✓ pass
Back pressure 0.89: pressure relative error, 100 cells0.00742|x| ≤ 0.0325 %✓ pass
Back pressure 0.89: change of density over the last time unit, 100 cells9.22e-5|x| ≤ 1e-69220 %✕ fail
Back pressure 0.89: Mach number relative error, 200 cells0.00906|x| ≤ 0.0330 %✓ pass
Back pressure 0.89: pressure relative error, 200 cells0.00721|x| ≤ 0.0324 %✓ pass
Back pressure 0.89: change of density over the last time unit, 200 cells1.01e-4|x| ≤ 1e-610100 %✕ fail
Back pressure 0.75: Mach number relative error, 50 cells0.00518not gatedreported onlyreported
Back pressure 0.75: pressure relative error, 50 cells0.00675not gatedreported onlyreported
Back pressure 0.75: shock position error in cells, 50 cells0.087not gatedreported onlyreported
Back pressure 0.75: change of density over the last time unit, 50 cells8.51e-5not gatedreported onlyreported
Back pressure 0.75: Mach number relative error, 100 cells0.00277|x| ≤ 0.039 %✓ pass
Back pressure 0.75: pressure relative error, 100 cells0.00344|x| ≤ 0.0311 %✓ pass
Back pressure 0.75: shock position error in cells, 100 cells0.1|x| ≤ 25 %✓ pass
Back pressure 0.75: change of density over the last time unit, 100 cells5.99e-5|x| ≤ 1e-65990 %✕ fail
Back pressure 0.75: Mach number relative error, 200 cells0.00144|x| ≤ 0.035 %✓ pass
Back pressure 0.75: pressure relative error, 200 cells0.00173|x| ≤ 0.036 %✓ pass
Back pressure 0.75: shock position error in cells, 200 cells0.073|x| ≤ 24 %✓ pass
Back pressure 0.75: change of density over the last time unit, 200 cells1.38e-5|x| ≤ 1e-61380 %✕ fail
Back pressure 0.16: Mach number relative error, 50 cells0.0052not gatedreported onlyreported
Back pressure 0.16: pressure relative error, 50 cells0.00675not gatedreported onlyreported
Back pressure 0.16: change of density over the last time unit, 50 cells1.4e-6not gatedreported onlyreported
Back pressure 0.16: Mach number relative error, 100 cells0.00278|x| ≤ 0.039 %✓ pass
Back pressure 0.16: pressure relative error, 100 cells0.00344|x| ≤ 0.0311 %✓ pass
Back pressure 0.16: change of density over the last time unit, 100 cells1.39e-6|x| ≤ 1e-6139 %✕ fail
Back pressure 0.16: Mach number relative error, 200 cellskey0.68|x| ≤ 0.032267 %✕ fail
Back pressure 0.16: pressure relative error, 200 cells2.95|x| ≤ 0.039836 %✕ fail
Back pressure 0.16: change of density over the last time unit, 200 cells0.0571|x| ≤ 1e-65710000 %✕ fail

Setup and reproducibility

Grid and numerics
Quasi-1D duct on [0, 10], gamma 1.4, p0 = T0 = 1, 50 to 200 cells, run to t = 200; PLM (van Leer), HLLC, VL2, first-order flux correction, CFL 0.4
Solver
Kaze 0.1.0+e97c872b
Hardware
AMD EPYC Genoa server CPU, one thread
Precision
f64
Code revision
e97c872b60d8
Physics
Compressible flow · nozzle flow, normal shock, steady state
Run date

References