Go to the documentation of this file.
40 #ifndef PopulationBalancePhaseSystem_H
41 #define PopulationBalancePhaseSystem_H
43 #include "phaseSystem.H"
55 template<
class BasePhaseSystem>
58 public BasePhaseSystem
110 virtual void solve();
virtual autoPtr< phaseSystem::massTransferTable > massTransfer() const
Return the mass transfer matrices.
A class for managing temporary objects.
HashPtrTable< volScalarField, phasePairKey, phasePairKey::hash > pDmdtTable
pDmdtTable pDmdt_
Interfacial Mass transfer rate.
auto key(const Type &t) -> typename std::enable_if< std::is_enum< Type >::value, typename std::underlying_type< Type >::type >::type
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
An ordered or unorder pair of phase names. Typically specified as follows.
virtual PtrList< volScalarField > dmdts() const
Return the mass transfer rates for each phase.
virtual tmp< volScalarField > dmdt(const phasePairKey &key) const
Return the mass transfer rate for a pair.
PtrList< diameterModels::populationBalanceModel > populationBalances_
populationBalanceModels
virtual void solve()
Solve all population balance equations.
Mesh data needed to do the Finite Volume discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual tmp< volScalarField > pDmdt(const phasePairKey &key) const
Return the population balance mass transfer rate.
virtual bool read()
Read base phaseProperties dictionary.
PopulationBalancePhaseSystem(const fvMesh &)
Construct from fvMesh.
Class which provides population balance functionality.
virtual ~PopulationBalancePhaseSystem()
Destructor.