Skip to content
DimensionLab

RyuchiIncompressible CFDCPU · f64

Lid-driven square cavity at Re 100 and 1000 (Ghia et al. 1982)

Ryuchi's centreline velocities in the 2D lid-driven cavity match the Ghia, Ghia and Shin (1982) tables: at Re 100 (128^2) RMS errors 0.0024 (u) and 0.0034 (v) of the lid speed, at Re 1000 (256^2) 0.0032 and 0.0051, largest error 0.0089 (gates 0.02 RMS, 0.05 max); CPU, f64, 2026-11-26.

x / L 0 – 1y / L 0 – 1
|u| / u_lid00.977
Pass
8 of 8 gates met
0.00316 u_lidRMS error of u on the vertical centreline, Re 1000 · gate |x| ≤ 0.02 u_lid
16 %
Reference
U. Ghia
Hardware
Intel Core i7-11700F desktop CPU
Solver version
Ryuchi 0.1.0+3b347679
Grid
D2Q9 BGK, half-way bounce-back walls, lid speed 0.05

Results

Every chart is drawn from the run's own numbers: hover for values, drag to zoom, toggle series in the legend, or download the data as CSV. Field views switch between 2D and a 3D surface.

Speed |u| / u_lid at the end of the run, Re 100

Ryuchi | Lid-driven cavity, Re 100, 128^2: speed at the end of the run

x / L 0 – 1y / L 0 – 1
|u| / u_lid00.977
Static image (PNG)

u(y) on the vertical centreline vs Ghia, Re 100

Ryuchi | Cavity Re 100, u(y) on the centreline vs Ghia: RMS 0.0024, max 0.0053

  • max-error bound 0.05
-0.2500.250.50.75u / u_lid-0.0500.050.20.40.60.8u - u_Ghia [u_lid]y / L

Hover to read values · drag to zoom · double-click to reset · click a legend entry to hide it.

Static image (PNG)

v(x) on the horizontal centreline vs Ghia, Re 100

Ryuchi | Cavity Re 100, v(x) on the centreline vs Ghia: RMS 0.0034, max 0.0064

  • max-error bound 0.05
-0.2-0.100.10.2v / u_lid-0.0500.050.20.40.60.8v - v_Ghia [u_lid]x / L

Hover to read values · drag to zoom · double-click to reset · click a legend entry to hide it.

Static image (PNG)

Speed |u| / u_lid at the end of the run, Re 1000

Ryuchi | Lid-driven cavity, Re 1000, 256^2: speed at the end of the run

x / L 0 – 1y / L 0 – 1
|u| / u_lid00.973
Static image (PNG)

u(y) on the vertical centreline vs Ghia, Re 1000

Ryuchi | Cavity Re 1000, u(y) on the centreline vs Ghia: RMS 0.0032, max 0.0057

  • max-error bound 0.05
-0.2500.250.5u / u_lid-0.0500.050.20.40.60.8u - u_Ghia [u_lid]y / L

Hover to read values · drag to zoom · double-click to reset · click a legend entry to hide it.

Static image (PNG)

v(x) on the horizontal centreline vs Ghia, Re 1000

Ryuchi | Cavity Re 1000, v(x) on the centreline vs Ghia: RMS 0.0051, max 0.0089

  • max-error bound 0.05
-0.4-0.200.20.4v / u_lid-0.0500.050.20.40.60.8v - v_Ghia [u_lid]x / L

Hover to read values · drag to zoom · double-click to reset · click a legend entry to hide it.

Static image (PNG)

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
RMS error of u on the vertical centreline, Re 1000.00244 u_lid|x| ≤ 0.02 u_lid12 %✓ pass
Largest error of u on the vertical centreline, Re 1000.00525 u_lid|x| ≤ 0.05 u_lid11 %✓ pass
RMS error of v on the horizontal centreline, Re 1000.00343 u_lid|x| ≤ 0.02 u_lid17 %✓ pass
Largest error of v on the horizontal centreline, Re 1000.00642 u_lid|x| ≤ 0.05 u_lid13 %✓ pass
RMS error of u on the vertical centreline, Re 1000key0.00316 u_lid|x| ≤ 0.02 u_lid16 %✓ pass
Largest error of u on the vertical centreline, Re 10000.00574 u_lid|x| ≤ 0.05 u_lid11 %✓ pass
RMS error of v on the horizontal centreline, Re 10000.00513 u_lid|x| ≤ 0.02 u_lid26 %✓ pass
Largest error of v on the horizontal centreline, Re 10000.00886 u_lid|x| ≤ 0.05 u_lid18 %✓ pass

Setup and reproducibility

Grid and numerics
D2Q9 BGK, half-way bounce-back walls, lid speed 0.05; 128 x 128 cells at Re 100, 256 x 256 at Re 1000; run to a steady state
Solver
Ryuchi 0.1.0+3b347679
Hardware
Intel Core i7-11700F desktop CPU
Precision
f64
Code revision
3b347679bcfa
Physics
Incompressible CFD · lid-driven cavity, benchmark, recirculation, lattice boltzmann
Run date

References