KazeCompressible flowNVIDIA GPU · f64 and f32 storage
2D hydrodynamics on the GPU: convergence, conservation and kernel identity
On an NVIDIA RTX 3090, Kaze's 2D hydrodynamics converges at second order on the isentropic vortex in f64 and f32 storage (observed orders 2.23 and 2.34, gate 1.8), conserves mass and energy to 1.4e-15 (f64) and 5.2e-8 (f32), and its fused and unfused kernels agree bit for bit; 2026-11-15.

- Reference
- C.-W. Shu
- Hardware
- NVIDIA GeForce RTX 3090 24 GB
- Solver version
- Kaze 0.1.0+6b5a6a06
- Grid
- 2D: isentropic vortex 32^2, 64^2 and 128^2
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.
Device density, vortex 64^2
vortex 64^2: density, Kaze (GPU, f64)

Convergence against the exact solution
Isentropic vortex, GPU convergence
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 |
|---|---|---|---|---|
| Relative mass drift, f64 | 1.39e-15 | |x| ≤ 1e-12 | <1 % | ✓ pass |
| Relative energy drift, f64 | 1.17e-15 | |x| ≤ 1e-12 | <1 % | ✓ pass |
| Relative mass drift, f32 | 7.1e-9 | |x| ≤ 1e-6 | <1 % | ✓ pass |
| Relative energy drift, f32 | 5.22e-8 | |x| ≤ 1e-6 | 5 % | ✓ pass |
| Fused vs unfused kernel, Riemann case, f64 (differing cells) | 0 | |x| ≤ 0 | – | ✓ pass |
| Fused vs unfused kernel, Riemann case, f32 (differing cells) | 0 | |x| ≤ 0 | – | ✓ pass |
| Fused vs unfused kernel, radial expansion, f64 (differing cells) | 0 | |x| ≤ 0 | – | ✓ pass |
| Fused vs unfused kernel, radial expansion, f32 (differing cells) | 0 | |x| ≤ 0 | – | ✓ pass |
| Vortex observed order 32 to 64, f64 | 2.23 | ≥ 1.8 | 81 % | ✓ pass |
| Vortex observed order 64 to 128, f64 | 2.34 | ≥ 1.8 | 77 % | ✓ pass |
| Vortex density L1 error 128^2, f64 | 1.32e-4 | not gated | reported only | reported |
| Vortex observed order 32 to 64, f32 | 2.23 | ≥ 1.8 | 81 % | ✓ pass |
| Vortex observed order 64 to 128, f32key | 2.34 | ≥ 1.8 | 77 % | ✓ pass |
| Vortex density L1 error 128^2, f32 | 1.32e-4 | not gated | reported only | reported |
Setup and reproducibility
- Grid and numerics
- 2D: isentropic vortex 32^2, 64^2 and 128^2; periodic conservation case 64^2 and 4 x 200; fused-kernel cases 100 x 70 and radial expansion; PLM, HLLC, VL2
- Solver
- Kaze 0.1.0+6b5a6a06
- Hardware
- NVIDIA GeForce RTX 3090 24 GB
driver 575.51.03, CUDA 12.8 - Precision
- f64 and f32 storage
- Code revision
- 6b5a6a064b1d
- Physics
- Compressible flow · gpu, isentropic vortex, conservation, mixed precision
- Run date
References
- Analytic solution
C.-W. Shu, Essentially non-oscillatory and weighted essentially non-oscillatory schemes for hyperbolic conservation laws, Lecture Notes in Mathematics 1697, Springer, 1998
doi:10.1007/BFb0096355 - Analytic solution
H. C. Yee, N. D. Sandham, M. J. Djomehri, Low-dissipative high-order shock-capturing methods using characteristic-based filters, J. Comput. Phys. 150 (1999) 199-238
doi:10.1006/jcph.1998.6177


