Skip to main content

swirlFanVelocity

Description

The swirlFanVelocity is a boundary condition that provides a jump condition for velocity across a cyclic pressure jump condition and applies a transformation to the velocity.

The velocity jump is specified with a swirl component as follows:

utan=ΔPrefffeffωrpmπ30 u_{tan} = \frac{\Delta_P}{r_{eff} f_{eff} \omega_{rpm} \frac{\pi}{30}}

where:

PropertyDescription
utanu_{tan}Tangential component of velocity
ΔP\Delta_PPressure drop across the cyclic
reffr_{eff}Effective radius
fefff_{eff}Fan efficiency coefficient
ωrpm\omega_{rpm}RPM of the fan

Alternatively an inner and outer radii can be used instead of reffr_{eff}. The utanu_{tan} is as follows for r>rinnerr > r_{inner} and r<routerr < r_{outer}:

utan=ΔPrfeffωrpmπ30 u_{tan} = \frac{\Delta_P}{r f_{eff} \frac{\omega_{rpm}}{\pi 30}}

with r=xfxoriginr = x_{f} - x_{origin}, and ff is the face center.

The radial velocity is zero in the this model.

Usage

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

Boundary file

<patchName>
{
type patch;
...
}

Field file

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

// Optional entries
phi <word>;
p <word>;
rho <word>;
origin <vector>;
fanEff <scalar>;
rEff <scalar>;
rInner <scalar>;
rOuter <scalar>;
useRealRadius <bool>;

// Inherited entries
patchType cyclic;
...
}

where:

PropertyDescriptionTypeRequiredDefault
typeType name: swirlFanVelocitywordyes-
rpmRPM of the fanFunction1<scalar>yes-
phiName of flux fieldwordnophi
pName of pressure fieldwordnop
rhoName of density fieldwordnorho
originFan centrevectornoZero
fanEffFan efficiencyscalarno1
rEffEffective radiusscalarno0
rInnerInner radiusscalarno0
rOuterOuter radiusscalarno0
useRealRadiusFlag to use inner/outer radiiboolnofalse

The inherited entries are elaborated in:

  • Negative rpm will reverse the input tangential direction.
  • This boundary condition needs to be used with a pressure-jump (e.g. fan) condition with a non-zero dp, otherwise no swirl will be applied (dp=0).
  • Please ensure physical and complementary set-ups for the pressure-jump and swirlFanVelocity boundary conditions.

Further information

Tutorial:

  • N/A

Source code:

API:

History: Introduced in version v1806