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 51 of file PopulationBalancePhaseSystem.H.
|
protected |
Definition at line 60 of file PopulationBalancePhaseSystem.H.
PopulationBalancePhaseSystem | ( | const fvMesh & | mesh | ) |
Construct from fvMesh.
Definition at line 49 of file PopulationBalancePhaseSystem.C.
References Foam::dimDensity, Foam::dimTime, forAll, forAllConstIter, Foam::glTF::key(), mesh, phasePair::name(), phasePairKey::ordered(), and populationBalanceModel::phasePairs().
|
virtual |
Destructor.
Definition at line 128 of file PopulationBalancePhaseSystem.C.
|
protectedvirtual |
Return the population balance mass transfer rate.
Definition at line 29 of file PopulationBalancePhaseSystem.C.
References Foam::glTF::key().
|
virtual |
Return the mass transfer rate for a pair.
Definition at line 137 of file PopulationBalancePhaseSystem.C.
References Foam::glTF::key().
|
virtual |
Return the mass transfer rates for each phase.
Definition at line 147 of file PopulationBalancePhaseSystem.C.
References forAllConstIter, phasePair::phase1(), and phasePair::phase2().
|
virtual |
Return the mass transfer matrices.
Definition at line 166 of file PopulationBalancePhaseSystem.C.
References forAll, forAllConstIter, massTransfer(), phase::name(), phaseModel::name(), Foam::name(), Foam::negPart(), phasePairKey::ordered(), phasePair::phase1(), phasePair::phase2(), Foam::posPart(), psi, and Sp.
|
virtual |
Read base phaseProperties dictionary.
Definition at line 226 of file PopulationBalancePhaseSystem.C.
References Foam::blockMeshTools::read().
|
virtual |
Solve all population balance equations.
Definition at line 244 of file PopulationBalancePhaseSystem.C.
References forAll, and solve().
|
protected |
populationBalanceModels
Definition at line 68 of file PopulationBalancePhaseSystem.H.
|
protected |
Interfacial Mass transfer rate.
Definition at line 73 of file PopulationBalancePhaseSystem.H.