66 MRFZoneList(
const MRFZoneList&) =
delete;
69 void operator=(
const MRFZoneList&) =
delete;
92 bool active(
const bool warn =
false)
const;
220 const MRFZoneList& models
A field of fields is a PtrList of fields with reference counting.
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
Generic GeometricField class.
List container for MRF zomes.
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< GeometricField< Type, fvsPatchField, surfaceMesh > > zeroFilter(const tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > &tphi) const
Filter-out the MRF region contribution from the given field.
const fvMesh & mesh_
Reference to the mesh database.
~MRFZoneList()=default
Destructor.
bool writeData(Ostream &os) const
Write data to Ostream.
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 addAcceleration(const volVectorField &U, volVectorField &ddtU) const
Add the frame acceleration.
void makeAbsolute(volVectorField &U) const
Make the given relative velocity absolute within the MRF region.
void correctBoundaryVelocity(volVectorField &U) const
Correct the boundary velocity for the rotation of the MRF region.
const MRFZone & getFromName(const word &name) const
Return the MRF with a given name.
void makeRelative(volVectorField &U) const
Make the given absolute velocity relative within the MRF region.
void update()
Update MRFZone faces if the mesh topology changes.
tmp< surfaceScalarField > phi() const
Return the MRF absolute flux.
tmp< volVectorField > DDt(const volVectorField &U) const
Return the frame acceleration.
bool active(const bool warn=false) const
Return active status.
void correctBoundaryFlux(const volVectorField &U, surfaceScalarField &phi) const
Correct the boundary flux for the rotation of the MRF region.
MRF zone definition based on cell zone and parameters obtained from a control dictionary constructed ...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
constexpr PtrList() noexcept
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
Forward declarations of fvMatrix specializations.
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces).
fvMatrix< vector > fvVectorMatrix
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.