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':
relative= no : SRF velocity is subtracted from the inlet velocity:
where:
| Property | Description |
|---|---|
| Patch velocity [m/s] | |
| User-specified inlet velocity | |
| 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:
| Property | Description | Type | Required | Default |
|---|---|---|---|---|
type | Type name: SRFVelocity | word | yes | - |
inletValue | Inlet velocity | vectorField | yes | - |
relative | Flag to decide if the supplied inlet value relative to the SRF | bool | yes | - |
The inherited entries are elaborated in:
- fixedValueFvPatchField.H
Further information
Tutorial:
Source code:
API:
History: Introduced in version 1.5