40 #ifndef PopulationBalancePhaseSystem_H 41 #define PopulationBalancePhaseSystem_H 55 template<
class BasePhaseSystem>
58 public BasePhaseSystem
110 virtual void solve();
Class which provides population balance functionality.
virtual ~PopulationBalancePhaseSystem()
Destructor.
virtual autoPtr< phaseSystem::massTransferTable > massTransfer() const
Return the mass transfer matrices.
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.
An ordered or unorder pair of phase names. Typically specified as follows.
virtual tmp< volScalarField > pDmdt(const phasePairKey &key) const
Return the population balance mass transfer rate.
PopulationBalancePhaseSystem(const fvMesh &)
Construct from fvMesh.
virtual PtrList< volScalarField > dmdts() const
Return the mass transfer rates for each phase.
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...
Mesh data needed to do the Finite Volume discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
A class for managing temporary objects.
HashPtrTable< volScalarField, phasePairKey, phasePairKey::hash > pDmdtTable
virtual bool read()
Read base phaseProperties dictionary.
pDmdtTable pDmdt_
Interfacial Mass transfer rate.