Public Member Functions | List of all members
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< coalCloud > &)
 Copy constructor. More...
 
 PtrList (const PtrList< coalCloud > &, const CloneArg &)
 Copy constructor with additional argument for clone. More...
 
 PtrList (const Xfer< PtrList< coalCloud > > &)
 Construct by transferring the parameter contents. More...
 
 PtrList (PtrList< coalCloud > &, bool reUse)
 Construct as copy or re-use as specified. More...
 
 PtrList (const SLPtrList< coalCloud > &)
 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 ()
 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...
 
coalCloudfirst ()
 Return reference to the first element of the list. More...
 
const coalCloudfirst () const
 Return reference to first element of the list. More...
 
coalCloudlast ()
 Return reference to the last element of the list. More...
 
const coalCloudlast () 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 (coalCloud *)
 Append an element at the end of the list. More...
 
void append (const autoPtr< coalCloud > &)
 
void append (const tmp< coalCloud > &)
 
void transfer (PtrList< coalCloud > &)
 Transfer the contents of the argument PtrList into this PtrList. More...
 
Xfer< PtrList< coalCloud > > xfer ()
 Transfer contents to the Xfer container. More...
 
bool set (const label) const
 Is element set. More...
 
autoPtr< coalCloudset (const label, coalCloud *)
 Set element. Return old element (can be NULL). More...
 
autoPtr< coalCloudset (const label, const autoPtr< coalCloud > &)
 
autoPtr< coalCloudset (const label, const tmp< coalCloud > &)
 
void reorder (const labelUList &)
 Reorders elements. Ordering does not have to be done in. More...
 
const coalCloudoperator[] (const label) const
 Return element const reference. More...
 
coalCloudoperator[] (const label)
 Return element reference. More...
 
const coalCloudoperator() (const label) const
 Return element const pointer. More...
 
PtrList< coalCloud > & operator= (const PtrList< coalCloud > &)
 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...
 

Additional Inherited Members

- Public Types inherited from PtrList< coalCloud >
typedef coalCloud value_type
 Type of values the PtrList contains. More...
 
typedef coalCloudreference
 Type that can be used for storing into PtrList::value_type objects. More...
 
typedef const coalCloudconst_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 ( const volScalarField rho,
const volVectorField U,
const dimensionedVector g,
const SLGThermo slgThermo 
)

Definition at line 31 of file coalCloudList.C.

References Foam::endl(), forAllConstIter(), Foam::Info, dictionary::lookup(), Foam::name(), setSize(), and HashTable< T, Key, Hash >::size().

Here is the call graph for this function:

Member Function Documentation

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:

Return const reference to momentum source.

Definition at line 31 of file coalCloudListI.H.

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

Here is the call graph for this function:

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 PtrList< coalCloud >::operator[]().

Referenced by coalCloudList::UTrans().

Here is the call graph for this function:

Here is the caller graph for this function:

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, IOobject::NO_WRITE, PtrList< coalCloud >::operator[](), coalCloudList::Sh(), fvMesh::time(), and Time::timeName().

Here is the call graph for this function:

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, forAll, PtrList< coalCloud >::operator[](), and coalCloudList::SYi().

Referenced by coalCloudList::hsTrans().

Here is the call graph for this function:

Here is the caller graph for this function:

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, forAll, and PtrList< coalCloud >::operator[]().

Referenced by coalCloudList::Sh().

Here is the call graph for this function:

Here is the caller graph for this function:

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, IOobject::NO_WRITE, PtrList< coalCloud >::operator[](), fvMesh::time(), and Time::timeName().

Here is the call graph for this function:

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, IOobject::NO_WRITE, PtrList< coalCloud >::operator[](), fvMesh::time(), and Time::timeName().

Referenced by coalCloudList::Srho().

Here is the call graph for this function:

Here is the caller graph for this function:

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, IOobject::NO_WRITE, PtrList< coalCloud >::operator[](), coalCloudList::Srho(), fvMesh::time(), and Time::timeName().

Here is the call graph for this function:

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 PtrList< coalCloud >::operator[]().

Here is the call graph for this function:


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