Public Member Functions | |
coalCloudList (const volScalarField &rho, const volVectorField &U, const dimensionedVector &g, const SLGThermo &slgThermo) | |
void | evolve () |
Evolve the cloud collection. More... | |
tmp< volVectorField::Internal > | UTrans () const |
Return const reference to momentum source. More... | |
tmp< fvVectorMatrix > | SU (volVectorField &U) const |
Return tmp momentum source term. More... | |
tmp< volScalarField::Internal > | hsTrans () const |
Sensible enthalpy transfer [J/kg]. More... | |
tmp< fvScalarMatrix > | Sh (volScalarField &hs) const |
Return sensible enthalpy source term [J/kg/m3/s]. More... | |
tmp< fvScalarMatrix > | SYi (const label i, volScalarField &Yi) const |
Return mass source term for specie i - specie eqn. More... | |
tmp< volScalarField::Internal > | rhoTrans () const |
Return total mass transfer [kg/m3]. More... | |
tmp< volScalarField::Internal > | Srho () const |
Return tmp total mass source for carrier phase. More... | |
tmp< volScalarField::Internal > | Srho (const label i) const |
Return tmp total mass source for carrier phase specie i. More... | |
tmp< fvScalarMatrix > | Srho (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... | |
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< coalCloud > | set (const label, coalCloud *) |
Set element to given T* and return old element (can be nullptr) More... | |
autoPtr< coalCloud > | set (const label, const autoPtr< coalCloud > &) |
Set element to given autoPtr<T> and return old element. More... | |
autoPtr< coalCloud > | set (const label, const tmp< coalCloud > &) |
Set element to given tmp<T> and return old element. More... | |
void | reorder (const labelUList &) |
Reorders elements. Ordering does not have to be done in. More... | |
void | operator= (const PtrList< coalCloud > &) |
Assignment. More... | |
Public Member Functions inherited from UPtrList< T > | |
UPtrList () | |
Null Constructor. More... | |
UPtrList (const label) | |
Construct with size specified. More... | |
UPtrList (const Xfer< UPtrList< T >> &) | |
Construct by transferring the parameter contents. More... | |
UPtrList (UPtrList< T > &, bool reuse) | |
Construct as copy or re-use as specified. More... | |
label | size () const |
Return the number of elements in the UPtrList. More... | |
bool | empty () const |
Return true if the UPtrList is empty (ie, size() is zero) More... | |
T & | first () |
Return reference to the first element of the list. More... | |
const T & | first () const |
Return reference to first element of the list. More... | |
T & | last () |
Return reference to the last element of the list. More... | |
const T & | last () const |
Return reference to the last element of the list. More... | |
void | setSize (const label) |
Reset size of UPtrList. This can only be used to set the size. More... | |
void | resize (const label) |
Reset size of UPtrList. This can only be used to set the size. More... | |
void | clear () |
Clear the UPtrList, i.e. set size to zero. More... | |
void | transfer (UPtrList< T > &) |
Transfer the contents of the argument UPtrList into this. More... | |
Xfer< UPtrList< T > > | xfer () |
Transfer contents to the Xfer container. More... | |
bool | set (const label) const |
Is element set. More... | |
T * | set (const label, T *) |
Set element. Return old element (can be nullptr). More... | |
void | reorder (const labelUList &) |
Reorders elements. Ordering does not have to be done in. More... | |
const T & | operator[] (const label) const |
Return element const reference. More... | |
T & | operator[] (const label) |
Return element reference. More... | |
const T * | operator() (const label) const |
Return element const pointer. More... | |
iterator | begin () |
Return an iterator to begin traversing the UPtrList. More... | |
iterator | end () |
Return an iterator to end traversing the UPtrList. More... | |
const_iterator | cbegin () const |
Return an const_iterator to begin traversing the UPtrList. More... | |
const_iterator | cend () const |
Return an const_iterator to end traversing the UPtrList. More... | |
const_iterator | begin () const |
Return an const_iterator to begin traversing the UPtrList. More... | |
const_iterator | end () const |
Return an const_iterator to end traversing the UPtrList. More... | |
Additional Inherited Members | |
Public Types inherited from UPtrList< T > | |
typedef T | value_type |
Type of values the UPtrList contains. More... | |
typedef T & | reference |
Type that can be used for storing into UPtrList::value_type objects. More... | |
typedef const T & | const_reference |
Type that can be used for storing into constant UPtrList::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... | |
Definition at line 42 of file coalCloudList.H.
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().
void evolve | ( | ) |
Evolve the cloud collection.
Definition at line 83 of file coalCloudList.C.
References forAll, and UPtrList< T >::operator[]().
|
inline |
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, UPtrList< T >::operator[](), tmp< T >::ref(), coalCloudList::SU(), fvMesh::time(), Time::timeName(), and Foam::Zero.
|
inline |
Return tmp momentum source term.
Definition at line 62 of file coalCloudListI.H.
References Foam::dimForce, forAll, UPtrList< T >::operator[](), and tmp< T >::ref().
Referenced by coalCloudList::UTrans().
|
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, UPtrList< T >::operator[](), tmp< T >::ref(), coalCloudList::Sh(), fvMesh::time(), and Time::timeName().
|
inline |
Return sensible enthalpy source term [J/kg/m3/s].
Definition at line 110 of file coalCloudListI.H.
References Foam::dimEnergy, Foam::dimTime, forAll, UPtrList< T >::operator[](), tmp< T >::ref(), and coalCloudList::SYi().
Referenced by coalCloudList::hsTrans().
|
inline |
Return mass source term for specie i - specie eqn.
Definition at line 127 of file coalCloudListI.H.
References Foam::dimMass, Foam::dimTime, forAll, UPtrList< T >::operator[](), and tmp< T >::ref().
Referenced by coalCloudList::Sh().
|
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, UPtrList< T >::operator[](), tmp< T >::ref(), fvMesh::time(), and Time::timeName().
|
inline |
Return tmp total mass source for carrier phase.
Definition at line 181 of file coalCloudListI.H.
References Foam::dimDensity, Foam::dimTime, fld(), forAll, IOobject::NO_READ, IOobject::NO_WRITE, UPtrList< T >::operator[](), tmp< T >::ref(), fvMesh::time(), and Time::timeName().
Referenced by coalCloudList::Srho().
|
inline |
Return tmp total mass source for carrier phase specie i.
Definition at line 213 of file coalCloudListI.H.
References Foam::dimDensity, Foam::dimTime, fld(), forAll, IOobject::NO_READ, IOobject::NO_WRITE, UPtrList< T >::operator[](), tmp< T >::ref(), coalCloudList::Srho(), fvMesh::time(), and Time::timeName().
|
inline |
Return total mass source term [kg/m3/s].
Definition at line 246 of file coalCloudListI.H.
References Foam::dimMass, Foam::dimTime, forAll, UPtrList< T >::operator[](), and tmp< T >::ref().