$FOAM_TUTORIALS/incompressible/boundaryFoam/boundaryWallFunctions
The flow is calculated to be used as a boundary condition. Periodic boundary conditions are set for the inflow region "front" and outflow region "back", and no-slip wall conditions are set for the "lowerWall" and "upperWall" regions, which are the channel walls. The mesh is created only in the Y direction and the calculation is performed as a 2-dimensional model.
The target average velocity of 10 m/s is specified in the file constant/transportProperties as follows.
Ubar [0 1 -1 0 0 0 0] (10 0 0);
See "SimpleFoam: Backstep flow with inflow distribution" for information on how to use calculated flow data as boundary conditions.
The meshes are as follows.
The calculation result is as follows.
5.04 seconds *Single, Inter(R) Core(TM) i7-2600 CPU @ 3.40GHz 3.40GHz