Skip to content
DimensionLab

SunaSPHNVIDIA GPU · f32 (floating-body state in f64)

SPHERIC Test 12: focused wave packet and a free floating box

On an NVIDIA RTX 3090, Suna passes nine of eleven comparisons with the SPHERIC 12 experiment (gauge NRMSE 0.044 and 0.085, heave 0.11) but under-predicts the focused crest at 2.66 m by 31 % (gate 15 %) and the sway drift (NRMSE 0.237, gate 0.15): a failed case at 2 mm spacing, 2026-11-25.

SPHERIC 12 at the focus, dp 2 mm, t = 7.2 s: speed
Failed
13 of 16 gates met
0.237Box sway, NRMSE against the experiment · gate 0 ± 0.15
158 %

Failed: gauge 1 and 2 errors, crest times, heave and roll pass. The crest at 2.66 m is 31 % low (gate 15 %) and sway NRMSE is 0.237 (gate 0.15). DualSPHysics v5.4 misses the same crest by 32 % and agrees on gauges, heave and roll (NRMSE 0.02 or less) but not sway (Suna 0.117, gate 0.1).

Reference
I. Hadzic
Hardware
NVIDIA GeForce RTX 3090
Solver version
Suna 0.1.0+514f757c
Grid
2D flume 8 m long with a beach, water depth 0.4 m, spacing 2 mm…

Results

Figures from the run.

Elevation at x = 2.66 m against the experiment and DualSPHysics

Elevation at x = 2.66 m against the experiment and DualSPHysics

Box heave against the experiment and DualSPHysics

Box heave against the experiment and DualSPHysics

Box sway against the experiment and DualSPHysics

Box sway against the experiment and DualSPHysics

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
Gauge 1, NRMSE against the experiment0.04380 ± 0.1529 %✓ pass
Gauge 1, crest height, relative error-0.09030 ± 0.1560 %✓ pass
Gauge 1, crest time error, s-0.0222 s0 ± 0.09 s25 %✓ pass
Gauge 2, NRMSE against the experiment0.08480 ± 0.1557 %✓ pass
Gauge 2, crest height, relative error-0.3140 ± 0.15210 %✕ fail
Gauge 2, crest time error, s0.0789 s0 ± 0.09 s88 %✓ pass
Box heave, NRMSE against the experiment0.1130 ± 0.1575 %✓ pass
Box heave, crest height, relative error0.007550 ± 0.155 %✓ pass
Box heave, crest time error, s0.0381 s0 ± 0.09 s42 %✓ pass
Box sway, NRMSE against the experimentkey0.2370 ± 0.15158 %✕ fail
Box roll, NRMSE against the experiment0.1060 ± 0.253 %✓ pass
Gauge 1, NRMSE against DualSPHysics0.0040 ± 0.14 %✓ pass
Gauge 2, NRMSE against DualSPHysics0.00540 ± 0.15 %✓ pass
Box heave, NRMSE against DualSPHysics0.01570 ± 0.116 %✓ pass
Box sway, NRMSE against DualSPHysics0.1170 ± 0.1117 %✕ fail
Box roll, NRMSE against DualSPHysics0.02020 ± 0.120 %✓ pass

Setup and reproducibility

Grid and numerics
2D flume 8 m long with a beach, water depth 0.4 m, spacing 2 mm, floating box 50 x 25 particles, 3 degrees of freedom, 0-9 s
Solver
Suna 0.1.0+514f757c
Hardware
NVIDIA GeForce RTX 3090
driver 610.88, CUDA 12.9
Precision
f32 (floating-body state in f64)
Code revision
514f757cc2a5
Physics
SPH · floating body, focused waves, spheric, gpu
Run date

References

  • Experiment

    I. Hadzic, J. Hennig, M. Peric et al., Computation of flow-induced motion of floating bodies, Appl. Math. Model. 29 (2005) 1196-1210 (SPHERIC Test 12)

    doi:10.1016/j.apm.2005.02.014
  • Experiment

    A. Bouscasse, A. Colagrossi, S. Marrone, M. Antuono, Nonlinear water wave interaction with floating bodies in SPH, J. Fluids Struct. 42 (2013) 112-129

    doi:10.1016/j.jfluidstructs.2013.05.010
  • Third-party code · reference, not our solver

    J. M. Dominguez et al., DualSPHysics: from fluid dynamics to multiphysics problems, Comput. Part. Mech. 9 (2022) 867-895 (DualSPHysics v5.4 run of the same case)

    doi:10.1007/s40571-021-00404-2