Skip to content
DimensionLab

SunaSPHNVIDIA GPU · f32

SPHERIC Test 6: square moved through a viscous fluid box, drag at Re 50-150

On NVIDIA GeForce RTX 3070 and RTX 3090 GPUs, Suna's 2D square moved through a box of viscous fluid (SPHERIC Test 6, Re 50, 100 and 150) misses the finite-difference drag of Colicchio et al. (2006): total drag error 8.4-12.9 % at 50 particles per side (gate 5 %) and 10.9-14.4 % at 25 (gate 10 %); f32, a failed result, 2026-11-21.

SPHERIC 6, Re 100, L/dp 50, t = 5: particles by speed
Failed
8 of 18 gates met
0.129Total drag, mean relative error, Re 50, L/dp 50 · gate |x| ≤ 0.05
257 %

Failed: total drag misses the finite-difference reference at every Reynolds number and both resolutions. Pressure drag is 9.9-14.8 % off at L/dp 50 (gate 6 %) and does not converge; it passes at L/dp 25 (gate 12 %). Viscous drag passes except at Re 150, L/dp 25 (62 %, gate 40 %).

Reference
SPHERIC Test 6
Hardware
NVIDIA GeForce RTX 3070 / RTX 3090
Solver version
Suna 0.1.0+c6b8e124
Grid
2D box 10 L x 5 L, square of side L accelerated smoothly to Umax…

Results

Figures from the run.

Pressure and viscous drag on CUDA (f32), Re 50

Pressure and viscous drag on CUDA (f32), Re 50

Pressure and viscous drag on CUDA (f32), Re 100

Pressure and viscous drag on CUDA (f32), Re 100

Pressure and viscous drag on CUDA (f32), Re 150

Pressure and viscous drag on CUDA (f32), Re 150

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
Total drag, mean relative error, Re 50, L/dp 50key0.129|x| ≤ 0.05257 %✕ fail
Pressure drag, mean relative error, Re 50, L/dp 500.148|x| ≤ 0.06247 %✕ fail
Viscous drag, mean relative error, Re 50, L/dp 500.0403|x| ≤ 0.2516 %✓ pass
Total drag, mean relative error, Re 50, L/dp 250.144|x| ≤ 0.1144 %✕ fail
Pressure drag, mean relative error, Re 50, L/dp 250.119|x| ≤ 0.1299 %✓ pass
Viscous drag, mean relative error, Re 50, L/dp 250.256|x| ≤ 0.464 %✓ pass
Total drag, mean relative error, Re 100, L/dp 500.104|x| ≤ 0.05208 %✕ fail
Pressure drag, mean relative error, Re 100, L/dp 500.123|x| ≤ 0.06205 %✕ fail
Viscous drag, mean relative error, Re 100, L/dp 500.0582|x| ≤ 0.2523 %✓ pass
Total drag, mean relative error, Re 100, L/dp 250.128|x| ≤ 0.1128 %✕ fail
Pressure drag, mean relative error, Re 100, L/dp 250.0992|x| ≤ 0.1283 %✓ pass
Viscous drag, mean relative error, Re 100, L/dp 250.375|x| ≤ 0.494 %✓ pass
Total drag, mean relative error, Re 150, L/dp 500.0839|x| ≤ 0.05168 %✕ fail
Pressure drag, mean relative error, Re 150, L/dp 500.0992|x| ≤ 0.06165 %✕ fail
Viscous drag, mean relative error, Re 150, L/dp 500.155|x| ≤ 0.2562 %✓ pass
Total drag, mean relative error, Re 150, L/dp 250.109|x| ≤ 0.1109 %✕ fail
Pressure drag, mean relative error, Re 150, L/dp 250.076|x| ≤ 0.1263 %✓ pass
Viscous drag, mean relative error, Re 150, L/dp 250.622|x| ≤ 0.4155 %✕ fail

Setup and reproducibility

Grid and numerics
2D box 10 L x 5 L, square of side L accelerated smoothly to Umax, 25 and 50 particles per side, modified dynamic boundary no-slip walls, laminar viscosity, particle shifting
Solver
Suna 0.1.0+c6b8e124
Hardware
NVIDIA GeForce RTX 3070 / RTX 3090
drivers 580.65.06; 575.51.03, CUDA 12.8
Precision
f32
Code revision
c6b8e12440ed
Physics
SPH · moving body, drag, viscous flow, spheric, gpu
Run date

References

  • Published benchmark

    SPHERIC Test 6, square moved through a viscous fluid box: finite-difference forces of G. Colicchio, M. Greco, O. M. Faltinsen, Fluid-body interaction on a Cartesian grid: dedicated studies for a CFD validation, Proc. 21st IWWWFB (2006)

    spheric-sph.org/tests/test-06