This boundary condition provides a free-stream condition for velocity. More...
This boundary condition 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.
Property | Description | Required | Default value |
---|---|---|---|
freestreamValue | freestream velocity | yes |
Example of the boundary condition specification:
<patchName> { type freestreamVelocity; freestreamValue uniform (300 0 0); }
Definition at line 90 of file freestreamVelocityFvPatchVectorField.H.
freestreamVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 33 of file freestreamVelocityFvPatchVectorField.C.
freestreamVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 43 of file freestreamVelocityFvPatchVectorField.C.
References dict, dictionary::found(), freestreamVelocityFvPatchVectorField::freestreamValue(), fvPatchField< vector >::operator, fvPatchField< vector >::operator=(), p, UList< T >::size(), and Foam::Zero.
freestreamVelocityFvPatchVectorField | ( | const freestreamVelocityFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given freestreamVelocityFvPatchVectorField onto.
a new patch
Definition at line 71 of file freestreamVelocityFvPatchVectorField.C.
freestreamVelocityFvPatchVectorField | ( | const freestreamVelocityFvPatchVectorField & | wbppsf | ) |
Construct as copy.
Definition at line 83 of file freestreamVelocityFvPatchVectorField.C.
freestreamVelocityFvPatchVectorField | ( | const freestreamVelocityFvPatchVectorField & | wbppsf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 92 of file freestreamVelocityFvPatchVectorField.C.
TypeName | ( | "freestreamVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 135 of file freestreamVelocityFvPatchVectorField.H.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 151 of file freestreamVelocityFvPatchVectorField.H.
|
inline |
Definition at line 165 of file freestreamVelocityFvPatchVectorField.H.
Referenced by freestreamVelocityFvPatchVectorField::freestreamVelocityFvPatchVectorField().
|
inline |
Definition at line 170 of file freestreamVelocityFvPatchVectorField.H.
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 104 of file freestreamVelocityFvPatchVectorField.C.
References Foam::mag(), and atmBoundaryLayerInletEpsilonFvPatchScalarField::updateCoeffs().
|
virtual |
Write.
Definition at line 119 of file freestreamVelocityFvPatchVectorField.C.
References os(), and ObukhovLength::write().