Skip to main content

rotatingPressureInletOutletVelocity

Description

The rotatingPressureInletOutletVelocity 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 a direction normal to the patch faces. The condition is applied to patches in a rotating frame where the pressure is specified.

Usage

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

Boundary file

<patchName>
{
type patch;
...
}

Field file

<patchName>
{
// Mandatory entries
type rotatingPressureInletOutletVelocity;
omega <Function1<vector>>;

// Inherited entries;
...
}

where:

PropertyDescriptionTypeRequiredDefault
typeType name: rotatingPressureInletOutletVelocitywordyes-
oemgaAngular velocity of the frame [rad/s]Function1<vector>yes-

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:

  • N/A

Source code:

API:

History: Introduced in version 1.5