Go to the documentation of this file.
60 a = a || this->operator[](i).active();
63 if (warn && this->size() && !a)
65 Info<<
" No MRF zones active" <<
endl;
109 MRFZone& pm = this->operator[](i);
111 allOk = (allOk && ok);
122 this->operator[](i).writeData(os);
137 operator[](i).addCoriolis(
U, ddtU);
146 operator[](i).addCoriolis(
UEqn);
159 operator[](i).addCoriolis(
rho,
UEqn);
175 "MRFZoneList:acceleration",
176 U.mesh().time().timeName(),
187 operator[](i).addCoriolis(
U, acceleration);
190 return tacceleration;
208 operator[](i).makeRelative(
U);
217 operator[](i).makeRelative(
phi);
243 operator[](i).makeRelative(rphi());
258 operator[](i).makeRelative(
rho,
phi);
267 operator[](i).makeAbsolute(
U);
276 operator[](i).makeAbsolute(
phi);
300 operator[](i).makeAbsolute(
rho,
phi);
309 operator[](i).correctBoundaryVelocity(
U);
322 relative(mesh_.Sf().boundaryField() &
U.boundaryField())
346 models.writeData(os);
MRF zone definition based on cell zone and parameters obtained from a control dictionary constructed ...
void addAcceleration(const volVectorField &U, volVectorField &ddtU) const
Add the frame acceleration.
points setSize(newPointi)
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
A class for handling words, derived from string.
MRFZoneList(const MRFZoneList &)
Disallow default bitwise copy construct.
bool writeData(Ostream &os) const
Write data to Ostream.
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
List container for MRF zomes.
void reset(const dictionary &dict)
Reset the source list.
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
Ostream & endl(Ostream &os)
Add newline and flush stream.
void correctBoundaryVelocity(volVectorField &U) const
Correct the boundary velocity for the rotation of the MRF region.
bool active(const bool warn=false) const
Return active status.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
void makeRelative(surfaceScalarField &phi, const volVectorField &U)
Make the given flux relative.
bool read(const dictionary &dict)
Read MRF dictionary.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
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 makeRelative(volVectorField &U) const
Make the given absolute velocity relative within the MRF region.
tmp< surfaceScalarField > absolute(const tmp< surfaceScalarField > &phi) const
Return the given relative flux absolute within the MRF region.
tmp< volVectorField > DDt(const volVectorField &U) const
Return the frame acceleration.
tmp< fvVectorMatrix > UEqn(fvm::div(phi, U)+MRF.DDt(U)+turbulence->divDevReff(U)==fvOptions(U))
A list of keyword definitions, which are a keyword followed by any number of values (e....
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
tmp< surfaceScalarField > relative(const tmp< surfaceScalarField > &phi) const
Return the given absolute flux relative within the MRF region.
void makeAbsolute(volVectorField &U) const
Make the given relative velocity absolute within the MRF region.
void correctBoundaryFlux(const volVectorField &U, surfaceScalarField &phi) const
Correct the boundary flux for the rotation of the MRF region.
tmp< surfaceScalarField > relative(const tmp< surfaceScalarField > &tphi, const volVectorField &U)
Return the given absolute flux in relative form.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
bool read(const dictionary &dict)
Read dictionary.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
~MRFZoneList()
Destructor.
void makeAbsolute(surfaceScalarField &phi, const volVectorField &U)
Make the given flux absolute.
bool good() const
Return true if next operation might succeed.
const word & name() const
Return const access to the MRF region name.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
Generic GeometricField class.
word name(const complex &)
Return a string representation of a complex.
tmp< GeometricField< Type, fvPatchField, volMesh > > DDt(const surfaceScalarField &phi, const GeometricField< Type, fvPatchField, volMesh > &psi)