Skip to content
DimensionLab

SunaSPHCPU · f64

Still water in an open 2D tank: dynamic walls with density diffusion

Suna holds still water at the hydrostatic pressure with dynamic boundary walls and corrected density diffusion: interior RMS error 1.1 % at 15 and 0.94 % at 30 sqrt(H/g) (gate 3 %), largest 1.8 % (gate 6 %), drift 0.18 % (gate 0.5 %); CPU, f64, 2026-11-15.

Pressure error per particle
Pass
6 of 6 gates met
0.00936Interior pressure, RMS error at 30 sqrt(H/g) · gate |x| ≤ 0.03
31 %
Reference
J. M. Dominguez et al.
Hardware
AMD EPYC Genoa server CPU, 4 vCPU
Solver version
Suna 0.1.0+89d44ac0
Grid
2D tank 40 x 20 particle spacings, dynamic boundary, hydrostatic…

Results

Figures from the run.

Pressure vs depth vs hydrostatics

Pressure vs depth vs hydrostatics

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
Interior pressure, RMS error at 15 sqrt(H/g)0.0112|x| ≤ 0.0337 %✓ pass
Interior pressure, RMS error at 30 sqrt(H/g)key0.00936|x| ≤ 0.0331 %✓ pass
Interior pressure, largest error at 30 sqrt(H/g)0.0181|x| ≤ 0.0630 %✓ pass
RMS error drift from 15 to 30 sqrt(H/g)0.0018|x| ≤ 0.00536 %✓ pass
Free-surface height at 30 sqrt(H/g), in particle spacings20 dp20 ± 0.5 dp5 %✓ pass
Largest fluid speed at 30 sqrt(H/g), over sqrt(gH)5.34e-5|x| ≤ 0.01<1 %✓ pass

Setup and reproducibility

Grid and numerics
2D tank 40 x 20 particle spacings, dynamic boundary, hydrostatic start, delta-SPH density diffusion, smoothing length sqrt(2) times the spacing
Solver
Suna 0.1.0+89d44ac0
Hardware
AMD EPYC Genoa server CPU, 4 vCPU
Precision
f64
Code revision
89d44ac0044d
Physics
SPH · hydrostatic pressure, still water, density diffusion
Run date

References

  • Analytic solution

    J. M. Dominguez et al., DualSPHysics: from fluid dynamics to multiphysics problems, Comput. Part. Mech. 9 (2022) 867-895 (dynamic boundary conditions; hydrostatic pressure is exact)

    doi:10.1007/s40571-021-00404-2