Class which provides population balance functionality. More...
Public Member Functions | |
PopulationBalancePhaseSystem (const fvMesh &) | |
Construct from fvMesh. More... | |
virtual | ~PopulationBalancePhaseSystem () |
Destructor. More... | |
virtual tmp< volScalarField > | dmdt (const phasePairKey &key) const |
Return the mass transfer rate for a pair. More... | |
virtual PtrList< volScalarField > | dmdts () const |
Return the mass transfer rates for each phase. More... | |
virtual autoPtr< phaseSystem::massTransferTable > | massTransfer () const |
Return the mass transfer matrices. More... | |
virtual bool | read () |
Read base phaseProperties dictionary. More... | |
virtual void | solve () |
Solve all population balance equations. More... | |
Protected Types | |
typedef HashPtrTable< volScalarField, phasePairKey, phasePairKey::hash > | pDmdtTable |
Protected Member Functions | |
virtual tmp< volScalarField > | pDmdt (const phasePairKey &key) const |
Return the population balance mass transfer rate. More... | |
Protected Attributes | |
PtrList< diameterModels::populationBalanceModel > | populationBalances_ |
populationBalanceModels More... | |
pDmdtTable | pDmdt_ |
Interfacial Mass transfer rate. More... | |
Class which provides population balance functionality.
Definition at line 55 of file PopulationBalancePhaseSystem.H.
|
protected |
Definition at line 64 of file PopulationBalancePhaseSystem.H.
PopulationBalancePhaseSystem | ( | const fvMesh & | mesh | ) |
Construct from fvMesh.
Definition at line 54 of file PopulationBalancePhaseSystem.C.
References IOobject::AUTO_WRITE, Foam::dimDensity, Foam::dimTime, forAll, forAllConstIter, IOobject::groupName(), phasePair::name(), phasePairKey::ordered(), PopulationBalancePhaseSystem< BasePhaseSystem >::pDmdt_, populationBalanceModel::phasePairs(), PopulationBalancePhaseSystem< BasePhaseSystem >::populationBalances_, IOobject::READ_IF_PRESENT, and HashPtrTable< T, Key, Hash >::set().
|
virtual |
Destructor.
Definition at line 134 of file PopulationBalancePhaseSystem.C.
|
protectedvirtual |
Return the population balance mass transfer rate.
Definition at line 35 of file PopulationBalancePhaseSystem.C.
|
virtual |
Return the mass transfer rate for a pair.
Definition at line 143 of file PopulationBalancePhaseSystem.C.
|
virtual |
Return the mass transfer rates for each phase.
Definition at line 154 of file PopulationBalancePhaseSystem.C.
References forAllConstIter, phasePair::phase1(), and phasePair::phase2().
|
virtual |
Return the mass transfer matrices.
Definition at line 173 of file PopulationBalancePhaseSystem.C.
References forAll, forAllConstIter, IOobject::groupName(), phase::name(), phaseModel::name(), Foam::name(), Foam::negPart(), phasePairKey::ordered(), phasePair::phase1(), phasePair::phase2(), Foam::posPart(), psi, and Foam::fvm::Sp().
|
virtual |
Read base phaseProperties dictionary.
Definition at line 233 of file PopulationBalancePhaseSystem.C.
|
virtual |
Solve all population balance equations.
Definition at line 251 of file PopulationBalancePhaseSystem.C.
References forAll.
|
protected |
populationBalanceModels
Definition at line 70 of file PopulationBalancePhaseSystem.H.
Referenced by PopulationBalancePhaseSystem< BasePhaseSystem >::PopulationBalancePhaseSystem().
|
protected |
Interfacial Mass transfer rate.
Definition at line 73 of file PopulationBalancePhaseSystem.H.
Referenced by PopulationBalancePhaseSystem< BasePhaseSystem >::PopulationBalancePhaseSystem().