Skip to main content

SRFVelocity

Description

The SRFVelocity is a boundary condition that provides a velocity condition to be used in conjunction with the single rotating frame (SRF) model (see: SRFModel class).

Given the free stream velocity in the absolute frame, the condition applies the appropriate rotation transformation in time and space to determine the local velocity.

The optional relative flag switches the behaviour of the patch such that:

  • relative = yes: inlet velocity applied 'as is':
up=uin \u_p = \u_{in}
  • relative = no : SRF velocity is subtracted from the inlet velocity:
up=uinup,srf \u_p = \u_{in} - \u_{p,srf}

where:

PropertyDescription
up\u_pPatch velocity [m/s]
uin\u_{in}User-specified inlet velocity
up,srf\u_{p,srf}SRF velocity

Usage

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

Boundary file

<patchName>
{
type patch;
...
}

Field file

<patchName>
{
// Mandatory entries
type SRFVelocity;
inletValue <vectorField>;
relative <bool>;

// Inherited entries;
...
}

where:

PropertyDescriptionTypeRequiredDefault
typeType name: SRFVelocitywordyes-
inletValueInlet velocityvectorFieldyes-
relativeFlag to decide if the supplied inlet value relative to the SRFboolyes-

The inherited entries are elaborated in:

  • fixedValueFvPatchField.H

Further information

Tutorial:

Source code:

API:

History: Introduced in version 1.5