101 void operator=(
const SRFModel&) =
delete;
A list of keyword definitions, which are a keyword followed by a number of values (eg...
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.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
virtual bool read()
Read radiationProperties dictionary.
dictionary SRFModelCoeffs_
SRF model coefficients dictionary.
A class for handling words, derived from Foam::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.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
tmp< volVectorField::Internal > Fcoriolis() const
Return the coriolis force.
const volVectorField & Urel_
Reference to the relative velocity field.
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.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
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.