populationBalanceSystem Class Reference

Class which provides population balance functionality. Holds a number of population balances and provides access to the transfers that result from the population balance interactions. More...

Public Member Functions

 TypeName ("populationBalanceSystem")
 Runtime type information. More...
 
 populationBalanceSystem (const phaseSystem &)
 Construct from a phase system. More...
 
virtual ~populationBalanceSystem ()
 Destructor. More...
 
PtrList< volScalarField::Internaldmdts () const
 Return the mass transfer rates for each phase. More...
 
autoPtr< HashPtrTable< fvVectorMatrix > > momentumTransfer ()
 Return the momentum transfer matrices for the cell-based algorithm. More...
 
autoPtr< HashPtrTable< fvVectorMatrix > > momentumTransferf ()
 Return the momentum transfer matrices for the face-based algorithm. More...
 
autoPtr< HashPtrTable< fvScalarMatrix > > heatTransfer () const
 Return the heat transfer matrices. More...
 
autoPtr< HashPtrTable< fvScalarMatrix > > specieTransfer () const
 Return the specie transfer matrices. More...
 
void solve ()
 Solve all population balance equations. More...
 
void correct ()
 Correct the population balances. More...
 

Detailed Description

Class which provides population balance functionality. Holds a number of population balances and provides access to the transfers that result from the population balance interactions.

See also
Foam::diameterModels::populationBalanceModel
Source files

Definition at line 54 of file populationBalanceSystem.H.

Constructor & Destructor Documentation

◆ populationBalanceSystem()

Construct from a phase system.

Definition at line 184 of file populationBalanceSystem.C.

References dictionary::found(), and dictionary::lookup().

Here is the call graph for this function:

◆ ~populationBalanceSystem()

Destructor.

Definition at line 207 of file populationBalanceSystem.C.

Member Function Documentation

◆ TypeName()

TypeName ( "populationBalanceSystem"  )

Runtime type information.

◆ dmdts()

Return the mass transfer rates for each phase.

Definition at line 214 of file populationBalanceSystem.C.

References forAll.

◆ momentumTransfer()

Return the momentum transfer matrices for the cell-based algorithm.

Definition at line 230 of file populationBalanceSystem.C.

References Foam::dimMass, Foam::dimTime, Foam::dimVelocity, forAll, HashTable< T, Key, Hash >::insert(), phaseModel::name(), and phaseModel::U().

Here is the call graph for this function:

◆ momentumTransferf()

Return the momentum transfer matrices for the face-based algorithm.

Definition at line 261 of file populationBalanceSystem.C.

◆ heatTransfer()

Return the heat transfer matrices.

Definition at line 268 of file populationBalanceSystem.C.

References Foam::dimEnergy, Foam::dimTime, forAll, basicThermo::he(), HashTable< T, Key, Hash >::insert(), phaseModel::name(), and phaseModel::thermo().

Here is the call graph for this function:

◆ specieTransfer()

Foam::autoPtr< Foam::HashPtrTable< Foam::fvScalarMatrix > > specieTransfer ( ) const

Return the specie transfer matrices.

Definition at line 299 of file populationBalanceSystem.C.

References Foam::dimMass, Foam::dimTime, forAll, HashTable< T, Key, Hash >::insert(), Foam::name(), phaseModel::Y(), and Y.

Here is the call graph for this function:

◆ solve()

void solve ( )

Solve all population balance equations.

Definition at line 335 of file populationBalanceSystem.C.

References forAll.

◆ correct()

void correct ( )

Correct the population balances.

Definition at line 344 of file populationBalanceSystem.C.

References forAll.


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