List container for porosity models. More...
Public Member Functions | |
porosityModelList (const fvMesh &mesh, const dictionary &dict) | |
~porosityModelList ()=default | |
bool | active (const bool warn=false) const |
void | reset (const dictionary &dict) |
void | addResistance (fvVectorMatrix &UEqn) |
void | addResistance (fvVectorMatrix &UEqn, const volScalarField &rho, const volScalarField &mu) |
void | addResistance (const fvVectorMatrix &UEqn, volTensorField &AU, bool correctAUprocBC=true) |
bool | read (const dictionary &dict) |
bool | writeData (Ostream &os) 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 porosityModelList &models) |
Additional Inherited Members | |
![]() | |
void | readIstream (Istream &is, const INew &inew) |
void | free () |
porosityModelList | ( | const fvMesh & | mesh, |
const dictionary & | dict | ||
) |
|
default |
Definition at line 42 of file porosityModelList.C.
References Foam::endl(), forAll, and Foam::Info.
void reset | ( | const dictionary & | dict | ) |
Definition at line 59 of file porosityModelList.C.
References Foam::BitOps::count(), dict, Foam::name(), porosityModel::New(), resize(), and Foam::BitOps::set().
void addResistance | ( | fvVectorMatrix & | UEqn | ) |
Definition at line 116 of file porosityModelList.C.
void addResistance | ( | fvVectorMatrix & | UEqn, |
const volScalarField & | rho, | ||
const volScalarField & | mu | ||
) |
Definition at line 128 of file porosityModelList.C.
References forAll, Foam::constant::physicoChemical::mu, rho, and UEqn.
void addResistance | ( | const fvVectorMatrix & | UEqn, |
volTensorField & | AU, | ||
bool | correctAUprocBC = true |
||
) |
Definition at line 142 of file porosityModelList.C.
bool read | ( | const dictionary & | dict | ) |
Definition at line 90 of file porosityModelList.C.
References dict, forAll, porosityModel::name(), porosityModel::read(), and dictionary::subDict().
Referenced by IOporosityModelList::read().
Definition at line 103 of file porosityModelList.C.
References forAll, IOstream::good(), Foam::nl, and os().
|
friend |
|
protected |
Definition at line 73 of file porosityModelList.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.