Public Member Functions | Protected Attributes | Friends | List of all members
porosityModelList Class Reference

List container for porosity models. More...

Inheritance diagram for porosityModelList:
Inheritance graph
[legend]
Collaboration diagram for porosityModelList:
Collaboration graph
[legend]

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
 
- Public Member Functions inherited from PtrList< porosityModel >
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< Tclone (Args &&... args) const
 
Foam::PtrList< Tclone (Args &&... args) const
 
const Tset (const label i) const
 
autoPtr< Tset (const label i, T *ptr)
 
autoPtr< Tset (const label i, autoPtr< T > &ptr)
 
autoPtr< Tset (const label i, autoPtr< T > &&ptr)
 
autoPtr< Tset (const label i, std::unique_ptr< T > &&ptr)
 
autoPtr< Tset (const label i, const refPtr< T > &ptr)
 
autoPtr< Tset (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< Templace (const label i, Args &&... args)
 
Foam::autoPtr< Templace (const label i, Args &&... args)
 
autoPtr< Trelease (const label i)
 
void transfer (PtrList< T > &list)
 
void operator= (const PtrList< T > &list)
 
void operator= (PtrList< T > &&list)
 

Protected Attributes

const fvMeshmesh_
 

Friends

Ostreamoperator<< (Ostream &os, const porosityModelList &models)
 

Additional Inherited Members

- Protected Member Functions inherited from PtrList< porosityModel >
void readIstream (Istream &is, const INew &inew)
 
void free ()
 

Detailed Description

List container for porosity models.

Source files

Definition at line 53 of file porosityModelList.H.

Constructor & Destructor Documentation

◆ porosityModelList()

porosityModelList ( const fvMesh mesh,
const dictionary dict 
)

Definition at line 27 of file porosityModelList.C.

References dict, and reset().

Here is the call graph for this function:

◆ ~porosityModelList()

~porosityModelList ( )
default

Member Function Documentation

◆ active()

bool active ( const bool  warn = false) const

Definition at line 42 of file porosityModelList.C.

References Foam::endl(), forAll, and Foam::Info.

Here is the call graph for this function:

◆ reset()

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().

Here is the call graph for this function:

◆ addResistance() [1/3]

void addResistance ( fvVectorMatrix UEqn)

Definition at line 116 of file porosityModelList.C.

References forAll, and UEqn.

◆ addResistance() [2/3]

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.

◆ addResistance() [3/3]

void addResistance ( const fvVectorMatrix UEqn,
volTensorField AU,
bool  correctAUprocBC = true 
)

Definition at line 142 of file porosityModelList.C.

References forAll, and UEqn.

◆ read()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeData()

bool writeData ( Ostream os) const

Definition at line 103 of file porosityModelList.C.

References forAll, IOstream::good(), Foam::nl, and os().

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator<<

Ostream& operator<< ( Ostream os,
const porosityModelList models 
)
friend

Member Data Documentation

◆ mesh_

const fvMesh& mesh_
protected

Definition at line 73 of file porosityModelList.H.


The documentation for this class was generated from the following files: