Skip to main content

pressureDirectedInletVelocity

Description

The pressureDirectedInletVelocity is a velocity boundary condition that calculates inflow velocity from the flux with the specified inlet direction.

Usage

The condition requires entries in both the boundary and field files.

Boundary file

<patchName>
{
type patch;
...
}

Field file

<patchName>
{
// Mandatory entries
type pressureDirectedInletVelocity;
inletDirection <vectorField>;

// Optional entries
rho <word>;
phi <word>;

// Inherited entries
...
}

where:

PropertyDescriptionTypeRequiredDefault
typeType name: pressureDirectedInletVelocitywordyes-
inletDirectionInlet direction fieldvectorFieldyes-
rhoName of the density fieldwordnorho
phiName of the flux fieldwordnophi

The inherited entries are elaborated in:

  • If reverse flow is possible or expected use the pressureDirectedInletOutletVelocity condition instead.

Further information

Tutorial:

  • N/A

Source code:

API:

History: Introduced in version 1.5