
Explore lid driven cavity flow with OpenFOAM, solving incompressible 2D laminar Navier–Stokes with the icofom solver, and analyze results across Reynolds numbers using Paraview and Python.
Set up the lid-driven cavity in OpenFOAM by defining geometry, applying boundary conditions and meshing with block mesh, then prepare the case for simulation and visualization.
Set up, refine, and run a lid-driven cavity simulation in OpenFOAM by adjusting blockMesh and simple grading, then monitor progress, split across cores, and prepare for post-processing in Paraview.
Visualize the lid-driven cavity flow results in Paraview, converting raw data into velocity fields, pressure contours, streamlines, and animated vectors; save camera positions and screenshots for analysis.
Create OpenFOAM lid-driven cavity simulations at 2, 4, and 6 m/s, run them, and post-process in Paraview to visualize velocity magnitude, contours, streamlines, and vectors, plus an animation.
Master one of the most fundamental CFD benchmark problems – the Lid-Driven Cavity Flow – using OpenFOAM!
This course takes you step by step through the complete workflow of setting up, running, and analyzing the lid-driven cavity flow simulation in OpenFOAM. With its simple geometry but rich flow physics, the cavity problem is a perfect starting point to understand how CFD solvers handle boundary conditions, vortex formation, and Reynolds number effects.
You will begin by learning the physics behind the problem and how to set up the case files in OpenFOAM, including geometry, mesh, and boundary conditions. Then, you’ll run simulations at different Reynolds numbers, explore convergence and solver behavior, and finally post-process results using ParaView to extract velocity profiles and visualize vortices.
By the end of this course, you will have both theoretical understanding and practical CFD skills to confidently simulate canonical problems in OpenFOAM and extend your learning to more complex fluid flow cases.
What you’ll learn:
1: Understand the physics of lid-driven cavity flow and why it’s a CFD benchmark
2: Create geometry and mesh for the cavity using blockMesh
3: Define appropriate boundary conditions for velocity and pressure
4: Run simulations using icoFoam solver for laminar flow
5: Post-process simulation results in ParaView (contours, streamlines, animations)
6: Extract velocity profiles and compare results at different Reynolds numbers