FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

Top level model for single rotating frame

  • Steady state only - no time derivatives included.
More...

#include <finiteVolume/SRFModel.H>


Detailed Description

Top level model for single rotating frame

  • Steady state only - no time derivatives included.

Source files

Definition at line 62 of file SRFModel.H.

Inheritance diagram for SRFModel:
Collaboration diagram for SRFModel:

List of all members.

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)

Constructor & Destructor Documentation

SRFModel ( const word &   type,
const volVectorField &   Urel  
)

Construct from components.

Definition at line 44 of file SRFModel.C.

References Foam::mag().

~SRFModel (  ) [virtual]

Definition at line 73 of file SRFModel.C.


Member Function Documentation

TypeName ( "SRFModel"    )

Runtime type information.

declareRunTimeSelectionTable ( autoPtr   ,
SRFModel   ,
dictionary   ,
(const volVectorField &Urel)   ,
(Urel)    
)
autoPtr< SRFModel > New ( const volVectorField &   Urel  ) [static]
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().

Return the coriolis force.

Definition at line 112 of file SRFModel.C.

References IOobject::NO_READ, and IOobject::NO_WRITE.

Return the centrifugal force.

Definition at line 133 of file SRFModel.C.

References IOobject::NO_READ, and IOobject::NO_WRITE.

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.


Member Data Documentation

const volVectorField& Urel_ [protected]

Reference to the relative velocity field.

Definition at line 72 of file SRFModel.H.

const fvMesh& mesh_ [protected]

Reference to the mesh.

Definition at line 75 of file SRFModel.H.

vector axis_ [protected]

Axis of rotation.

Definition at line 78 of file SRFModel.H.

SRF model coeficients dictionary.

Definition at line 81 of file SRFModel.H.

Angular velocity of the frame (rad/s)

Definition at line 84 of file SRFModel.H.


The documentation for this class was generated from the following files:
  • src/finiteVolume/cfdTools/general/SRF/SRFModel/SRFModel/SRFModel.H
  • src/finiteVolume/cfdTools/general/SRF/SRFModel/SRFModel/newSRFModel.C
  • src/finiteVolume/cfdTools/general/SRF/SRFModel/SRFModel/SRFModel.C