Skip to main content

pressureInletVelocity

Description

The pressureInletVelocity is a velocity boundary condition where the inflow velocity is obtained from the flux with a direction normal to the patch faces.

Usage

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

Boundary file

<patchName>
{
type patch;
...
}

Field file

<patchName>
{
// Mandatory entries
type pressureInletVelocity;

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

// Inherited entries
...
}

where:

PropertyDescriptionTypeRequiredDefault
typeType name: pressureInletVelocitywordyes-
phiName of the flux fieldwordnophi
rhoName of the density fieldwordnorho

The inherited entries are elaborated in:

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

Further information

Tutorial:

Source code:

API:

History: Introduced in version 1.5