Top level model for single rotating frame
#include <finiteVolume/SRFModel.H>
Top level model for single rotating frame
Definition at line 62 of file SRFModel.H.
Public Member Functions | |
TypeName ("SRFModel") | |
Runtime type information.
| |
declareRunTimeSelectionTable (autoPtr, SRFModel, dictionary,(const volVectorField &Urel),(Urel)) | |
SRFModel (const word &type, const volVectorField &Urel) | |
Construct from components.
| |
virtual | ~SRFModel () |
virtual bool | read () |
Read radiationProperties dictionary.
| |
const vector & | axis () const |
Return the axis of rotation.
| |
const dimensionedVector & | omega () const |
Return the angular velocity field [rad/s].
| |
tmp< DimensionedField< vector, volMesh > > | Fcoriolis () const |
Return the coriolis force.
| |
tmp< DimensionedField< vector, volMesh > > | Fcentrifugal () const |
Return the centrifugal force.
| |
tmp< DimensionedField< vector, volMesh > > | Su () const |
Source term component for momentum equation.
| |
vectorField | velocity (const vectorField &positions) const |
Return velocity vector from positions.
| |
tmp< volVectorField > | U () const |
Return velocity of SRF for complete mesh.
| |
tmp< volVectorField > | Uabs () const |
Return absolute velocity for complete mesh.
| |
Static Public Member Functions | |
static autoPtr< SRFModel > | New (const volVectorField &Urel) |
Return a reference to the selected SRF model.
| |
Protected Attributes | |
const volVectorField & | Urel_ |
Reference to the relative velocity field.
| |
const fvMesh & | mesh_ |
Reference to the mesh.
| |
vector | axis_ |
Axis of rotation.
| |
dictionary | SRFModelCoeffs_ |
SRF model coeficients dictionary.
| |
dimensionedVector | omega_ |
Angular velocity of the frame (rad/s)
|
SRFModel | ( | const word & | type, |
const volVectorField & | Urel | ||
) |
~SRFModel | ( | ) | [virtual]
|
Definition at line 73 of file SRFModel.C.
TypeName | ( | "SRFModel" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
SRFModel | , | ||
dictionary | , | ||
(const volVectorField &Urel) | , | ||
(Urel) | |||
) |
autoPtr< SRFModel > New | ( | const volVectorField & | Urel ) | [static]
|
Return a reference to the selected SRF model.
Definition at line 40 of file newSRFModel.C.
References TimePaths::constant(), IOobject::db(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::Info, dictionary::lookup(), IOobject::MUST_READ, Foam::nl, IOobject::NO_WRITE, and IOobject::time().
bool read | ( | ) | [virtual]
|
Read radiationProperties dictionary.
Reimplemented from regIOobject.
Reimplemented in rpm.
Definition at line 79 of file SRFModel.C.
References Foam::mag(), regIOobject::read(), and Foam::type().
Referenced by rpm::read().
const Foam::vector & axis | ( | ) | const |
Return the axis of rotation.
Definition at line 99 of file SRFModel.C.
Referenced by SRFFreestreamVelocityFvPatchVectorField::updateCoeffs().
const Foam::dimensionedVector & omega | ( | ) | const |
Return the angular velocity field [rad/s].
Definition at line 105 of file SRFModel.C.
Referenced by SRFFreestreamVelocityFvPatchVectorField::updateCoeffs().
Foam::tmp< Foam::DimensionedField< Foam::vector, Foam::volMesh > > Fcoriolis | ( | ) | const |
Return the coriolis force.
Definition at line 112 of file SRFModel.C.
References IOobject::NO_READ, and IOobject::NO_WRITE.
Foam::tmp< Foam::DimensionedField< Foam::vector, Foam::volMesh > > Fcentrifugal | ( | ) | const |
Return the centrifugal force.
Definition at line 133 of file SRFModel.C.
References IOobject::NO_READ, and IOobject::NO_WRITE.
Foam::tmp< Foam::DimensionedField< Foam::vector, Foam::volMesh > > Su | ( | ) | const |
Source term component for momentum equation.
Definition at line 154 of file SRFModel.C.
Foam::vectorField velocity | ( | const vectorField & | positions ) | const |
Return velocity vector from positions.
Definition at line 161 of file SRFModel.C.
Referenced by SRFVelocityFvPatchVectorField::updateCoeffs(), and SRFFreestreamVelocityFvPatchVectorField::updateCoeffs().
Foam::tmp< Foam::volVectorField > U | ( | ) | const |
Return velocity of SRF for complete mesh.
Definition at line 169 of file SRFModel.C.
References IOobject::NO_READ, and IOobject::NO_WRITE.
Foam::tmp< Foam::volVectorField > Uabs | ( | ) | const |
Return absolute velocity for complete mesh.
Definition at line 189 of file SRFModel.C.
References forAll, IOobject::NO_READ, IOobject::NO_WRITE, SRFVelocityFvPatchVectorField::relative(), and U.
const volVectorField& Urel_ [protected]
|
Reference to the relative velocity field.
Definition at line 72 of file SRFModel.H.
Reference to the mesh.
Definition at line 75 of file SRFModel.H.
Axis of rotation.
Definition at line 78 of file SRFModel.H.
dictionary SRFModelCoeffs_ [protected]
|
SRF model coeficients dictionary.
Definition at line 81 of file SRFModel.H.
dimensionedVector omega_ [protected]
|
Angular velocity of the frame (rad/s)
Definition at line 84 of file SRFModel.H.