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.