Lid-driven cavity¶
The classical lid-driven cavity benchmark at Reynolds number 1000: a square cavity of side \(L\) = 1 cm (400 × 400
cells, 10 cells in the periodic direction Z) whose upper wall (Y = L, plan_xz_l) moves at \(U\) = 1 m/s along X,
with \(\nu\) = 10⁻⁵ m²/s: \(Re = U L / \nu = 1000\).
Deck¶
All the walls use lid_driven_cavity in post_stream_bcs: the
lid with \(U\) = 1 m/s, the three fixed walls with \(U = 0\). The deck has no bounce-back plane, so replacing
post_stream_bcs is safe here.
Run¶
The run lasts 70,000 steps, with ParaView outputs every 1,000 steps in LidDrivenCavityDir/.
Results¶
The flow develops a primary recirculating vortex and secondary corner vortices. Velocity field at steady state:
The centerline velocity profiles are compared with the reference data of Ghia et al. [5]: