$FOAM_TUTORIALS/multiphase/interFoam/ras/weirOverflow
We calculate the water flowing over the weir for 60 seconds. Water flows in from the region "inlet" and out from the region "outlet". The weir and the lower surface of the domain (region "lowerWall") are assumed to be under no-slip conditions, and the upper surface of the domain (region "atmosphere") is assumed to be open. The calculation is performed as a two-dimensional problem with a single mesh in the Z direction.
The gravity acceleration is defined in the file "constant/g" as follows.
dimensions [0 1 -2 0 0 0 0]; value (0 -9.81 0);
The water inflow conditions are specified in file "0/U" and file "0/alpha.water" as follows.
inlet { type variableHeightFlowRateInletVelocity; flowRate $inletFlowRate; alpha alpha.water; value uniform (0 0 0); }File 0/U
inlet { type variableHeightFlowRate; lowerBound 0; upperBound 0.9; value uniform 0; }File 0/alpha.water
The meshes are as follows, and the number of mesh is 5080.
The calculation result is as follows.
5 minutes 18.89 seconds *Single, Inter(R) Core(TM) i7-2600 CPU @ 3.40GHz 3.40GHz