53 Ostream&
operator<<(Ostream&
os,
const MRFZoneList& models);
92 bool active(
const bool warn =
false)
const;
~MRFZoneList()=default
Destructor.
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.
void reset(const dictionary &dict)
Reset the source list.
void addAcceleration(const volVectorField &U, volVectorField &ddtU) const
Add the frame acceleration.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
MRF zone definition based on cell zone and parameters obtained from a control dictionary constructed ...
const fvMesh & mesh_
Reference to the mesh database.
A field of fields is a PtrList of fields with reference counting.
const MRFZone & getFromName(const word &name) const
Return the MRF with a given name.
bool active(const bool warn=false) const
Return active status.
void correctBoundaryVelocity(volVectorField &U) const
Correct the boundary velocity for the rotation of the MRF region.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
A class for handling words, derived from Foam::string.
void correctBoundaryFlux(const volVectorField &U, surfaceScalarField &phi) const
Correct the boundary flux for the rotation of the MRF region.
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.
tmp< volVectorField > DDt(const volVectorField &U) const
Return the frame acceleration.
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.
OBJstream os(runTime.globalPath()/outputName)
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > zeroFilter(const tmp< GeometricField< Type, fvsPatchField, surfaceMesh >> &tphi) const
Filter-out the MRF region contribution from the given field.
tmp< surfaceScalarField > relative(const tmp< surfaceScalarField > &phi) const
Return the given absolute flux relative within the MRF region.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Forward declarations of fvMatrix specializations.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
Mesh data needed to do the Finite Volume discretisation.
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.