1

Previous: OpenFOAM in Box: Up: User Training Next: Before start working, source

This is an automatically generated documentation by LaTeX2HTML utility. In case of any issue, please, contact us at info@cfdsupport.com.

OpenFOAM Structure

Axis and its origin

Figure: Turbo Blade Post; Francis Turbine Tutorial; Pressure, absolute and relative velocity on the slice at span img19; OpenFOAM Water Turbine CFD

Total Pressure Boundary Condition

Total pressure is uniform total pressure applied everywhere in the inlet patch. Total pressure value is equal to p0.

p:

 boundaryField
 {
    ".*_inlet"
    {
        type            totalPressure;
        p0              uniform 97.5;
        gamma		 0.0;
        value           $internalField;
    }
 }



U:

 boundaryField
 {
    ".*_inlet"
    {
        type            pressureInletVelocity;
        value           $internalField;
    }
  }



or for velocity U:

    ".*_inlet"
    {
        type            pressureDirectedInletVelocity;
        inletDirection  uniform (0 0 1);
        value           $internalField;
    }

pressureDirectedInletVelocity prescribes velocity angles at the inlet, but the velocity magnitude is computed from total pressure – static pressure difference.