58 #ifndef ThermalPhaseChangePhaseSystem_H 59 #define ThermalPhaseChangePhaseSystem_H 74 template<
class BasePhaseSystem>
77 public BasePhaseSystem
88 using latentHeatScheme =
typename BasePhaseSystem::latentHeatScheme;
90 using latentHeatTransfer =
typename BasePhaseSystem::latentHeatTransfer;
99 saturationModelTable saturationModels_;
virtual PtrList< volScalarField > dmdts() const
Return the mass transfer rates for each phase.
ThermalPhaseChangePhaseSystem(const fvMesh &)
Construct from fvMesh.
virtual autoPtr< phaseSystem::specieTransferTable > specieTransfer() const
Return the specie transfer matrices.
Word-pair based class used for keying interface models in hash tables.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none/any.
Class to provide interfacial heat and mass transfer between a number of phases according the interfac...
virtual PtrList< volScalarField > d2mdtdps() const
Return the mass transfer linearisation coeffs for each phase.
virtual void correctInterfaceThermo()
Correct the interface thermodynamics.
A class for handling words, derived from string.
virtual autoPtr< phaseSystem::heatTransferTable > heatTransfer() const
Return the heat transfer matrices.
virtual autoPtr< phaseSystem::momentumTransferTable > momentumTransferf()
Return the momentum transfer matrices for the face-based algorithm.
An STL-conforming hash table.
virtual bool read()
Read base phaseProperties dictionary.
Model to describe the dependence of saturation pressure on temperature, and vice versa.
virtual ~ThermalPhaseChangePhaseSystem()
Destructor.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Mesh data needed to do the Finite Volume discretisation.
virtual void correctContinuityError()
Store phase dmdts at the during the continuity error update.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A class for managing temporary objects.
virtual tmp< volScalarField > dmdtf(const phaseInterfaceKey &key) const
Return the mass transfer rate for an interface.
virtual autoPtr< phaseSystem::momentumTransferTable > momentumTransfer()
Return the momentum transfer matrices for the cell-based algorithm.
const saturationModel & saturation(const phaseInterfaceKey &key) const
Return the saturationModel.