Skip to content
DimensionLab

KazeCompressible flowCPU · f64

Lax shock tube: density against the exact Riemann solution

Kaze reproduces the Lax (1954) shock tube with a density L1 error of 3.1e-3 at 800 cells, below the first-order bound (1.5e-2) at every resolution from 100 to 800 cells, and observed orders 0.64 to 0.90 (gate 0.6); CPU, f64, 2026-11-20.

Density along the tube
Pass
7 of 7 gates met
0.00306Density L1 error, 800 cells · gate |x| ≤ 0.0151
20 %
Reference
P. D. Lax
Hardware
AMD EPYC Genoa server CPU, one thread
Solver version
Kaze 0.1.0+75102836
Grid
1D on [0, 1], diaphragm at 0.5, gamma 1.4, t = 0.14, 100 to 800 cells

Results

Figures from the run.

Density vs the exact solution

Density vs the exact solution

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.0141|x| ≤ 0.049129 %✓ pass
Density L1 error, 200 cells0.00906|x| ≤ 0.034426 %✓ pass
Density L1 error, 400 cells0.00485|x| ≤ 0.022422 %✓ pass
Density L1 error, 800 cellskey0.00306|x| ≤ 0.015120 %✓ pass
Observed order, 100 to 200 cells0.636≥ 0.694 %✓ pass
Observed order, 200 to 400 cells0.901≥ 0.667 %✓ pass
Observed order, 400 to 800 cells0.663≥ 0.690 %✓ pass

Setup and reproducibility

Grid and numerics
1D on [0, 1], diaphragm at 0.5, gamma 1.4, t = 0.14, 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 · riemann problem, shock tube, euler equations
Run date

References