Skip to content
DimensionLab

KazeCompressible flowCPU · f64

Converging-diverging nozzle (NPARC CDV): Mach number and pressure against quasi-1D theory, converged solutions

Kaze reproduces the NPARC converging-diverging nozzle at back pressures 0.89, 0.75 and 0.16: Mach number errors of 0.063 %, 0.14 % and 0.14 % at 200 cells (gate 3 %) and fully steady solutions (density change below 1e-6, gate 1e-6); CPU, f64, 2026-11-22.

Mach number along the nozzle as a colour band
Pass
20 of 20 gates met
6.3e-4Back pressure 0.89: Mach number relative error, 200 cells · gate |x| ≤ 0.03
2 %
Reference
NPARC Alliance CFD Verification and Validation Archive: Converging-Diverging Verification
Hardware
Intel Core i7-6800K workstation CPU, one thread
Solver version
Kaze 0.1.0+c79c57e0
Grid
Quasi-1D duct on [0, 10], gamma 1.4, p0 = T0 = 1, 50, 100 and 200…

Results

Figures from the run.

Mach number with the normal shock, Kaze and theory

Mach number with the normal shock, Kaze and theory

Supersonic exit (p_b 0.16), Kaze and theory

Supersonic exit (p_b 0.16), 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.0081not gatedreported onlyreported
Back pressure 0.89: pressure relative error, 50 cells0.0075not gatedreported onlyreported
Back pressure 0.89: change of density over the last time unit, 50 cells0not gatedreported onlyreported
Back pressure 0.89: Mach number relative error, 100 cells0.00235|x| ≤ 0.038 %✓ pass
Back pressure 0.89: pressure relative error, 100 cells0.00213|x| ≤ 0.037 %✓ pass
Back pressure 0.89: change of density over the last time unit, 100 cells0|x| ≤ 1e-6<1 %✓ pass
Back pressure 0.89: Mach number relative error, 200 cellskey6.3e-4|x| ≤ 0.032 %✓ pass
Back pressure 0.89: pressure relative error, 200 cells5.7e-4|x| ≤ 0.032 %✓ pass
Back pressure 0.89: change of density over the last time unit, 200 cells0|x| ≤ 1e-6<1 %✓ pass
Back pressure 0.89: Mach number relative error, 50 cells (with the shock-cell limiter option)0.0081not gatedreported onlyreported
Back pressure 0.89: Mach number relative error, 100 cells (with the shock-cell limiter option)0.00235not gatedreported onlyreported
Back pressure 0.89: Mach number relative error, 200 cells (with the shock-cell limiter option)6.3e-4not gatedreported onlyreported
Back pressure 0.75: Mach number relative error, 50 cells0.00518not gatedreported onlyreported
Back pressure 0.75: pressure relative error, 50 cells0.00674not 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 cells0not gatedreported onlyreported
Back pressure 0.75: Mach number relative error, 100 cells0.00278|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 cells0|x| ≤ 1e-6<1 %✓ pass
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 cells0|x| ≤ 1e-6<1 %✓ pass
Back pressure 0.75: Mach number relative error, 50 cells (with the shock-cell limiter option)0.00518not gatedreported onlyreported
Back pressure 0.75: Mach number relative error, 100 cells (with the shock-cell limiter option)0.00278not gatedreported onlyreported
Back pressure 0.75: Mach number relative error, 200 cells (with the shock-cell limiter option)0.00144not gatedreported onlyreported
Back pressure 0.16: Mach number relative error, 50 cells0.0052not gatedreported onlyreported
Back pressure 0.16: pressure relative error, 50 cells0.00674not gatedreported onlyreported
Back pressure 0.16: change of density over the last time unit, 50 cells0not 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 cells0|x| ≤ 1e-6<1 %✓ pass
Back pressure 0.16: Mach number relative error, 200 cells0.00144|x| ≤ 0.035 %✓ pass
Back pressure 0.16: pressure relative error, 200 cells0.00173|x| ≤ 0.036 %✓ pass
Back pressure 0.16: change of density over the last time unit, 200 cells0|x| ≤ 1e-6<1 %✓ pass
Back pressure 0.16: Mach number relative error, 50 cells (with the shock-cell limiter option)0.0052not gatedreported onlyreported
Back pressure 0.16: Mach number relative error, 100 cells (with the shock-cell limiter option)0.00278not gatedreported onlyreported
Back pressure 0.16: Mach number relative error, 200 cells (with the shock-cell limiter option)0.00144not gatedreported onlyreported

Setup and reproducibility

Grid and numerics
Quasi-1D duct on [0, 10], gamma 1.4, p0 = T0 = 1, 50, 100 and 200 cells, run to t = 2000; PLM, HLLC, VL2, first-order flux correction, CFL 0.4
Solver
Kaze 0.1.0+c79c57e0
Hardware
Intel Core i7-6800K workstation CPU, one thread
Precision
f64
Code revision
c79c57e055fb
Physics
Compressible flow · nozzle flow, normal shock, steady state
Run date

References