KazeCompressible flowCPU · f64
Toro shock tubes 1-5: density against the exact Riemann solution
Kaze passes all five Toro (2009) shock-tube tests: density L1 errors at 400 cells from 1.6e-3 (test 1) to 0.12 (test 4, strong shocks), each below its regression bound, observed orders 0.74 to 1.04 (gate 0.6), and below first-order Godunov error in every test; CPU, f64, 2026-11-15.

- Reference
- E. F. Toro
- Hardware
- AMD EPYC Genoa server CPU, 4 vCPU
- Solver version
- Kaze 0.1.0+5cd3e93b
- Grid
- 1D on [0, 1], Toro Table 10.1 initial states, 100, 200 and 400 cells
Results
Every chart is drawn from the run's own numbers: hover for values, drag to zoom, toggle series in the legend, or download the data as CSV. Field views switch between 2D and a 3D surface.
Density along the tube, test 3
Kaze | Toro test 3 (left blast wave), density at t = 0.012, 400 cells

Test 1 density vs the exact solution
Kaze | Toro test 1 (modified Sod), density: L1 1.57e-03 vs first order 7.62e-03
Hover to read values · drag to zoom · double-click to reset · click a legend entry to hide it.
Test 2 density vs the exact solution
Kaze | Toro test 2 (123 problem, near vacuum), density: L1 2.90e-03 vs first order 2.01e-02
Hover to read values · drag to zoom · double-click to reset · click a legend entry to hide it.
Test 3 density vs the exact solution
Kaze | Toro test 3 (left half of the blast wave), density: L1 3.91e-02 vs first order 1.36e-01
Hover to read values · drag to zoom · double-click to reset · click a legend entry to hide it.
Test 4 density vs the exact solution
Kaze | Toro test 4 (collision of two strong shocks), density: L1 1.21e-01 vs first order 4.56e-01
Hover to read values · drag to zoom · double-click to reset · click a legend entry to hide it.
Test 5 density vs the exact solution
Kaze | Toro test 5 (test 3 with a stationary contact), density: L1 1.07e-02 vs first order 1.52e-02
Hover to read values · drag to zoom · double-click to reset · click a legend entry to hide it.
Observed order per test
Kaze | Toro tests 1-5, observed L1 order 100 -> 400 (bound 0.6)
Hover to read values · drag to zoom · double-click to reset · click a legend entry to hide it.
Error relative to first-order Godunov
Kaze | Toro tests 1-5, PLM error / first-order error (must stay below 1)
- bound 1
Hover to read values · drag to zoom · double-click to reset · click a legend entry to hide it.
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.
| Metric | Value | Gate | Allowance used | Result |
|---|---|---|---|---|
| Test 1: density L1 error, 400 cells | 0.00157 | |x| ≤ 0.00173 | 91 % | ✓ pass |
| Test 1: error relative to first-order Godunov (largest) | 0.277 | |x| ≤ 1 | 28 % | ✓ pass |
| Test 1: observed order, 100 to 400 cells | 0.815 | ≥ 0.6 | 74 % | ✓ pass |
| Test 2: density L1 error, 400 cells | 0.0029 | |x| ≤ 0.00319 | 91 % | ✓ pass |
| Test 2: error relative to first-order Godunov (largest) | 0.298 | |x| ≤ 1 | 30 % | ✓ pass |
| Test 2: observed order, 100 to 400 cells | 1.04 | ≥ 0.6 | 57 % | ✓ pass |
| Test 3: density L1 error, 400 cells | 0.0391 | |x| ≤ 0.043 | 91 % | ✓ pass |
| Test 3: error relative to first-order Godunov (largest) | 0.459 | |x| ≤ 1 | 46 % | ✓ pass |
| Test 3: observed order, 100 to 400 cells | 0.742 | ≥ 0.6 | 81 % | ✓ pass |
| Test 4: density L1 error, 400 cellskey | 0.121 | |x| ≤ 0.133 | 91 % | ✓ pass |
| Test 4: error relative to first-order Godunov (largest) | 0.33 | |x| ≤ 1 | 33 % | ✓ pass |
| Test 4: observed order, 100 to 400 cells | 0.755 | ≥ 0.6 | 79 % | ✓ pass |
| Test 5: density L1 error, 400 cells | 0.0107 | |x| ≤ 0.0118 | 91 % | ✓ pass |
| Test 5: error relative to first-order Godunov (largest) | 0.773 | |x| ≤ 1 | 77 % | ✓ pass |
| Test 5: observed order, 100 to 400 cells | 0.901 | ≥ 0.6 | 67 % | ✓ pass |
Setup and reproducibility
- Grid and numerics
- 1D on [0, 1], Toro Table 10.1 initial states, 100, 200 and 400 cells; PLM, HLLC, VL2, first-order flux correction, CFL 0.8
- Solver
- Kaze 0.1.0+5cd3e93b
- Hardware
- AMD EPYC Genoa server CPU, 4 vCPU
- Precision
- f64
- Code revision
- 5cd3e93b1148
- Physics
- Compressible flow · riemann problem, shock tube, euler equations, near vacuum
- Run date
References
- Analytic solution
E. F. Toro, Riemann Solvers and Numerical Methods for Fluid Dynamics, 3rd ed., Springer, 2009 (exact Riemann solver, ch. 4)
doi:10.1007/b79761In the Physics Atlas


