Cavity flow

OpenFOAM 4.x

Case directory

$FOAM_TUTORIALS/compressible/rhoPimpleFoam/ras/cavity

Summary

The upper wall "movingWall" is moving in parallel at 1 m/s and the other walls "fixedWalls" are stationary, and we solve the flow from 0 sec to 1 sec. 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

Standard k-ω SST model is used as the turbulence model.

The meshes are as follows.

Mesh Meshes

The calculation result is as follows.

Flow velocity (U)
Flow velocity at final time (U) Flow velocity at final time (U)
Pressure at final time (p) Pressure at final time (p)

We can see that a vortex is generated.

Commands

cp -r $FOAM_TUTORIALS/compressible/rhoPimpleFoam/ras/cavity cavity
cd cavity

blockMesh
rhoPimpleFoam

paraFoam

Calculation time

0.23 seconds *Single, Inter(R) Core(TM) i7-8700 CPU @ 3.20GHz 3.19GHz