A list of keyword definitions, which are a keyword followed by any number of values (e...
const vector & axis() const
Return the axis of rotation.
const fvMesh & mesh_
Reference to the mesh.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
dimensionedVector omega_
Angular velocity of the frame (rad/s)
static autoPtr< SRFModel > New(const volVectorField &Urel)
Return a reference to the selected SRF model.
virtual bool read()
Read radiationProperties dictionary.
dictionary SRFModelCoeffs_
SRF model coeficients dictionary.
A class for handling words, derived from string.
vector axis_
Axis of rotation, a direction vector which passes through the origin.
const dimensionedVector & omega() const
Return the angular velocity field [rad/s].
declareRunTimeSelectionTable(autoPtr, SRFModel, dictionary,(const volVectorField &Urel),(Urel))
const dimensionedVector & origin() const
Return the origin of rotation.
dimensionedVector origin_
Origin of the axis.
tmp< volVectorField::Internal > Fcoriolis() const
Return the coriolis force.
const volVectorField & Urel_
Reference to the relative velocity field.
fileName::Type type(const fileName &, const bool followLink=true)
Return the file type: DIRECTORY or FILE.
tmp< volVectorField::Internal > Su() const
Source term component for momentum equation.
tmp< volVectorField > U() const
Return velocity of SRF for complete mesh.
tmp< volVectorField::Internal > Fcentrifugal() const
Return the centrifugal force.
Info<< "Reading field p\"<< endl;volScalarField p(IOobject("p", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Reading field Urel\"<< endl;volVectorField Urel(IOobject("Urel", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Reading/calculating face flux field phi\"<< endl;surfaceScalarField phi(IOobject("phi", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), linearInterpolate(Urel) &mesh.Sf());label pRefCell=0;scalar pRefValue=0.0;setRefCell(p, pimple.dict(), pRefCell, pRefValue);mesh.setFluxRequired(p.name());Info<< "Creating SRF model\"<< endl;autoPtr< SRF::SRFModel > SRF(SRF::SRFModel::New(Urel))
Mesh data needed to do the Finite Volume discretisation.
tmp< volVectorField > Uabs() const
Return absolute velocity for complete mesh.
TypeName("SRFModel")
Runtime type information.
virtual ~SRFModel()
Destructor.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
A class for managing temporary objects.
Top level model for single rotating frame.
vectorField velocity(const vectorField &positions) const
Return velocity vector from positions.