38 #ifndef PhaseTransferPhaseSystem_H 39 #define PhaseTransferPhaseSystem_H 49 template<
class modelType>
class BlendedInterfacialModel;
50 class phaseTransferModel;
56 template<
class BasePhaseSystem>
59 public BasePhaseSystem
PhaseTransferPhaseSystem(const fvMesh &)
Construct from fvMesh.
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.
virtual void correct()
Correct the mass transfer rates.
HashPtrTable< volScalarField, phasePairKey, phasePairKey::hash > rDmdtTable
Class which models non-thermally-coupled mass transfers; i.e., representation changes, rather than phase changes.
virtual bool read()
Read base phaseProperties dictionary.
Hashing functor for phasePairKey.
virtual autoPtr< phaseSystem::massTransferTable > massTransfer() const
Return the mass transfer matrices.
HashTable< autoPtr< BlendedInterfacialModel< phaseTransferModel > >, phasePairKey, phasePairKey::hash > phaseTransferModelTable
A HashTable similar to std::unordered_map.
An ordered or unorder pair of phase names. Typically specified as follows.
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.
virtual tmp< volScalarField > rDmdt(const phasePairKey &key) const
Return the representation mass transfer rate.
virtual ~PhaseTransferPhaseSystem()
Destructor.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
A class for managing temporary objects.
rDmdtTable rDmdt_
Mass transfer rates.
phaseTransferModelTable phaseTransferModels_
Mass transfer models.