Skip to content
DimensionLab

SunaSPHCPU · f64

Lid-driven cavity at Re 100 on a CPU: SPH centreline velocities against Ghia et al.

Suna's weakly compressible SPH misses the Re 100 lid-driven cavity centreline velocities of Ghia et al. (1982): at L/dp 100 the largest u error is 0.40 U averaged over 50-60 lid times (gate 0.03 U), and 0.19 U at L/dp 50 over 15-20 lid times (gate 0.06 U); CPU, f64, a failed result, 2026-11-21.

cavity Re 100, L/dp 50, t = 20 L/U: particles by speed
Failed
0 of 12 gates met
0.397Largest u centreline error, L/dp 100, 50-60 lid times (units of U) · gate |x| ≤ 0.03
1322 %

Failed: every centreline gate fails at both resolutions. The first window, 15-20 lid times, ends before viscous spin-up (L^2/nu is 100 lid times); the later 50-60 lid-time window at L/dp 100 is worse (largest errors 0.40 U and 0.21 U against gates 0.03 U; RMS 0.20 U and 0.11 U against 0.015 U).

Reference
U. Ghia
Hardware
x86-64 cloud server CPU
Solver version
Suna 0.1.0+c3c1a3be
Grid
Unit square cavity, lid on the whole top wall, particle spacing…

Results

Figures from the run.

cavity Re 100: u on the vertical centreline vs Ghia

cavity Re 100: u on the vertical centreline vs Ghia

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
Largest u centreline error, L/dp 50, 15-20 lid times (units of U)0.192|x| ≤ 0.06320 %✕ fail
RMS u centreline error, L/dp 50, 15-20 lid times (units of U)0.0894|x| ≤ 0.03298 %✕ fail
Largest v centreline error, L/dp 50, 15-20 lid times (units of U)0.173|x| ≤ 0.06288 %✕ fail
RMS v centreline error, L/dp 50, 15-20 lid times (units of U)0.0917|x| ≤ 0.03306 %✕ fail
Largest u centreline error, L/dp 100, 15-20 lid times (units of U)0.155|x| ≤ 0.03516 %✕ fail
RMS u centreline error, L/dp 100, 15-20 lid times (units of U)0.0904|x| ≤ 0.015602 %✕ fail
Largest v centreline error, L/dp 100, 15-20 lid times (units of U)0.146|x| ≤ 0.03488 %✕ fail
RMS v centreline error, L/dp 100, 15-20 lid times (units of U)0.0697|x| ≤ 0.015465 %✕ fail
Largest u centreline error, L/dp 100, 50-60 lid times (units of U)key0.397|x| ≤ 0.031322 %✕ fail
RMS u centreline error, L/dp 100, 50-60 lid times (units of U)0.199|x| ≤ 0.0151323 %✕ fail
Largest v centreline error, L/dp 100, 50-60 lid times (units of U)0.206|x| ≤ 0.03688 %✕ fail
RMS v centreline error, L/dp 100, 50-60 lid times (units of U)0.11|x| ≤ 0.015732 %✕ fail

Setup and reproducibility

Grid and numerics
Unit square cavity, lid on the whole top wall, particle spacing L/50 and L/100, modified dynamic no-slip walls, nu 0.01, particle shifting, sound speed 10 U
Solver
Suna 0.1.0+c3c1a3be
Hardware
x86-64 cloud server CPU
Precision
f64
Code revision
c3c1a3bea1d4
Physics
SPH · lid-driven cavity, laminar, wall boundary, sph, cpu
Run date

References

  • Published benchmark

    U. Ghia, K. N. Ghia, C. T. Shin, High-Re solutions for incompressible flow using the Navier-Stokes equations and a multigrid method, J. Comput. Phys. 48 (1982) 387-411 (Re 100 centreline tables)

    doi:10.1016/0021-9991(82)90058-4In the Physics Atlas