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::Internal > | dmdts () 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... | |
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.
Definition at line 54 of file populationBalanceSystem.H.
| populationBalanceSystem | ( | const phaseSystem & | fluid | ) |
Construct from a phase system.
Definition at line 184 of file populationBalanceSystem.C.
References dictionary::found(), and dictionary::lookup().

|
virtual |
Destructor.
Definition at line 207 of file populationBalanceSystem.C.
| TypeName | ( | "populationBalanceSystem" | ) |
Runtime type information.
| Foam::PtrList< Foam::volScalarField::Internal > dmdts | ( | ) | const |
Return the mass transfer rates for each phase.
Definition at line 214 of file populationBalanceSystem.C.
References forAll.
| Foam::autoPtr< Foam::HashPtrTable< Foam::fvVectorMatrix > > 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().

| Foam::autoPtr< Foam::HashPtrTable< Foam::fvVectorMatrix > > momentumTransferf | ( | ) |
Return the momentum transfer matrices for the face-based algorithm.
Definition at line 261 of file populationBalanceSystem.C.
| Foam::autoPtr< Foam::HashPtrTable< Foam::fvScalarMatrix > > heatTransfer | ( | ) | const |
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().

| 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.

| void solve | ( | ) |
Solve all population balance equations.
Definition at line 335 of file populationBalanceSystem.C.
References forAll.
| void correct | ( | ) |
Correct the population balances.
Definition at line 344 of file populationBalanceSystem.C.
References forAll.