Go to the documentation of this file.
117 template<
class RhoFieldType>
120 const RhoFieldType&
rho,
125 template<
class RhoFieldType>
128 const RhoFieldType&
rho,
133 template<
class RhoFieldType>
136 const RhoFieldType&
rho,
180 inline bool active()
const;
207 const bool rhs =
false
216 const bool rhs =
false
const word name_
Name of the MRF region.
MRF zone definition based on cell zone and parameters obtained from a control dictionary constructed ...
A class for handling words, derived from string.
dictionary coeffs_
Coefficients dictionary.
const vector origin_
Origin of the axis.
MRFZone(const MRFZone &)
Disallow default bitwise copy construct.
void updateMesh(const mapPolyMesh &mpm)
Update the mesh corresponding to given map.
void setMRFFaces()
Divide faces in frame according to patch.
void makeAbsoluteRhoFlux(const RhoFieldType &rho, surfaceScalarField &phi) const
Make the given relative mass/vol flux absolute within the MRF region.
labelList internalFaces_
Internal faces that are part of MRF.
void makeRelativeRhoFlux(const RhoFieldType &rho, surfaceScalarField &phi) const
Make the given absolute mass/vol flux relative within the MRF region.
void makeAbsolute(volVectorField &U) const
Make the given relative velocity absolute within the MRF region.
Forward declarations of fvMatrix specializations.
bool read(const dictionary &dict)
Read MRF dictionary.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const wordReList excludedPatchNames_
tmp< fvVectorMatrix > UEqn(fvm::div(phi, U)+MRF.DDt(U)+turbulence->divDevReff(U)==fvOptions(U))
bool active() const
Return const access to the MRF active flag.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh data needed to do the Finite Volume discretisation.
void writeData(Ostream &os) const
Write.
bool active_
MRF region active flag.
label cellZoneID_
Cell zone ID.
vector Omega() const
Return the current Omega vector.
void correctBoundaryVelocity(volVectorField &U) const
Correct the boundary velocity for the rotation of the MRF region.
labelList excludedPatchLabels_
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
autoPtr< MRFZone > clone() const
Return clone.
void makeRelative(volVectorField &U) const
Make the given absolute velocity relative within the MRF region.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
labelListList excludedFaces_
Excluded faces (per patch) that do not move with the MRF.
const fvMesh & mesh_
Reference to the mesh database.
labelListList includedFaces_
Outside faces (per patch) that move with the MRF.
static const word null
An empty word.
word cellZoneName_
Name of cell zone.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
void operator=(const MRFZone &)
Disallow default bitwise assignment.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const word & name() const
Return const access to the MRF region name.
Generic GeometricField class.
autoPtr< DataEntry< scalar > > omega_
Angular velocty (rad/sec)
void addCoriolis(const volVectorField &U, volVectorField &ddtU) const
Add the Coriolis force contribution to the acceleration field.