42 #ifndef InterfaceCompositionPhaseChangePhaseSystem_H 43 #define InterfaceCompositionPhaseChangePhaseSystem_H 53 class interfaceCompositionModel;
54 class massTransferModel;
60 template<
class BasePhaseSystem>
63 public BasePhaseSystem
InterfaceCompositionPhaseChangePhaseSystem(const fvMesh &)
Construct from fvMesh.
virtual autoPtr< phaseSystem::massTransferTable > massTransfer() const
Return the mass transfer matrices.
A HashTable of pointers to objects of type <T>, with deallocation management of the pointers...
virtual void correctInterfaceThermo()
Correct the interface temperatures.
Hashing functor for phasePairKey.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
An ordered pair of two objects of type <T> with first() and second() elements.
massTransferModelTable massTransferModels_
Mass transfer models.
const label nInterfaceCorrectors_
The number of interface correctors.
virtual PtrList< volScalarField > dmdts() const
Return the mass transfer rates for each phase.
iDmdtSuSpTable iDmdtSu_
The explicit part of the interfacial mass transfer rates.
virtual tmp< volScalarField > dmdt(const phasePairKey &key) const
Return the mass transfer rate for a pair.
A HashTable similar to std::unordered_map.
An ordered or unorder pair of phase names. Typically specified as follows.
HashTable< autoPtr< interfaceCompositionModel >, phasePairKey, phasePairKey::hash > interfaceCompositionModelTable
HashPtrTable< volScalarField, phasePairKey, phasePairKey::hash > iDmdtTable
HashPtrTable< HashPtrTable< volScalarField >, phasePairKey, phasePairKey::hash > iDmdtSuSpTable
virtual bool read()
Read base phaseProperties dictionary.
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.
iDmdtSuSpTable iDmdtSp_
The implicit part of the interfacial mass transfer rates.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
virtual ~InterfaceCompositionPhaseChangePhaseSystem()
Destructor.
A class for managing temporary objects.
interfaceCompositionModelTable interfaceCompositionModels_
Interface composition models.
virtual tmp< volScalarField > iDmdt(const phasePairKey &key) const
Return the interfacial mass transfer rate for a pair for a pair.
HashTable< Pair< autoPtr< BlendedInterfacialModel< massTransferModel > > >, phasePairKey, phasePairKey::hash > massTransferModelTable
Class to provide interfacial heat and mass transfer between a number of phases according to a interfa...