Public Member Functions | Private Attributes
coalCloudList Class Reference
Inheritance diagram for coalCloudList:
Inheritance graph
[legend]
Collaboration diagram for coalCloudList:
Collaboration graph
[legend]

Public Member Functions

 coalCloudList (const volScalarField &rho, const volVectorField &U, const dimensionedVector &g, const SLGThermo &slgThermo)
 
void evolve ()
 Evolve the cloud collection. More...
 
tmp< DimensionedField< vector, volMesh > > UTrans () const
 Return const reference to momentum source. More...
 
tmp< fvVectorMatrixSU (volVectorField &U) const
 Return tmp momentum source term. More...
 
tmp< DimensionedField< scalar, volMesh > > hsTrans () const
 Sensible enthalpy transfer [J/kg]. More...
 
tmp< fvScalarMatrixSh (volScalarField &hs) const
 Return sensible enthalpy source term [J/kg/m3/s]. More...
 
tmp< fvScalarMatrixSYi (const label i, volScalarField &Yi) const
 Return mass source term for specie i - specie eqn. More...
 
tmp< DimensionedField< scalar, volMesh > > rhoTrans () const
 Return total mass transfer [kg/m3]. More...
 
tmp< DimensionedField< scalar, volMesh > > Srho () const
 Return tmp total mass source for carrier phase. More...
 
tmp< DimensionedField< scalar, volMesh > > Srho (const label i) const
 Return tmp total mass source for carrier phase specie i. More...
 
tmp< fvScalarMatrixSrho (volScalarField &rho) const
 Return total mass source term [kg/m3/s]. More...
 
- Public Member Functions inherited from PtrList< coalCloud >
 PtrList ()
 Null Constructor. More...
 
 PtrList (const label)
 Construct with size specified. More...
 
 PtrList (const PtrList< T > &)
 Copy constructor. More...
 
 PtrList (const PtrList< T > &, const CloneArg &)
 Copy constructor with additional argument for clone. More...
 
 PtrList (const Xfer< PtrList< T > > &)
 Construct by transferring the parameter contents. More...
 
 PtrList (PtrList< T > &, bool reUse)
 Construct as copy or re-use as specified. More...
 
 PtrList (const SLPtrList< T > &)
 Construct as copy of SLPtrList<T> More...
 
 PtrList (Istream &, const INew &)
 Construct from Istream using given Istream constructor class. More...
 
 PtrList (Istream &)
 Construct from Istream using default Istream constructor class. More...
 
 PtrList ()
 
 PtrList (const label s)
 
 PtrList (const PtrList< T > &a)
 
 PtrList (const Xfer< PtrList< T > > &lst)
 
 PtrList (PtrList< T > &a, bool reUse)
 
 PtrList (const SLPtrList< T > &sll)
 
 PtrList (Istream &is)
 
 ~PtrList ()
 Destructor. More...
 
label size () const
 Return the number of elements in the PtrList. More...
 
bool empty () const
 Return true if the PtrList is empty (ie, size() is zero). More...
 
Tfirst ()
 Return reference to the first element of the list. More...
 
const Tfirst () const
 Return reference to first element of the list. More...
 
Tlast ()
 Return reference to the last element of the list. More...
 
const Tlast () const
 Return reference to the last element of the list. More...
 
void setSize (const label)
 Reset size of PtrList. If extending the PtrList, new entries are. More...
 
void resize (const label)
 Alias for setSize(const label) More...
 
void clear ()
 Clear the PtrList, i.e. set size to zero deleting all the. More...
 
void append (T *)
 Append an element at the end of the list. More...
 
void append (const autoPtr< T > &)
 
void append (const tmp< T > &)
 
void transfer (PtrList< T > &)
 Transfer the contents of the argument PtrList into this PtrList. More...
 
Xfer< PtrList< T > > xfer ()
 Transfer contents to the Xfer container. More...
 
bool set (const label) const
 Is element set. More...
 
autoPtr< Tset (const label, T *)
 Set element. Return old element (can be NULL). More...
 
autoPtr< Tset (const label, const autoPtr< T > &)
 
autoPtr< Tset (const label, const tmp< T > &)
 
void reorder (const labelUList &)
 Reorders elements. Ordering does not have to be done in. More...
 
const Toperator[] (const label) const
 Return element const reference. More...
 
Toperator[] (const label)
 Return element reference. More...
 
const Toperator() (const label) const
 Return element const pointer. More...
 
PtrList< T > & operator= (const PtrList< T > &)
 Assignment. More...
 
iterator begin ()
 Return an iterator to begin traversing the PtrList. More...
 
const_iterator begin () const
 Return an const_iterator to begin traversing the PtrList. More...
 
iterator end ()
 Return an iterator to end traversing the PtrList. More...
 
const_iterator end () const
 Return an const_iterator to end traversing the PtrList. More...
 
const_iterator cbegin () const
 Return an const_iterator to begin traversing the PtrList. More...
 
const_iterator cend () const
 Return an const_iterator to end traversing the PtrList. More...
 

Private Attributes

const fvMeshmesh_
 Reference to the mesh. More...
 

Additional Inherited Members

- Public Types inherited from PtrList< coalCloud >
typedef T value_type
 Type of values the PtrList contains. More...
 
typedef Treference
 Type that can be used for storing into PtrList::value_type objects. More...
 
- Data Fields inherited from PtrList< coalCloud >
const typedef Tconst_reference
 Type that can be used for storing into constant PtrList::value_type. More...
 
- Protected Member Functions inherited from PtrList< coalCloud >
void read (Istream &, const INew &inewt)
 Read from Istream using given Istream constructor class. More...
 

Detailed Description

Definition at line 42 of file coalCloudList.H.

Constructor & Destructor Documentation

◆ coalCloudList()

coalCloudList ( const volScalarField rho,
const volVectorField U,
const dimensionedVector g,
const SLGThermo slgThermo 
)

Definition at line 31 of file coalCloudList.C.

References Foam::endl(), forAllConstIter(), g, Foam::Info, dictionary::lookup(), Foam::name(), rho, setSize(), HashTable::size(), slgThermo(), and U.

Here is the call graph for this function:

Member Function Documentation

◆ evolve()

void evolve ( )

Evolve the cloud collection.

Definition at line 83 of file coalCloudList.C.

References forAll, and PtrList< coalCloud >::operator[]().

Here is the call graph for this function:

◆ UTrans()

Return const reference to momentum source.

Definition at line 31 of file coalCloudListI.H.

References Foam::dimMass, Foam::dimVelocity, fld(), forAll, coalCloudList::mesh_, IOobject::NO_READ, IOobject::NO_WRITE, PtrList< coalCloud >::operator[](), fvMesh::time(), Time::timeName(), and Vector< scalar >::zero.

Here is the call graph for this function:

◆ SU()

Foam::tmp< Foam::fvVectorMatrix > SU ( volVectorField U) const
inline

Return tmp momentum source term.

Definition at line 62 of file coalCloudListI.H.

References Foam::dimForce, forAll, and U.

◆ hsTrans()

Foam::tmp< Foam::DimensionedField< Foam::scalar, Foam::volMesh > > hsTrans ( ) const
inline

Sensible enthalpy transfer [J/kg].

Definition at line 79 of file coalCloudListI.H.

References Foam::dimEnergy, fld(), forAll, IOobject::NO_READ, and IOobject::NO_WRITE.

Here is the call graph for this function:

◆ Sh()

Foam::tmp< Foam::fvScalarMatrix > Sh ( volScalarField hs) const
inline

Return sensible enthalpy source term [J/kg/m3/s].

Definition at line 110 of file coalCloudListI.H.

References Foam::dimEnergy, Foam::dimTime, and forAll.

◆ SYi()

Foam::tmp< Foam::fvScalarMatrix > SYi ( const label  i,
volScalarField Yi 
) const
inline

Return mass source term for specie i - specie eqn.

Definition at line 127 of file coalCloudListI.H.

References Foam::dimMass, Foam::dimTime, and forAll.

◆ rhoTrans()

Foam::tmp< Foam::DimensionedField< Foam::scalar, Foam::volMesh > > rhoTrans ( ) const
inline

Return total mass transfer [kg/m3].

Definition at line 145 of file coalCloudListI.H.

References Foam::dimMass, fld(), forAll, IOobject::NO_READ, and IOobject::NO_WRITE.

Here is the call graph for this function:

◆ Srho() [1/3]

Foam::tmp< Foam::DimensionedField< Foam::scalar, Foam::volMesh > > Srho ( ) const
inline

Return tmp total mass source for carrier phase.

  • fully explicit

Definition at line 181 of file coalCloudListI.H.

References Foam::dimDensity, Foam::dimTime, fld(), forAll, IOobject::NO_READ, and IOobject::NO_WRITE.

Here is the call graph for this function:

◆ Srho() [2/3]

Foam::tmp< Foam::DimensionedField< Foam::scalar, Foam::volMesh > > Srho ( const label  i) const
inline

Return tmp total mass source for carrier phase specie i.

  • fully explicit

Definition at line 213 of file coalCloudListI.H.

References Foam::dimDensity, Foam::dimTime, fld(), forAll, IOobject::NO_READ, and IOobject::NO_WRITE.

Here is the call graph for this function:

◆ Srho() [3/3]

Foam::tmp< Foam::fvScalarMatrix > Srho ( volScalarField rho) const
inline

Return total mass source term [kg/m3/s].

Definition at line 246 of file coalCloudListI.H.

References Foam::dimMass, Foam::dimTime, forAll, and rho.

Field Documentation

◆ mesh_

const fvMesh& mesh_
private

Reference to the mesh.

Definition at line 49 of file coalCloudList.H.

Referenced by coalCloudList::UTrans().


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