This boundary condition provides a free-stream condition for velocity. More...
Public Member Functions | |
TypeName ("freestreamVelocity") | |
freestreamVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
freestreamVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
freestreamVelocityFvPatchVectorField (const freestreamVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
freestreamVelocityFvPatchVectorField (const freestreamVelocityFvPatchVectorField &) | |
virtual tmp< fvPatchVectorField > | clone () const |
freestreamVelocityFvPatchVectorField (const freestreamVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
virtual tmp< fvPatchVectorField > | clone (const DimensionedField< vector, volMesh > &iF) const |
const vectorField & | freestreamValue () const |
vectorField & | freestreamValue () |
virtual void | updateCoeffs () |
virtual void | write (Ostream &) const |
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 86 of file freestreamVelocityFvPatchVectorField.H.
freestreamVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Definition at line 27 of file freestreamVelocityFvPatchVectorField.C.
Referenced by freestreamVelocityFvPatchVectorField::clone().
freestreamVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Definition at line 37 of file freestreamVelocityFvPatchVectorField.C.
References dict, p, and Foam::Zero.
freestreamVelocityFvPatchVectorField | ( | const freestreamVelocityFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Definition at line 65 of file freestreamVelocityFvPatchVectorField.C.
freestreamVelocityFvPatchVectorField | ( | const freestreamVelocityFvPatchVectorField & | wbppsf | ) |
Definition at line 77 of file freestreamVelocityFvPatchVectorField.C.
freestreamVelocityFvPatchVectorField | ( | const freestreamVelocityFvPatchVectorField & | wbppsf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Definition at line 86 of file freestreamVelocityFvPatchVectorField.C.
TypeName | ( | "freestreamVelocity" | ) |
|
inlinevirtual |
Definition at line 131 of file freestreamVelocityFvPatchVectorField.H.
References freestreamVelocityFvPatchVectorField::freestreamVelocityFvPatchVectorField().
|
inlinevirtual |
Definition at line 148 of file freestreamVelocityFvPatchVectorField.H.
References freestreamVelocityFvPatchVectorField::freestreamVelocityFvPatchVectorField().
|
inline |
Definition at line 161 of file freestreamVelocityFvPatchVectorField.H.
|
inline |
Definition at line 166 of file freestreamVelocityFvPatchVectorField.H.
|
virtual |
Definition at line 97 of file freestreamVelocityFvPatchVectorField.C.
References Foam::mag(), Foam::foamVersion::patch, and fvPatchField< Type >::updateCoeffs().
|
virtual |
Definition at line 112 of file freestreamVelocityFvPatchVectorField.C.
References os(), and fvPatchField::write().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.