98 SRFModel(
const SRFModel&) =
delete;
101 void operator=(
const SRFModel&) =
delete;
IOdictionary(const IOobject &io, const dictionary *fallback=nullptr)
Construct given an IOobject and optional fallback dictionary content.
tmp< volVectorField::Internal > Fcentrifugal() const
Return the centrifugal force.
TypeName("SRFModel")
Runtime type information.
tmp< volVectorField > Uabs() const
Return absolute velocity for complete mesh.
dimensionedVector omega_
Angular velocity of the frame (rad/s).
const fvMesh & mesh_
Reference to the mesh.
declareRunTimeSelectionTable(autoPtr, SRFModel, dictionary,(const volVectorField &Urel),(Urel))
tmp< volVectorField::Internal > Su() const
Source term component for momentum equation.
vector axis_
Axis of rotation, a direction vector which passes through the origin.
dictionary SRFModelCoeffs_
SRF model coefficients dictionary.
const dimensionedVector & origin() const
Return the origin of rotation.
vectorField velocity(const vectorField &positions) const
Return velocity vector from positions.
tmp< volVectorField::Internal > Fcoriolis() const
Return the coriolis force.
tmp< volVectorField > U() const
Return velocity of SRF for complete mesh.
dimensionedVector origin_
Origin of the axis.
const vector & axis() const
Return the axis of rotation.
const dimensionedVector & omega() const
Return the angular velocity field [rad/s].
const volVectorField & Urel_
Reference to the relative velocity field.
virtual ~SRFModel()
Destructor.
static autoPtr< SRFModel > New(const volVectorField &Urel)
Return a reference to the selected SRF model.
virtual bool read()
Read radiationProperties dictionary.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
dictionary()
Default construct, a top-level empty dictionary.
Mesh data needed to do the Finite Volume discretisation.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
Namespace for single rotating frame (SRF) models.
GeometricField< vector, fvPatchField, volMesh > volVectorField
Field< vector > vectorField
Specialisation of Field<T> for vector.
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
Macros to ease declaration of run-time selection tables.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes).
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.