Description🔗
The freestreamVelocity
is a generic boundary condition that provides
a free-stream condition for velocity. It is an inlet-outlet condition that uses
the velocity orientation to continuously blend between fixed value for normal
inlet and zero gradient for normal outlet flow.
Usage🔗
The condition requires entries in both the boundary
and field files.
Boundary file🔗
<patchName>
{
type patch;
...
}
Field file🔗
<patchName>
{
// Mandatory entries
type freestreamVelocity;
freestreamValue <vectorField>;
// Inherited entries;
...
}
where:
Property | Description | Type | Required | Default |
---|---|---|---|---|
type |
Type name: freestreamVelocity
|
word | yes | - |
freestreamValue |
Patch value | vectorField | yes | - |
The inherited entries are elaborated in:
- fvPatchFields.H
- mixedFvPatchFields.H
Method🔗
N/A
Further information🔗
Tutorial:
- $FOAM_TUTORIALS/compressible/rhoPimpleFoam/RAS/aerofoilNACA0012
- $FOAM_TUTORIALS/incompressible/simpleFoam/airFoil2D
Source code:
API:
History:
- Introduced in version v1806