90 MRFZone& pm = this->operator[](i);
92 allOk = (allOk && ok);
116 operator[](i).addCoriolis(
U,
DDt);
140 "MRFZoneList:centrifugalAcceleration",
149 operator[](i).addCentrifugalAcceleration(centrifugalAcceleration);
152 return tcentrifugalAcceleration;
161 operator[](i).makeRelative(
U);
170 operator[](i).makeRelative(phi);
187 "relative(" + tphi().
name() +
')',
218 operator[](i).makeRelative(rphi.
ref());
245 operator[](i).makeRelative(rphi.
ref(),
patchi);
267 operator[](i).makeRelative(
rho, phi);
276 operator[](i).makeAbsolute(
U);
285 operator[](i).makeAbsolute(phi);
302 "absolute(" + tphi().
name() +
')',
329 operator[](i).makeAbsolute(
rho, phi);
347 "absolute(" + tphi().
name() +
')',
368 if (mesh_.topoChanged())
372 operator[](i).update();
#define forAll(list, i)
Loop across all elements in list.
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
Generic GeometricField class.
static tmp< GeometricField< Type, PatchField, GeoMesh > > New(const word &name, const Internal &, const PtrList< PatchField< Type >> &, const HashPtrTable< Source > &=HashPtrTable< Source >())
Return a temporary field constructed from name,.
tmp< surfaceScalarField > relative(const tmp< surfaceScalarField > &phi) const
Return the given absolute flux relative within the MRF region.
void reset(const dictionary &dict)
Reset the source list.
tmp< volVectorField > centrifugalAcceleration() const
Return the centrifugal acceleration.
tmp< surfaceScalarField > absolute(const tmp< surfaceScalarField > &phi) const
Return the given relative flux absolute within the MRF region.
bool read(const dictionary &dict)
Read dictionary.
void makeAbsolute(volVectorField &U) const
Make the given relative velocity absolute within the MRF region.
void makeRelative(volVectorField &U) const
Make the given absolute velocity relative within the MRF region.
MRFZoneList(const fvMesh &mesh, const dictionary &dict)
void update()
Update MRFZone faces if the mesh topology changes.
~MRFZoneList()
Destructor.
tmp< volVectorField > DDt(const volVectorField &U) const
Return the Coriolis acceleration.
MRF zone definition based on cell zone and parameters obtained from a control dictionary constructed ...
bool read(const dictionary &dict)
Read MRF dictionary.
const word & name() const
Return const access to the MRF region name.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
A list of keyword definitions, which are a keyword followed by any number of values (e....
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
Mesh data needed to do the Finite Volume discretisation.
A class for managing temporary objects.
void clear() const
If object pointer points to valid object:
T & ref() const
Return non-const reference or generate a fatal error.
A class for handling words, derived from string.
tmp< VolField< Type > > DDt(const surfaceScalarField &phi, const VolField< Type > &psi)
static tmp< SurfaceField< Type > > interpolate(const VolField< Type > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
void makeAbsolute(surfaceScalarField &phi, const volVectorField &U)
Make the given flux absolute.
void makeRelative(surfaceScalarField &phi, const volVectorField &U)
Make the given flux relative.
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 HashTable< dimensionSet > & dimensions()
Get the table of dimension sets.
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const bool)
Return a word representation of a bool.
const dimensionSet dimAcceleration
const dimensionSet dimTime
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
label count(const ListType &l, typename ListType::const_reference x)
Count the number of occurrences of a value in a list.
points setSize(newPointi)