Previous: Computation set-up Up: Computation set-up Next: Turbulent quantities
This is an automatically generated documentation by LaTeX2HTML utility. In case of any issue, please, contact us at info@cfdsupport.com.
Initial and boundary conditions for p and u
- Initial and boundary conditions are usually stored in directory /0.
- Solver simpleFoam requires pressure p, velocity U and turbulence quantities initial and boundary conditions.
- Number named directories represent time layouts of solution.
- Configure file for pressure:
# cat $FOAM_RUN /pitzDaily/0/pdimensions [0 2 -2 0 0 0 0]; internalField uniform 0; boundaryField { inlet { type zeroGradient; } outlet { type fixedValue; value uniform 0; } upperWall { type zeroGradient; } lowerWall { type zeroGradient; } frontAndBack { type empty; } }
- Physical dimensions of pressure: (kinematic pressure) is in OpenFOAM written as: [0 2 -2 0 0 0 0]
- Initial condition: (constant in whole flow domain)
- Standard boundary conditions for incompressible fluid flow in a channel are following:
- at the outlet of the domain
- Pressure is extrapolated at the walls and at the inlet
- At boundary frontAndBack (front side and back side) we set boundary condition empty, flow is not solved in this direction (quasi 3D – 2D simulation)
- Configuration file for velocity:
# cat $FOAM_RUN /pitzDaily/0/Udimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { inlet { type fixedValue; value uniform (10 0 0); } outlet { type zeroGradient; } upperWall { type noSlip; } lowerWall { type noSlip; } frontAndBack { type empty; } }
- Physical dimensions of velocity: [0 1 -1 0 0 0 0]
- Initial condition: (constant in whole domain)
- Standard boundary conditions for incompressible fluid flow in a channel: