Go to the documentation of this file.
39 #ifndef ThermalPhaseChangePhaseSystem_H
40 #define ThermalPhaseChangePhaseSystem_H
42 #include "phaseSystem.H"
55 template<
class BasePhaseSystem>
58 public BasePhaseSystem
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
A class for handling words, derived from Foam::string.
word volatile_
Name of the volatile specie.
virtual PtrList< volScalarField > dmdts() const
Return the mass transfer rates for each phase.
Class to provide interfacial heat and mass transfer between a number of phases according the interfac...
tmp< volScalarField > iDmdt(const phasePairKey &key) const
Return the interfacial mass transfer rate for a pair.
A class for managing temporary objects.
auto key(const Type &t) -> typename std::enable_if< std::is_enum< Type >::value, typename std::underlying_type< Type >::type >::type
HashPtrTable< volScalarField, phasePairKey, phasePairKey::hash > iDmdtTable
iDmdtTable iDmdt_
Interfacial Mass transfer rate.
HashPtrTable< volScalarField, phasePairKey, phasePairKey::hash > wMDotLTable
virtual bool read()
Read base phaseProperties dictionary.
virtual ~ThermalPhaseChangePhaseSystem()
Destructor.
ThermalPhaseChangePhaseSystem(const fvMesh &)
Construct from fvMesh.
virtual void correctInterfaceThermo()
Correct the interface thermodynamics.
autoPtr< saturationModel > saturationModel_
The saturation model used to evaluate Tsat = Tf.
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.
Mesh data needed to do the Finite Volume discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
HashPtrTable< volScalarField, phasePairKey, phasePairKey::hash > wDmdtTable
const saturationModel & saturation() const
Return the saturationModel.
virtual tmp< volScalarField > dmdt(const phasePairKey &key) const
Return the mass transfer rate for a pair.
wMDotLTable wMDotL_
Boundary thermal energy transfer rate.
tmp< volScalarField > wDmdt(const phasePairKey &key) const
Return the boundary mass transfer rate for a pair.
wDmdtTable wDmdt_
Boundary Mass transfer rate.
virtual autoPtr< phaseSystem::heatTransferTable > heatTransfer() const
Return the heat transfer matrices.
virtual autoPtr< phaseSystem::massTransferTable > massTransfer() const
Return the mass transfer matrices.