73 Info<<
" creating MRF zone: " << name <<
endl;
92 allOk = (allOk && ok);
154 "MRFZoneList:acceleration",
166 return tacceleration;
210 "relative(" + tphi().
name() +
')',
325 "absolute(" + tphi().
name() +
')',
386 models.writeData(os);
~MRFZoneList()
Destructor.
bool read(const dictionary &dict)
Read MRF dictionary.
void makeAbsolute(volVectorField &U) const
Make the given relative velocity absolute within the MRF region.
#define forAll(list, i)
Loop across all elements in list.
void update()
Update MRFZone faces if the mesh topology changes.
void reset(const dictionary &dict)
Reset the source list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void clear() const
If object pointer points to valid object:
void addAcceleration(const volVectorField &U, volVectorField &ddtU) const
Add the frame acceleration.
A list of keyword definitions, which are a keyword followed by any number of values (e...
MRF zone definition based on cell zone and parameters obtained from a control dictionary constructed ...
T & ref() const
Return non-const reference or generate a fatal error.
static tmp< GeometricField< vector, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< vector >> &)
Return a temporary field constructed from name,.
const T & operator[](const label) const
Return element const reference.
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
Ostream & endl(Ostream &os)
Add newline and flush stream.
label count(const ListType &l, typename ListType::const_reference x)
Count the number of occurrences of a value in a list.
bool good() const
Return true if next operation might succeed.
const fvMesh & mesh_
Reference to the mesh database.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
const dimensionSet dimTime
const dimensionSet & dimensions() const
Return dimensions.
void correctBoundaryVelocity(volVectorField &U) const
Correct the boundary velocity for the rotation of the MRF region.
A class for handling words, derived from string.
const word & name() const
Return const access to the MRF region name.
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.
tmp< surfaceScalarField > absolute(const tmp< surfaceScalarField > &phi) const
Return the given relative flux absolute within the MRF region.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
tmp< volVectorField > DDt(const volVectorField &U) const
Return the frame acceleration.
void setSize(const label)
Reset size of PtrList. If extending the PtrList, new entries are.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
bool writeData(Ostream &os) const
Write data to Ostream.
List container for MRF zomes.
const Mesh & mesh() const
Return mesh.
word name(const complex &)
Return a string representation of a complex.
Internal & ref()
Return a reference to the dimensioned internal field.
tmp< surfaceScalarField > relative(const tmp< surfaceScalarField > &phi) const
Return the given absolute flux relative within the MRF region.
label size() const
Return the number of elements in the UPtrList.
Mesh data needed to do the Finite Volume discretisation.
bool topoChanging() const
Is mesh topology changing.
MRFZoneList(const fvMesh &mesh, const dictionary &dict)
A class for managing temporary objects.
void makeRelative(volVectorField &U) const
Make the given absolute velocity relative within the MRF region.
bool read(const dictionary &dict)
Read dictionary.