122 template<
class RhoFieldType>
123 void makeRelativeRhoFlux
125 const RhoFieldType&
rho,
130 template<
class RhoFieldType>
131 void makeRelativeRhoFlux
133 const RhoFieldType&
rho,
138 template<
class RhoFieldType>
139 void makeRelativeRhoFlux
141 const RhoFieldType&
rho,
147 template<
class RhoFieldType>
148 void makeAbsoluteRhoFlux
150 const RhoFieldType&
rho,
158 void operator=(
const MRFZone&) =
delete;
192 inline bool active()
const;
222 const bool rhs =
false 231 const bool rhs =
false bool read(const dictionary &dict)
Read MRF dictionary.
bool active() const
Return const access to the MRF active flag.
void addCoriolis(const volVectorField &U, volVectorField &ddtU) const
Add the Coriolis force contribution to the acceleration field.
void makeRelative(volVectorField &U) const
Make the given absolute velocity relative within the MRF region.
autoPtr< MRFZone > clone() const
Return clone.
Forwards and collection of common volume field types.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
void updateMesh(const mapPolyMesh &mpm)
Update the mesh corresponding to given map.
MRF zone definition based on cell zone and parameters obtained from a control dictionary constructed ...
void makeAbsolute(volVectorField &U) const
Make the given relative velocity absolute within the MRF region.
void update()
Update MRFZone faces if the mesh topology changes.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
A field of fields is a PtrList of fields with reference counting.
A class for handling words, derived from Foam::string.
const vector & axis() const
Return const access to the MRF axis.
const word & name() const
Return const access to the MRF region name.
void zero(GeometricField< Type, fvsPatchField, surfaceMesh > &phi) const
Zero the MRF region of the given field.
static const word null
An empty word.
A List of wordRe with additional matching capabilities.
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
OBJstream os(runTime.globalPath()/outputName)
void correctBoundaryVelocity(volVectorField &U) const
Correct the boundary velocity for the rotation of the MRF region.
vector Omega() const
Return the current Omega vector.
Forward declarations of fvMatrix specializations.
Mesh data needed to do the Finite Volume discretisation.
const vector & origin() const
Return const access to the MRF origin.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
void writeData(Ostream &os) const
Write.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.