PopulationBalancePhaseSystem< BasePhaseSystem > Class Template Reference

Class which provides population balance functionality. More...

Inheritance diagram for PopulationBalancePhaseSystem< BasePhaseSystem >:
[legend]
Collaboration diagram for PopulationBalancePhaseSystem< BasePhaseSystem >:
[legend]

Public Member Functions

 PopulationBalancePhaseSystem (const fvMesh &)
 Construct from fvMesh. More...
 
virtual ~PopulationBalancePhaseSystem ()
 Destructor. More...
 
virtual tmp< volScalarFielddmdt (const phasePairKey &key) const
 Return the mass transfer rate for a pair. More...
 
virtual PtrList< volScalarFielddmdts () const
 Return the mass transfer rates for each phase. More...
 
virtual autoPtr< phaseSystem::massTransferTablemassTransfer () 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::hashpDmdtTable
 

Protected Member Functions

virtual tmp< volScalarFieldpDmdt (const phasePairKey &key) const
 Return the population balance mass transfer rate. More...
 

Protected Attributes

PtrList< diameterModels::populationBalanceModelpopulationBalances_
 populationBalanceModels More...
 
pDmdtTable pDmdt_
 Interfacial Mass transfer rate. More...
 

Detailed Description

template<class BasePhaseSystem>
class Foam::PopulationBalancePhaseSystem< BasePhaseSystem >

Class which provides population balance functionality.

See also
Foam::diameterModels::populationBalanceModel
Source files

Definition at line 55 of file PopulationBalancePhaseSystem.H.

Member Typedef Documentation

◆ pDmdtTable

Constructor & Destructor Documentation

◆ PopulationBalancePhaseSystem()

Construct from fvMesh.

Definition at line 56 of file PopulationBalancePhaseSystem.C.

References Foam::dimDensity, Foam::dimTime, forAll, forAllConstIter, Foam::glTF::key(), mesh, phasePair::name(), phasePairKey::ordered(), and populationBalanceModel::phasePairs().

Here is the call graph for this function:

◆ ~PopulationBalancePhaseSystem()

Destructor.

Definition at line 135 of file PopulationBalancePhaseSystem.C.

Member Function Documentation

◆ pDmdt()

Foam::tmp< Foam::volScalarField > pDmdt ( const phasePairKey key) const
protectedvirtual

Return the population balance mass transfer rate.

Definition at line 36 of file PopulationBalancePhaseSystem.C.

References Foam::glTF::key().

Here is the call graph for this function:

◆ dmdt()

Foam::tmp< Foam::volScalarField > dmdt ( const phasePairKey key) const
virtual

Return the mass transfer rate for a pair.

Definition at line 144 of file PopulationBalancePhaseSystem.C.

References Foam::glTF::key().

Here is the call graph for this function:

◆ dmdts()

Foam::PtrList< Foam::volScalarField > dmdts ( ) const
virtual

Return the mass transfer rates for each phase.

Definition at line 154 of file PopulationBalancePhaseSystem.C.

References forAllConstIter, phasePair::phase1(), and phasePair::phase2().

Here is the call graph for this function:

◆ massTransfer()

Foam::autoPtr< Foam::phaseSystem::massTransferTable > massTransfer ( ) const
virtual

Return the mass transfer matrices.

Definition at line 173 of file PopulationBalancePhaseSystem.C.

References forAll, forAllConstIter, massTransfer(), phase::name(), Foam::name(), phaseModel::name(), Foam::negPart(), phasePairKey::ordered(), phasePair::phase1(), phasePair::phase2(), Foam::posPart(), psi, and Sp.

Here is the call graph for this function:

◆ read()

bool read ( )
virtual

Read base phaseProperties dictionary.

Definition at line 233 of file PopulationBalancePhaseSystem.C.

References Foam::blockMeshTools::read().

Here is the call graph for this function:

◆ solve()

void solve ( )
virtual

Solve all population balance equations.

Definition at line 251 of file PopulationBalancePhaseSystem.C.

References forAll, and solve().

Here is the call graph for this function:

Member Data Documentation

◆ populationBalances_

PtrList<diameterModels::populationBalanceModel> populationBalances_
protected

populationBalanceModels

Definition at line 70 of file PopulationBalancePhaseSystem.H.

◆ pDmdt_

pDmdtTable pDmdt_
protected

Interfacial Mass transfer rate.

Definition at line 73 of file PopulationBalancePhaseSystem.H.


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