Skip to main content

pressureInletOutletParSlipVelocity

Description

The pressureInletOutletParSlipVelocity is a velocity inlet/outlet boundary condition that applies a zero-gradient condition for outflow (as defined by the flux); and obtains velocity from the flux with specified inlet direction.

The slip condition is applied tangential to the patch.

Usage

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

Boundary file

<patchName>
{
type patch;
...
}

Field file

<patchName>
{
// Mandatory entries
type pressureInletOutletParSlipVelocity;

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

// Inherited entries;
...
}

where:

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

The inherited entries are elaborated in:

  • Sign conventions:
    • positive flux (out of domain): apply zero-gradient condition
    • negative flux (into of domain): derive from the flux with specified
direction

Further information

Tutorial:

Source code:

API:

History: Introduced in version 2.1.0