Incompressible Navier–Stokes equations
Inertia, pressure, and viscosity determine the velocity field. Zero divergence means fluid is neither created nor destroyed inside the cavity.
Fluid dynamics · CFD benchmark workbench
The moving lid injects vorticity into a sealed cavity. This workbench advances three two-dimensional grids together and shows the live vorticity field, both centerline velocity profiles, residual history, and a direct comparison with the steady Ghia 1982 data.
Physics tutorial
BackgroundThree walls of a square container remain fixed while only the lid moves right. The no-slip condition gives adjacent fluid the same horizontal speed, then viscosity diffuses that momentum into the interior. The workbench places the live two-dimensional solution and published steady centerline data on the same axes.
Why it mattersThis spare geometry still contains wall shear, vorticity production, primary recirculation, and secondary corner eddies, so it has long served as a benchmark for incompressible-flow algorithms.
Start with the essentials
Inertia, pressure, and viscosity determine the velocity field. Zero divergence means fluid is neither created nor destroyed inside the cavity.
The two-dimensional model transports scalar vorticity, then recovers a streamfunction and an automatically divergence-free velocity field from a Poisson equation.
Low Reynolds number means stronger viscous diffusion. Raising it thins the wall-shear layer and concentrates recirculation.
Typical misconceptionA live curve near the Ghia markers proves that the grid has converged.
Better mental modelThe Ghia markers are steady results from a finer grid, while the live curve is still evolving. Separation among the three grids shows same-time resolution sensitivity, not a formal steady grid-convergence study.
Typical misconceptionThe deepest blue region must be moving fastest.
Better mental modelVorticity measures local rotation and shear, while speed is . A thin wall layer can carry intense vorticity without being the fastest part of the whole flow.
Choose Ghia Reynolds number 100, reset the study, and watch panels A, B, and C together.
What to observe: Strong clockwise vorticity appears at the top first, then the live centerline curves move gradually toward the steady reference markers.Pause the solver and press Step 24 repeatedly while comparing the three-grid RMSE in panel D.
What to observe: All three grids remain at the same nondimensional time. Their separation reflects spatial discretization, but error against the steady reference still includes transience.At Reynolds number 400, switch semi-Lagrangian transport off and compare equal step counts with the first-order upwind result.
What to observe: The two low-order methods have different numerical diffusion, so their wall layer, residual path, and centerline error do not coincide.