MATLAB Lid-Driven Cavity Study

A reproducible 72-case CFD study for the two-dimensional incompressible lid-driven cavity, developed to compare numerical schemes, pressure solvers, mesh resolution, runtime, and benchmark agreement.

Overview of MATLAB lid-driven cavity CFD study results
72automated simulations
3 × 3meshes and Reynolds numbers
44cases passing selected Ghia thresholds
2 × 2 × 2schemes, pressure solvers, implementations

Problem

The lid-driven cavity is a compact but demanding benchmark for incompressible-flow solvers. It tests pressure–velocity coupling, wall boundary conditions, vortex formation, numerical diffusion, mesh sensitivity, convergence behaviour, and validation against established reference data.

My contribution

Methodology

Flow model

Two-dimensional, incompressible Navier–Stokes equations with a moving top wall.

Pressure coupling

SIMPLE-style pressure correction on a structured Cartesian collocated grid.

Study matrix

N = 32, 64, 128; Re = 100, 400, 1000; upwind/central; RBGS/RBSOR; loop/vectorized.

Representative results

Results and interpretation

Limitations

The solver prioritises transparency and comparison over industrial-scale performance. It uses a collocated formulation without Rhie–Chow interpolation, has no turbulence model or multigrid pressure solver, and high-Reynolds-number cases remain sensitive to mesh resolution and convergence settings.