Skip to content
DimensionLab

SunaSPHNVIDIA GPU · f32

SPHERIC Test 6 without particle shifting: square in a viscous box, drag at Re 50-150

On NVIDIA GeForce RTX 3070, RTX A4000 and RTX 3080 GPUs, Suna without particle shifting misses the finite-difference drag of SPHERIC Test 6 (square in a viscous box, Re 50-150; Colicchio et al. 2006) at 50 particles per side: total drag error 6.7-12.9 % (gate 5 %). DualSPHysics with the same scheme agrees with Suna within 2.1-5.7 % (gates 5 and 10 %); f32, a failed result, 2026-11-21.

SPHERIC 6, Re 100, L/dp 25, t = 5, no shifting: particles by speed
Failed
14 of 24 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 L/dp 50 for every Re (6.7-12.9 %, gate 5 %) and at L/dp 25 for Re 50 (15.2 %, gate 10 %); pressure drag fails at L/dp 50, viscous drag at Re 100 and 150. DualSPHysics with the same scheme stays within 2.1-5.7 % of Suna (all pass), so the gap belongs to this scheme at these resolutions.

Reference
SPHERIC Test 6
Hardware
NVIDIA GeForce RTX 3070 / RTX A4000 / RTX 3080
Solver version
Suna 0.1.0+e8c52e67
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

Total drag on CUDA (f32), DualSPHysics and FD, Re 50

Total drag on CUDA (f32), DualSPHysics and FD, Re 50

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

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

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.124|x| ≤ 0.06207 %✕ fail
Viscous drag, mean relative error, Re 50, L/dp 500.172|x| ≤ 0.2569 %✓ pass
Total drag, mean relative difference from DualSPHysics, Re 50, L/dp 500.0206|x| ≤ 0.0541 %✓ pass
Total drag, mean relative error, Re 50, L/dp 250.152|x| ≤ 0.1152 %✕ fail
Pressure drag, mean relative error, Re 50, L/dp 250.113|x| ≤ 0.1294 %✓ pass
Viscous drag, mean relative error, Re 50, L/dp 250.386|x| ≤ 0.496 %✓ pass
Total drag, mean relative difference from DualSPHysics, Re 50, L/dp 250.0527|x| ≤ 0.153 %✓ pass
Total drag, mean relative error, Re 100, L/dp 500.0675|x| ≤ 0.05135 %✕ fail
Pressure drag, mean relative error, Re 100, L/dp 500.0799|x| ≤ 0.06133 %✕ fail
Viscous drag, mean relative error, Re 100, L/dp 500.318|x| ≤ 0.25127 %✕ fail
Total drag, mean relative difference from DualSPHysics, Re 100, L/dp 500.0322|x| ≤ 0.0564 %✓ pass
Total drag, mean relative error, Re 100, L/dp 250.0938|x| ≤ 0.194 %✓ pass
Pressure drag, mean relative error, Re 100, L/dp 250.0672|x| ≤ 0.1256 %✓ pass
Viscous drag, mean relative error, Re 100, L/dp 250.392|x| ≤ 0.498 %✓ pass
Total drag, mean relative difference from DualSPHysics, Re 100, L/dp 250.0566|x| ≤ 0.157 %✓ pass
Total drag, mean relative error, Re 150, L/dp 500.0811|x| ≤ 0.05162 %✕ fail
Pressure drag, mean relative error, Re 150, L/dp 500.0853|x| ≤ 0.06142 %✕ fail
Viscous drag, mean relative error, Re 150, L/dp 500.629|x| ≤ 0.25252 %✕ fail
Total drag, mean relative difference from DualSPHysics, Re 150, L/dp 500.0318|x| ≤ 0.0564 %✓ pass
Total drag, mean relative error, Re 150, L/dp 250.0694|x| ≤ 0.169 %✓ pass
Pressure drag, mean relative error, Re 150, L/dp 250.0612|x| ≤ 0.1251 %✓ pass
Viscous drag, mean relative error, Re 150, L/dp 250.496|x| ≤ 0.4124 %✕ fail
Total drag, mean relative difference from DualSPHysics, Re 150, L/dp 250.0502|x| ≤ 0.150 %✓ pass

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, no particle shifting
Solver
Suna 0.1.0+e8c52e67
Hardware
NVIDIA GeForce RTX 3070 / RTX A4000 / RTX 3080
drivers 580.65.06; 580.119.02; 580.95.05, CUDA 12.8
Precision
f32
Code revision
e8c52e671d23
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
  • Third-party code · reference, not our solver

    DualSPHysics v5.4.0, open-source GPU SPH code, run with the same scheme on the same particle lattice for a code-to-code comparison

    dual.sphysics.org