Skip to main content

swirlFlowRateInletVelocity

Description

The swirlFlowRateInletVelocity is a velocity boundary condition that provides a volumetric- or mass-flow normal vector boundary condition by its magnitude as an integral over its area with a swirl component determined by the angular speed, given in revolutions per minute (RPM).

The basis of the patch (volumetric or mass) is determined by the dimensions of the flux, phi. The current density is used to correct the velocity when applying the mass basis.

Usage

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

Boundary file

<patchName>
{
type patch;
...
}

Field file

<patchName>
{
// Mandatory entries
type swirlFlowRateInletVelocity;
flowRate <Function1<scalar>>;
rpm <Function1<scalar>>;

// Optional entries
phi <word>;
rho <word>;
origin <vector>;
axis <vector>;

// Inherited entries
...
}

where:

PropertyDescriptionTypeRequiredDefault
typeType name: swirlFlowRateInletVelocitywordyes-
flowRateFlow rate profileFunction1<scalar>yes-
rpmRotational speed profileFunction1<scalar>yes-
phiName of the flux fieldwordnophi
rhoName of the density fieldwordnorho
originOrigin of rotationvectornoZero
axisAxis of rotationvectornoZero

The inherited entries are elaborated in:

  • The value is positive into the domain.

Further information

Tutorial:

  • N/A

Source code:

API:

History: Introduced in version 1.7.0