Skip to content
DimensionLab

SunaSPHNVIDIA GPU · f32

First-mode standing wave in a closed tank: sloshing period against linear theory

On an NVIDIA GeForce RTX 3080, the first-mode sloshing period of a 1 x 0.5 m closed tank in Suna is 4.2 % short of linear theory (Lamb) at h/dp 50 (gate 1 %) and 3.8 % short at h/dp 100 (gate 0.75 %); f32, a failed result, 2026-11-21.

standing wave, h/dp 25, t = T/4: particles by speed
Failed
0 of 2 gates met
-0.0418Sloshing period, relative error, h/dp 50 · gate |x| ≤ 0.01
418 %

Failed at both resolutions: the period is about 4 % short and converges slowly with resolution. DualSPHysics with the same scheme shows the same frequency shift in the forced-sway case; the cause within the weakly compressible SPH scheme is open.

Reference
H. Lamb
Hardware
NVIDIA GeForce RTX 3080
Solver version
Suna 0.1.0+c3c1a3be
Grid
2D closed tank 1 x 0.5 m, amplitude 1 cm, h/dp 50 and 100, modified…

Results

Figures from the run.

standing wave: fluid centroid vs linear theory

standing wave: fluid centroid vs linear theory

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
Sloshing period, relative error, h/dp 50key-0.0418|x| ≤ 0.01418 %✕ fail
Sloshing period, relative error, h/dp 100-0.0376|x| ≤ 0.0075502 %✕ fail

Setup and reproducibility

Grid and numerics
2D closed tank 1 x 0.5 m, amplitude 1 cm, h/dp 50 and 100, modified dynamic boundary, density diffusion 0.1; theory period 1.18182 s
Solver
Suna 0.1.0+c3c1a3be
Hardware
NVIDIA GeForce RTX 3080
driver 580.95.05, CUDA 12.8
Precision
f32
Code revision
c3c1a3bea1d4
Physics
SPH · standing wave, sloshing, free surface, sph, gpu
Run date

References

  • Analytic solution

    H. Lamb, Hydrodynamics, Cambridge University Press (first edition 1895), linear dispersion relation of standing gravity waves, omega^2 = g k tanh(k h)

    doi:10.5962/bhl.title.18729