Cavity flow

OpenFOAM 4.x

Case directory



The upper wall "movingWall" is moving in parallel at 1 m/s and the other walls "fixedWalls" are stationary, and we solve the flow without turbulence model. There is no inflow or outflow of fluid, and the calculation is performed as a 2-dimensional problem with a single mesh in the Z direction.

Model geometry Model geometry

The meshes are as follows.

Mesh Meshes

The calculation result is as follows.

Flow velocity (U) Flow velocity (U)
Pressure (p) Pressure (p)

We can see that a vortex is generated.


cp -r $FOAM_TUTORIALS/incompressible/icoFoam/cavity/cavity cavity
cd cavity



Calculation time

--- *Single, Core(TM) i7-2600 CPU @ 3.40GHz 3.40GHz