Skip to main content

SRFFreestreamVelocity

Description

The SRFFreestreamVelocity is a boundary condition that provides freestream 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 using:

up=cos(θ)uInf+sin(θ)(n×uInf)up,srf \u_p = cos(\theta) \u_{Inf} + sin(\theta) (n \times \u_{Inf}) - \u_{p,srf}

where:

PropertyDescription
up\u_pPatch velocity [m/s]
uInf\u_{Inf}Free stream velocity in the absolute frame [m/s]
θ\thetaSwept angle [rad]
nnAxis direction of the SRF
up,srf\u_{p,srf}SRF velocity of the patch [m/s]

Usage

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

Boundary file

<patchName>
{
type patch;
...
}

Field file

<patchName>
{
// Mandatory entries
type SRFFreestreamVelocity;
UInf <vector>;

// Optional entries
relative <bool>;

// Inherited entries;
...
}

where:

PropertyDescriptionTypeRequiredDefault
typeType name: SRFFreestreamVelocitywordyes-
UInfVelocity of the free stream in the absolute framevectoryes-
relativeFlag to decide if the supplied inlet value relative to the SRFboolnofalse

The inherited entries are elaborated in:

  • inletOutletFvPatchFields.H

Further information

Tutorial:

Source code:

API:

History: Introduced in version 2.0.0