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 >:
[legend]
Collaboration diagram for ThermalPhaseChangePhaseSystem< BasePhaseSystem >:
[legend]

Public Member Functions

 ThermalPhaseChangePhaseSystem (const fvMesh &)
 Construct from fvMesh. More...
 
virtual ~ThermalPhaseChangePhaseSystem ()
 Destructor. More...
 
const saturationModelsaturation () const
 Return the saturationModel. More...
 
virtual tmp< volScalarFielddmdt (const phasePairKey &key) const
 Return the mass transfer rate for a pair. More...
 
virtual PtrList< volScalarFielddmdts () const
 Return the mass transfer rates for each phase. More...
 
virtual autoPtr< phaseSystem::heatTransferTableheatTransfer () const
 Return the heat transfer matrices. More...
 
virtual autoPtr< phaseSystem::massTransferTablemassTransfer () const
 Return the mass transfer matrices. More...
 
virtual void correctInterfaceThermo ()
 Correct the interface thermodynamics. More...
 
virtual bool read ()
 Read base phaseProperties dictionary. More...
 

Protected Types

typedef HashPtrTable< volScalarField, phasePairKey, phasePairKey::hashiDmdtTable
 
typedef HashPtrTable< volScalarField, phasePairKey, phasePairKey::hashwDmdtTable
 
typedef HashPtrTable< volScalarField, phasePairKey, phasePairKey::hashwMDotLTable
 

Protected Member Functions

tmp< volScalarFieldiDmdt (const phasePairKey &key) const
 Return the interfacial mass transfer rate for a pair. More...
 
tmp< volScalarFieldwDmdt (const phasePairKey &key) const
 Return the boundary mass transfer rate for a pair. More...
 

Protected Attributes

word volatile_
 Name of the volatile specie. More...
 
autoPtr< saturationModelsaturationModel_
 The saturation model used to evaluate Tsat = Tf. More...
 
Switch phaseChange_
 
iDmdtTable iDmdt_
 Interfacial Mass transfer rate. More...
 
wDmdtTable wDmdt_
 Boundary Mass transfer rate. More...
 
wMDotLTable wMDotL_
 Boundary thermal energy transfer rate. 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.

Source files

Definition at line 55 of file ThermalPhaseChangePhaseSystem.H.

Member Typedef Documentation

◆ iDmdtTable

◆ wDmdtTable

◆ wMDotLTable

Constructor & Destructor Documentation

◆ ThermalPhaseChangePhaseSystem()

◆ ~ThermalPhaseChangePhaseSystem()

Destructor.

Definition at line 167 of file ThermalPhaseChangePhaseSystem.C.

Member Function Documentation

◆ iDmdt()

Foam::tmp< Foam::volScalarField > iDmdt ( const phasePairKey key) const
protected

Return the interfacial mass transfer rate for a pair.

Definition at line 38 of file ThermalPhaseChangePhaseSystem.C.

◆ wDmdt()

Foam::tmp< Foam::volScalarField > wDmdt ( const phasePairKey key) const
protected

Return the boundary mass transfer rate for a pair.

Definition at line 56 of file ThermalPhaseChangePhaseSystem.C.

◆ saturation()

const Foam::saturationModel & saturation

Return the saturationModel.

Definition at line 176 of file ThermalPhaseChangePhaseSystem.C.

◆ dmdt()

Foam::tmp< Foam::volScalarField > dmdt ( const phasePairKey key) const
virtual

Return the mass transfer rate for a pair.

Definition at line 184 of file ThermalPhaseChangePhaseSystem.C.

◆ dmdts()

Return the mass transfer rates for each phase.

Definition at line 195 of file ThermalPhaseChangePhaseSystem.C.

References forAllConstIter, phasePair::phase1(), and phasePair::phase2().

Here is the call graph for this function:

◆ heatTransfer()

Return the heat transfer matrices.

Definition at line 223 of file ThermalPhaseChangePhaseSystem.C.

References forAllConstIter, basicThermo::he(), IOobject::member(), phaseModel::name(), Foam::negPart(), phasePairKey::ordered(), basicThermo::p(), phase1, phasePair::phase1(), phase2, phasePair::phase2(), Foam::posPart(), rhoThermo::rho(), and phaseModel::thermo().

Here is the call graph for this function:

◆ massTransfer()

Return the mass transfer matrices.

Definition at line 285 of file ThermalPhaseChangePhaseSystem.C.

References forAll, forAllConstIter, IOobject::groupName(), phase::name(), phaseModel::name(), Foam::name(), phasePairKey::ordered(), phasePair::phase1(), and phasePair::phase2().

Here is the call graph for this function:

◆ correctInterfaceThermo()

◆ read()

bool read
virtual

Read base phaseProperties dictionary.

Definition at line 540 of file ThermalPhaseChangePhaseSystem.C.

Member Data Documentation

◆ volatile_

word volatile_
protected

Name of the volatile specie.

Definition at line 77 of file ThermalPhaseChangePhaseSystem.H.

◆ saturationModel_

autoPtr<saturationModel> saturationModel_
protected

The saturation model used to evaluate Tsat = Tf.

Definition at line 80 of file ThermalPhaseChangePhaseSystem.H.

◆ phaseChange_

Switch phaseChange_
protected

Definition at line 83 of file ThermalPhaseChangePhaseSystem.H.

◆ iDmdt_

iDmdtTable iDmdt_
protected

Interfacial Mass transfer rate.

Definition at line 86 of file ThermalPhaseChangePhaseSystem.H.

Referenced by ThermalPhaseChangePhaseSystem< BasePhaseSystem >::ThermalPhaseChangePhaseSystem().

◆ wDmdt_

wDmdtTable wDmdt_
protected

Boundary Mass transfer rate.

Definition at line 89 of file ThermalPhaseChangePhaseSystem.H.

Referenced by ThermalPhaseChangePhaseSystem< BasePhaseSystem >::ThermalPhaseChangePhaseSystem().

◆ wMDotL_

wMDotLTable wMDotL_
protected

Boundary thermal energy transfer rate.

Definition at line 92 of file ThermalPhaseChangePhaseSystem.H.

Referenced by ThermalPhaseChangePhaseSystem< BasePhaseSystem >::ThermalPhaseChangePhaseSystem().


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