List container for MRF zomes. More...
Public Member Functions | |
MRFZoneList (const fvMesh &mesh, const dictionary &dict) | |
~MRFZoneList ()=default | |
bool | active (const bool warn=false) const |
void | reset (const dictionary &dict) |
const MRFZone & | getFromName (const word &name) const |
void | addAcceleration (const volVectorField &U, volVectorField &ddtU) const |
void | addAcceleration (fvVectorMatrix &UEqn) const |
void | addAcceleration (const volScalarField &rho, fvVectorMatrix &UEqn) const |
tmp< volVectorField > | DDt (const volVectorField &U) const |
tmp< volVectorField > | DDt (const volScalarField &rho, const volVectorField &U) const |
void | makeRelative (volVectorField &U) const |
void | makeRelative (surfaceScalarField &phi) const |
tmp< surfaceScalarField > | relative (const tmp< surfaceScalarField > &phi) const |
tmp< FieldField< fvsPatchField, scalar > > | relative (const tmp< FieldField< fvsPatchField, scalar >> &tphi) const |
tmp< Field< scalar > > | relative (const tmp< Field< scalar >> &tphi, const label patchi) const |
void | makeRelative (const surfaceScalarField &rho, surfaceScalarField &phi) const |
void | makeAbsolute (volVectorField &U) const |
void | makeAbsolute (surfaceScalarField &phi) const |
tmp< surfaceScalarField > | absolute (const tmp< surfaceScalarField > &phi) const |
void | makeAbsolute (const surfaceScalarField &rho, surfaceScalarField &phi) const |
void | correctBoundaryVelocity (volVectorField &U) const |
void | correctBoundaryFlux (const volVectorField &U, surfaceScalarField &phi) const |
template<class Type > | |
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > | zeroFilter (const tmp< GeometricField< Type, fvsPatchField, surfaceMesh >> &tphi) const |
void | update () |
bool | read (const dictionary &dict) |
bool | writeData (Ostream &os) const |
template<class Type > | |
Foam::tmp< Foam::GeometricField< Type, Foam::fvsPatchField, Foam::surfaceMesh > > | zeroFilter (const tmp< GeometricField< Type, fvsPatchField, surfaceMesh >> &tphi) const |
![]() | |
constexpr | PtrList () noexcept |
PtrList (const label len) | |
PtrList (const PtrList< T > &list) | |
PtrList (PtrList< T > &&list) | |
PtrList (UList< T * > &list) | |
PtrList (const PtrList< T > &list, const CloneArg &cloneArgs) | |
PtrList (PtrList< T > &list, bool reuse) | |
PtrList (const SLPtrList< T > &list) | |
PtrList (Istream &is, const INew &inew) | |
PtrList (Istream &is) | |
PtrList (PtrList< T > &list, bool reuse) | |
PtrList (const SLPtrList< T > &list) | |
constexpr | PtrList () noexcept |
PtrList (const label len) | |
PtrList (const PtrList< T > &list) | |
PtrList (PtrList< T > &&list) | |
PtrList (UList< T * > &list) | |
PtrList (Istream &is) | |
~PtrList () | |
PtrList< T > | clone (Args &&... args) const |
Foam::PtrList< T > | clone (Args &&... args) const |
const T * | set (const label i) const |
autoPtr< T > | set (const label i, T *ptr) |
autoPtr< T > | set (const label i, autoPtr< T > &ptr) |
autoPtr< T > | set (const label i, autoPtr< T > &&ptr) |
autoPtr< T > | set (const label i, std::unique_ptr< T > &&ptr) |
autoPtr< T > | set (const label i, const refPtr< T > &ptr) |
autoPtr< T > | set (const label i, const tmp< T > &ptr) |
void | clear () |
void | resize (const label newLen) |
void | setSize (const label newLen) |
void | emplace_append (Args &&... args) |
void | append (T *ptr) |
void | append (autoPtr< T > &ptr) |
void | append (autoPtr< T > &&ptr) |
void | append (std::unique_ptr< T > &&ptr) |
void | append (const refPtr< T > &ptr) |
void | append (const tmp< T > &ptr) |
autoPtr< T > | emplace (const label i, Args &&... args) |
Foam::autoPtr< T > | emplace (const label i, Args &&... args) |
autoPtr< T > | release (const label i) |
void | transfer (PtrList< T > &list) |
void | operator= (const PtrList< T > &list) |
void | operator= (PtrList< T > &&list) |
Protected Attributes | |
const fvMesh & | mesh_ |
Friends | |
Ostream & | operator<< (Ostream &os, const MRFZoneList &models) |
Additional Inherited Members | |
![]() | |
void | readIstream (Istream &is, const INew &inew) |
void | free () |
MRFZoneList | ( | const fvMesh & | mesh, |
const dictionary & | dict | ||
) |
|
default |
Definition at line 45 of file MRFZoneList.C.
References Foam::endl(), forAll, and Foam::Info.
void reset | ( | const dictionary & | dict | ) |
Definition at line 62 of file MRFZoneList.C.
References Foam::BitOps::count(), dict, Foam::endl(), Foam::Info, Foam::name(), resize(), and Foam::BitOps::set().
const Foam::MRFZone & getFromName | ( | const word & | name | ) | const |
Definition at line 96 of file MRFZoneList.C.
References List::append(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::name(), and Foam::PtrListOps::names().
void addAcceleration | ( | const volVectorField & | U, |
volVectorField & | ddtU | ||
) | const |
Definition at line 145 of file MRFZoneList.C.
References U.
void addAcceleration | ( | fvVectorMatrix & | UEqn | ) | const |
Definition at line 157 of file MRFZoneList.C.
References UEqn.
void addAcceleration | ( | const volScalarField & | rho, |
fvVectorMatrix & | UEqn | ||
) | const |
Definition at line 167 of file MRFZoneList.C.
Foam::tmp< Foam::volVectorField > DDt | ( | const volVectorField & | U | ) | const |
Definition at line 180 of file MRFZoneList.C.
References Foam::dimTime, tmp::New(), U, and Foam::Zero.
Foam::tmp< Foam::volVectorField > DDt | ( | const volScalarField & | rho, |
const volVectorField & | U | ||
) | const |
Definition at line 208 of file MRFZoneList.C.
References Foam::fvc::DDt(), rho, and U.
void makeRelative | ( | volVectorField & | U | ) | const |
Definition at line 217 of file MRFZoneList.C.
References U.
void makeRelative | ( | surfaceScalarField & | phi | ) | const |
Definition at line 226 of file MRFZoneList.C.
References phi.
Foam::tmp< Foam::surfaceScalarField > relative | ( | const tmp< surfaceScalarField > & | phi | ) | const |
Definition at line 236 of file MRFZoneList.C.
References tmp::clear(), Foam::fvc::makeRelative(), Foam::name(), Foam::New(), and tmp::ref().
Foam::tmp< Foam::FieldField< Foam::fvsPatchField, Foam::scalar > > relative | ( | const tmp< FieldField< fvsPatchField, scalar >> & | tphi | ) | const |
Definition at line 268 of file MRFZoneList.C.
References tmp::clear(), Foam::New(), and tmp::ref().
Foam::tmp< Foam::Field< Foam::scalar > > relative | ( | const tmp< Field< scalar >> & | tphi, |
const label | patchi | ||
) | const |
Definition at line 294 of file MRFZoneList.C.
References tmp::clear(), Foam::New(), and tmp::ref().
void makeRelative | ( | const surfaceScalarField & | rho, |
surfaceScalarField & | phi | ||
) | const |
Definition at line 320 of file MRFZoneList.C.
void makeAbsolute | ( | volVectorField & | U | ) | const |
Definition at line 332 of file MRFZoneList.C.
References U.
void makeAbsolute | ( | surfaceScalarField & | phi | ) | const |
Definition at line 341 of file MRFZoneList.C.
References phi.
Foam::tmp< Foam::surfaceScalarField > absolute | ( | const tmp< surfaceScalarField > & | phi | ) | const |
Definition at line 351 of file MRFZoneList.C.
References tmp::clear(), Foam::fvc::makeAbsolute(), Foam::name(), Foam::New(), and tmp::ref().
void makeAbsolute | ( | const surfaceScalarField & | rho, |
surfaceScalarField & | phi | ||
) | const |
Definition at line 382 of file MRFZoneList.C.
void correctBoundaryVelocity | ( | volVectorField & | U | ) | const |
Definition at line 394 of file MRFZoneList.C.
References U.
void correctBoundaryFlux | ( | const volVectorField & | U, |
surfaceScalarField & | phi | ||
) | const |
Definition at line 404 of file MRFZoneList.C.
References GeometricField::boundaryFieldRef(), forAll, phi, Foam::fvc::relative(), U, and Uf.
tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > zeroFilter | ( | const tmp< GeometricField< Type, fvsPatchField, surfaceMesh >> & | tphi | ) | const |
void update | ( | ) |
Definition at line 426 of file MRFZoneList.C.
bool read | ( | const dictionary & | dict | ) |
Definition at line 120 of file MRFZoneList.C.
References dict, and dictionary::subDict().
Referenced by IOMRFZoneList::read().
Definition at line 132 of file MRFZoneList.C.
References IOstream::good(), Foam::nl, and os().
Foam::tmp<Foam::GeometricField<Type, Foam::fvsPatchField, Foam::surfaceMesh> > zeroFilter | ( | const tmp< GeometricField< Type, fvsPatchField, surfaceMesh >> & | tphi | ) | const |
Definition at line 28 of file MRFZoneListTemplates.C.
References forAll, Foam::name(), Foam::New(), and tmp::ref().
|
friend |
|
protected |
Definition at line 72 of file MRFZoneList.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.