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()

Construct from fvMesh.

Definition at line 77 of file ThermalPhaseChangePhaseSystem.C.

References Foam::dimDensity, Foam::dimEnergy, Foam::dimTime, Foam::dimVolume, forAllConstIter, mesh, phasePair::name(), and phasePairKey::ordered().

Here is the call graph for this function:

◆ ~ThermalPhaseChangePhaseSystem()

Destructor.

Definition at line 168 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 39 of file ThermalPhaseChangePhaseSystem.C.

References Foam::glTF::key().

Here is the call graph for this function:

◆ wDmdt()

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

Return the boundary mass transfer rate for a pair.

Definition at line 57 of file ThermalPhaseChangePhaseSystem.C.

References Foam::glTF::key().

Here is the call graph for this function:

◆ saturation()

const Foam::saturationModel & saturation ( ) const

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 185 of file ThermalPhaseChangePhaseSystem.C.

References Foam::glTF::key().

Here is the call graph for this function:

◆ dmdts()

Foam::PtrList< Foam::volScalarField > dmdts ( ) const
virtual

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()

Foam::autoPtr< Foam::phaseSystem::heatTransferTable > heatTransfer ( ) const
virtual

Return the heat transfer matrices.

Definition at line 223 of file ThermalPhaseChangePhaseSystem.C.

References forAllConstIter, Foam::negPart(), phasePairKey::ordered(), phase1, phasePair::phase1(), phase2, phasePair::phase2(), and Foam::posPart().

Here is the call graph for this function:

◆ massTransfer()

Foam::autoPtr< Foam::phaseSystem::massTransferTable > massTransfer ( ) const
virtual

Return the mass transfer matrices.

Definition at line 285 of file ThermalPhaseChangePhaseSystem.C.

References forAll, forAllConstIter, massTransfer(), phase::name(), Foam::name(), phaseModel::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.

References Foam::blockMeshTools::read().

Here is the call graph for this function:

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.

◆ wDmdt_

wDmdtTable wDmdt_
protected

Boundary Mass transfer rate.

Definition at line 89 of file ThermalPhaseChangePhaseSystem.H.

◆ wMDotL_

wMDotLTable wMDotL_
protected

Boundary thermal energy transfer rate.

Definition at line 92 of file ThermalPhaseChangePhaseSystem.H.


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