Freestream velocity patch to be used with SRF model to apply the appropriate rotation transformation in time and space. More...
#include <finiteVolume/SRFFreestreamVelocityFvPatchVectorField.H>
Freestream velocity patch to be used with SRF model to apply the appropriate rotation transformation in time and space.
Definition at line 50 of file SRFFreestreamVelocityFvPatchVectorField.H.
Public Member Functions | |
| TypeName ("SRFFreestreamVelocity") | |
| Runtime type information. | |
| SRFFreestreamVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
| Construct from patch and internal field. | |
| SRFFreestreamVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. | |
| SRFFreestreamVelocityFvPatchVectorField (const SRFFreestreamVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping given SRFFreestreamVelocityFvPatchVectorField. | |
| SRFFreestreamVelocityFvPatchVectorField (const SRFFreestreamVelocityFvPatchVectorField &) | |
| Construct as copy. | |
| virtual tmp< fvPatchVectorField > | clone () const |
| Construct and return a clone. | |
| SRFFreestreamVelocityFvPatchVectorField (const SRFFreestreamVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
| Construct as copy setting internal field reference. | |
| virtual tmp< fvPatchVectorField > | clone (const DimensionedField< vector, volMesh > &iF) const |
| Construct and return a clone setting internal field reference. | |
| const vector & | UInf () const |
| Return the velocity at infinity. | |
| vector & | UInf () |
| Return reference to the velocity at infinity to allow adjustment. | |
| virtual void | updateCoeffs () |
| Update the coefficients associated with the patch field. | |
| virtual void | write (Ostream &) const |
| Write. | |
| SRFFreestreamVelocityFvPatchVectorField | ( | const fvPatch & | p, |
| const DimensionedField< vector, volMesh > & | iF | ||
| ) |
Construct from patch and internal field.
Definition at line 41 of file SRFFreestreamVelocityFvPatchVectorField.C.
Referenced by SRFFreestreamVelocityFvPatchVectorField::clone().
| SRFFreestreamVelocityFvPatchVectorField | ( | const fvPatch & | p, |
| const DimensionedField< vector, volMesh > & | iF, | ||
| const dictionary & | dict | ||
| ) |
Construct from patch, internal field and dictionary.
Definition at line 65 of file SRFFreestreamVelocityFvPatchVectorField.C.
References fvPatchField< Type >::operator=(), and fvPatch::size().
| SRFFreestreamVelocityFvPatchVectorField | ( | const SRFFreestreamVelocityFvPatchVectorField & | ptf, |
| const fvPatch & | p, | ||
| const DimensionedField< vector, volMesh > & | iF, | ||
| const fvPatchFieldMapper & | mapper | ||
| ) |
Construct by mapping given SRFFreestreamVelocityFvPatchVectorField.
onto a new patch
Definition at line 52 of file SRFFreestreamVelocityFvPatchVectorField.C.
| SRFFreestreamVelocityFvPatchVectorField | ( | const SRFFreestreamVelocityFvPatchVectorField & | srfvpvf | ) |
Construct as copy.
Definition at line 79 of file SRFFreestreamVelocityFvPatchVectorField.C.
| SRFFreestreamVelocityFvPatchVectorField | ( | const SRFFreestreamVelocityFvPatchVectorField & | srfvpvf, |
| const DimensionedField< vector, volMesh > & | iF | ||
| ) |
Construct as copy setting internal field reference.
Definition at line 89 of file SRFFreestreamVelocityFvPatchVectorField.C.
| TypeName | ( | "SRFFreestreamVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 100 of file SRFFreestreamVelocityFvPatchVectorField.H.
References SRFFreestreamVelocityFvPatchVectorField::SRFFreestreamVelocityFvPatchVectorField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 117 of file SRFFreestreamVelocityFvPatchVectorField.H.
References SRFFreestreamVelocityFvPatchVectorField::SRFFreestreamVelocityFvPatchVectorField().
|
inline |
Return the velocity at infinity.
Definition at line 133 of file SRFFreestreamVelocityFvPatchVectorField.H.
|
inline |
Return reference to the velocity at infinity to allow adjustment.
Definition at line 139 of file SRFFreestreamVelocityFvPatchVectorField.H.
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 101 of file SRFFreestreamVelocityFvPatchVectorField.C.
References SRFModel::axis(), Foam::cos(), Foam::mag(), SRFModel::omega(), Foam::pos(), Foam::sin(), IOobject::time(), dimensioned< Type >::value(), and SRFModel::velocity().
|
virtual |
Write.
Definition at line 126 of file SRFFreestreamVelocityFvPatchVectorField.C.
References token::END_STATEMENT, Foam::nl, and Ostream::writeKeyword().