ThermalPhaseChangePhaseSystem< BasePhaseSystem > Class Template Reference

Class to provide interfacial heat and mass transfer between a number of phases according the interfacial temperature approximated by the saturation temperature. More...

Inheritance diagram for ThermalPhaseChangePhaseSystem< BasePhaseSystem >:
Collaboration diagram for ThermalPhaseChangePhaseSystem< BasePhaseSystem >:

Public Member Functions

 ThermalPhaseChangePhaseSystem (const fvMesh &)
 Construct from fvMesh. More...
 
virtual ~ThermalPhaseChangePhaseSystem ()
 Destructor. More...
 
const interfaceSaturationTemperatureModelsaturation (const phaseInterfaceKey &key) const
 Return the saturation temperature model for an interface. More...
 
virtual tmp< volScalarFielddmdtf (const phaseInterfaceKey &key) const
 Return the mass transfer rate for an interface. More...
 
virtual PtrList< volScalarFielddmdts () const
 Return the mass transfer rates for each phase. More...
 
virtual PtrList< volScalarFieldd2mdtdps () const
 Return the mass transfer linearisation coeffs for each phase. More...
 
virtual autoPtr< phaseSystem::momentumTransferTablemomentumTransfer ()
 Return the momentum transfer matrices for the cell-based algorithm. More...
 
virtual autoPtr< phaseSystem::momentumTransferTablemomentumTransferf ()
 Return the momentum transfer matrices for the face-based algorithm. More...
 
virtual autoPtr< phaseSystem::heatTransferTableheatTransfer () const
 Return the heat transfer matrices. More...
 
virtual autoPtr< phaseSystem::specieTransferTablespecieTransfer () const
 Return the specie transfer matrices. More...
 
virtual void correctContinuityError ()
 Store phase dmdts at the during the continuity error update. More...
 
virtual void correctInterfaceThermo ()
 Correct the interface thermodynamics. More...
 
virtual bool read ()
 Read base phaseProperties dictionary. More...
 

Detailed Description

template<class BasePhaseSystem>
class Foam::ThermalPhaseChangePhaseSystem< BasePhaseSystem >

Class to provide interfacial heat and mass transfer between a number of phases according the interfacial temperature approximated by the saturation temperature.

Based on the implementation described in:

    Peltola, J., Pättikangas, T., Bainbridge, W., Lehnigk, R., Schlegel, F.
    (2019).
    On Development and validation of subcooled nucleate boiling models for
    OpenFOAM Foundation Release.
    NURETH-18 Conference Proceedings, Portland, Oregon, United States, 2019.

The present implementation includes simplified support for non-volatile components in addition to a single volatile component in order to account compressibility effects when non-volatile gas bubbles of non-volatile gas filled pressure reservoirs are present.

The phase change mass transfer calculation is still only dependent on the interfacial temperature estimate and interfacial heat transfer models. The mass diffusion effects in presence of non-volatile components at the interface are neglected.

Source files

Definition at line 74 of file ThermalPhaseChangePhaseSystem.H.

Constructor & Destructor Documentation

◆ ThermalPhaseChangePhaseSystem()

◆ ~ThermalPhaseChangePhaseSystem()

Destructor.

Definition at line 241 of file ThermalPhaseChangePhaseSystem.C.

Member Function Documentation

◆ saturation()

const Foam::interfaceSaturationTemperatureModel & saturation ( const phaseInterfaceKey key) const

Return the saturation temperature model for an interface.

Definition at line 250 of file ThermalPhaseChangePhaseSystem.C.

◆ dmdtf()

Foam::tmp< Foam::volScalarField > dmdtf ( const phaseInterfaceKey key) const
virtual

Return the mass transfer rate for an interface.

Definition at line 261 of file ThermalPhaseChangePhaseSystem.C.

References tmp< T >::ref().

Here is the call graph for this function:

◆ dmdts()

Return the mass transfer rates for each phase.

Definition at line 284 of file ThermalPhaseChangePhaseSystem.C.

◆ d2mdtdps()

Foam::PtrList< Foam::volScalarField > d2mdtdps
virtual

Return the mass transfer linearisation coeffs for each phase.

Definition at line 296 of file ThermalPhaseChangePhaseSystem.C.

References Foam::addField(), forAllConstIter, phaseInterface::phase1(), and phaseInterface::phase2().

Here is the call graph for this function:

◆ momentumTransfer()

Return the momentum transfer matrices for the cell-based algorithm.

Definition at line 314 of file ThermalPhaseChangePhaseSystem.C.

◆ momentumTransferf()

Return the momentum transfer matrices for the face-based algorithm.

Definition at line 331 of file ThermalPhaseChangePhaseSystem.C.

◆ heatTransfer()

◆ specieTransfer()

Return the specie transfer matrices.

Definition at line 472 of file ThermalPhaseChangePhaseSystem.C.

References forAllConstIter, and HashTable< T, Key, Hash >::insert().

Here is the call graph for this function:

◆ correctContinuityError()

void correctContinuityError
virtual

Store phase dmdts at the during the continuity error update.

Definition at line 528 of file ThermalPhaseChangePhaseSystem.C.

◆ correctInterfaceThermo()

◆ read()

bool read
virtual

Read base phaseProperties dictionary.

Definition at line 752 of file ThermalPhaseChangePhaseSystem.C.

References Foam::blockMeshTools::read().

Here is the call graph for this function:

The documentation for this class was generated from the following files: