KazeCompressible flowNVIDIA GPU · f64 and f32 storage
3D compressible hydro on the GPU: sound-wave convergence, conservation and kernel identity
Kaze's 3D hydro solver on an NVIDIA GeForce RTX 3090 converges at order 1.86 to 2.06 on an oblique sound wave (gate >= 1.8), conserves mass and energy to 8e-15 in f64 and 5e-8 in f32 (bounds 1e-12, 1e-6), and its fused and unfused kernels agree bit for bit; f64 and f32 storage, 2026-11-15.

- Reference
- E. F. Toro
- Hardware
- NVIDIA GeForce RTX 3090
- Solver version
- Kaze 0.1.0+6b5a6a06
- Grid
- 3D, 8 cases: Sod 128 x 4 x 4, diagonal Sod 32^3, Sedov octant 32^3…
Results
Figures from the run.
Convergence against 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.
| Metric | Value | Gate | Allowance used | Result |
|---|---|---|---|---|
| Relative mass drift, periodic 3D case, f64 | 8e-15 | |x| ≤ 1e-12 | <1 % | ✓ pass |
| Relative energy drift, periodic 3D case, f64 | 3.04e-15 | |x| ≤ 1e-12 | <1 % | ✓ pass |
| Relative mass drift, periodic 3D case, f32 | 7.1e-9 | |x| ≤ 1e-6 | <1 % | ✓ pass |
| Relative energy drift, periodic 3D case, f32 | 5.22e-8 | |x| ≤ 1e-6 | 5 % | ✓ pass |
| Difference between fused and unfused GPU kernels, 3D Riemann problem, f64 | 0 | |x| ≤ 0 | – | ✓ pass |
| Difference between fused and unfused GPU kernels (4 planes per block), 3D Riemann problem, f64 | 0 | |x| ≤ 0 | – | ✓ pass |
| Difference between fused and unfused GPU kernels, 3D Riemann problem, f32 | 0 | |x| ≤ 0 | – | ✓ pass |
| Difference between fused and unfused GPU kernels (4 planes per block), 3D Riemann problem, f32 | 0 | |x| ≤ 0 | – | ✓ pass |
| Difference between fused and unfused GPU kernels, 3D radial expansion, f64 | 0 | |x| ≤ 0 | – | ✓ pass |
| Difference between fused and unfused GPU kernels (4 planes per block), 3D radial expansion, f64 | 0 | |x| ≤ 0 | – | ✓ pass |
| Difference between fused and unfused GPU kernels, 3D radial expansion, f32 | 0 | |x| ≤ 0 | – | ✓ pass |
| Difference between fused and unfused GPU kernels (4 planes per block), 3D radial expansion, f32 | 0 | |x| ≤ 0 | – | ✓ pass |
| Observed order, oblique sound wave, f64, 32 to 64 cellskey | 2.06 | ≥ 1.8 | 87 % | ✓ pass |
| Observed order, oblique sound wave, f32 storage, amplitude 1e-3, 32 to 64 cells | 1.86 | ≥ 1.8 | 97 % | ✓ pass |
| Observed order, oblique sound wave, f64, amplitude 1e-3, 32 to 64 cells | 1.86 | ≥ 1.8 | 97 % | ✓ pass |
Setup and reproducibility
- Grid and numerics
- 3D, 8 cases: Sod 128 x 4 x 4, diagonal Sod 32^3, Sedov octant 32^3, first-order flux correction 32^3 and 4 x 4 x 200, sound wave 16^3 to 64^3; PLM, HLLC, VL2
- Solver
- Kaze 0.1.0+6b5a6a06
- Hardware
- NVIDIA GeForce RTX 3090
driver 575.51.03, CUDA 12.8 - Precision
- f64 and f32 storage
- Code revision
- 6b5a6a064b1d
- Physics
- Compressible flow · gpu, 3d euler, sound wave, conservation
- 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 - Published benchmark
J. M. Stone, T. A. Gardiner, P. Teuben, J. F. Hawley, J. B. Simon, Athena: a new code for astrophysical MHD, Astrophys. J. Suppl. Ser. 178 (2008) 137-177
doi:10.1086/588755


