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.

- 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

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
Hover to read values · drag to zoom · double-click to reset · click a legend entry to hide it.
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
Hover to read values · drag to zoom · double-click to reset · click a legend entry to hide it.
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

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
Hover to read values · drag to zoom · double-click to reset · click a legend entry to hide it.
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
Hover to read values · drag to zoom · double-click to reset · click a legend entry to hide it.
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.
| Metric | Value | Gate | Allowance used | Result |
|---|---|---|---|---|
| RMS error of u on the vertical centreline, Re 100 | 0.00244 u_lid | |x| ≤ 0.02 u_lid | 12 % | ✓ pass |
| Largest error of u on the vertical centreline, Re 100 | 0.00525 u_lid | |x| ≤ 0.05 u_lid | 11 % | ✓ pass |
| RMS error of v on the horizontal centreline, Re 100 | 0.00343 u_lid | |x| ≤ 0.02 u_lid | 17 % | ✓ pass |
| Largest error of v on the horizontal centreline, Re 100 | 0.00642 u_lid | |x| ≤ 0.05 u_lid | 13 % | ✓ pass |
| RMS error of u on the vertical centreline, Re 1000key | 0.00316 u_lid | |x| ≤ 0.02 u_lid | 16 % | ✓ pass |
| Largest error of u on the vertical centreline, Re 1000 | 0.00574 u_lid | |x| ≤ 0.05 u_lid | 11 % | ✓ pass |
| RMS error of v on the horizontal centreline, Re 1000 | 0.00513 u_lid | |x| ≤ 0.02 u_lid | 26 % | ✓ pass |
| Largest error of v on the horizontal centreline, Re 1000 | 0.00886 u_lid | |x| ≤ 0.05 u_lid | 18 % | ✓ 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
- 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, Tables I and II
doi:10.1016/0021-9991(82)90058-4In the Physics Atlas


