Skip to content
DimensionLab

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.

x 0 – 10y 0 – 10
density0.5011
Pass
12 of 12 gates met
2.34Vortex observed order 64 to 128, f32 · gate ≥ 1.8
77 %
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)

x 0 – 10y 0 – 10
density0.5011
Static image (PNG)

Convergence against the exact solution

Isentropic vortex, GPU convergence

1×10⁻⁴0.00150100L1 error vs exact solutioncells per side

Hover to read values · drag to zoom · double-click to reset · click a legend entry to hide it.

Static image (PNG)

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
Relative mass drift, f641.39e-15|x| ≤ 1e-12<1 %✓ pass
Relative energy drift, f641.17e-15|x| ≤ 1e-12<1 %✓ pass
Relative mass drift, f327.1e-9|x| ≤ 1e-6<1 %✓ pass
Relative energy drift, f325.22e-8|x| ≤ 1e-65 %✓ 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, f642.23≥ 1.881 %✓ pass
Vortex observed order 64 to 128, f642.34≥ 1.877 %✓ pass
Vortex density L1 error 128^2, f641.32e-4not gatedreported onlyreported
Vortex observed order 32 to 64, f322.23≥ 1.881 %✓ pass
Vortex observed order 64 to 128, f32key2.34≥ 1.877 %✓ pass
Vortex density L1 error 128^2, f321.32e-4not gatedreported onlyreported

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