Public Member Functions | Protected Attributes | List of all members
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 >:
Inheritance graph
[legend]
Collaboration diagram for ThermalPhaseChangePhaseSystem< BasePhaseSystem >:
Collaboration graph
[legend]

Public Member Functions

 ThermalPhaseChangePhaseSystem (const fvMesh &)
 Construct from fvMesh. More...
 
virtual ~ThermalPhaseChangePhaseSystem ()
 Destructor. More...
 
const saturationModelsaturation () const
 Return the saturationModel. More...
 
virtual autoPtr< phaseSystem::heatTransferTableheatTransfer () const
 Return the heat transfer matrices. More...
 
virtual autoPtr< phaseSystem::massTransferTablemassTransfer () const
 Return the mass transfer matrices. More...
 
virtual tmp< volScalarFieldiDmdt (const phasePairKey &key) const
 Return the interfacial mass flow rate. More...
 
virtual tmp< volScalarFieldiDmdt (const phaseModel &phase) const
 Return the total interfacial mass transfer rate for phase. More...
 
virtual void correctThermo ()
 Correct the thermodynamics. More...
 
virtual bool read ()
 Read base phaseProperties dictionary. More...
 
- Public Member Functions inherited from HeatAndMassTransferPhaseSystem< BasePhaseSystem >
 HeatAndMassTransferPhaseSystem (const fvMesh &)
 Construct from fvMesh. More...
 
virtual ~HeatAndMassTransferPhaseSystem ()
 Destructor. More...
 
virtual bool transfersMass (const phaseModel &phase) const
 Return true if there is mass transfer for phase. More...
 
virtual tmp< volScalarFielddmdt (const phasePairKey &key) const
 Return the interfacial mass flow rate. More...
 
virtual tmp< volScalarFielddmdt (const phaseModel &phase) const
 Return the total interfacial mass transfer rate for phase. More...
 
virtual autoPtr< phaseSystem::momentumTransferTablemomentumTransfer () const
 Return the momentum transfer matrices. More...
 

Protected Attributes

word volatile_
 Name of the volatile specie. More...
 
autoPtr< saturationModelsaturationModel_
 The saturation model used to evaluate Tsat = Tf. More...
 
Switch massTransfer_
 
HashPtrTable< volScalarField, phasePairKey, phasePairKey::hashiDmdt_
 Interfacial Mass transfer rate. More...
 
- Protected Attributes inherited from HeatAndMassTransferPhaseSystem< BasePhaseSystem >
HashPtrTable< volScalarField, phasePairKey, phasePairKey::hashdmdt_
 Mass transfer rate. More...
 
HashPtrTable< volScalarField, phasePairKey, phasePairKey::hashdmdtExplicit_
 Explicit part of the mass transfer rate. More...
 
HashPtrTable< volScalarField, phasePairKey, phasePairKey::hashTf_
 Interface temperatures. More...
 
heatTransferModelTable heatTransferModels_
 Heat transfer models. More...
 
massTransferModelTable massTransferModels_
 Mass transfer models. More...
 

Additional Inherited Members

- Protected Types inherited from HeatAndMassTransferPhaseSystem< BasePhaseSystem >
typedef HashTable< HashTable< autoPtr< BlendedInterfacialModel< heatTransferModel > > >, phasePairKey, phasePairKey::hashheatTransferModelTable
 
typedef HashTable< HashTable< autoPtr< BlendedInterfacialModel< massTransferModel > > >, phasePairKey, phasePairKey::hashmassTransferModelTable
 

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.

Currently only a single specified specie is considered volatile and changes phase, all other species are considered nonvolatile and do not affect the mass-transfer.

Source files

Definition at line 57 of file ThermalPhaseChangePhaseSystem.H.

Constructor & Destructor Documentation

◆ ThermalPhaseChangePhaseSystem()

Construct from fvMesh.

◆ ~ThermalPhaseChangePhaseSystem()

virtual ~ThermalPhaseChangePhaseSystem ( )
virtual

Destructor.

Member Function Documentation

◆ saturation()

const saturationModel& saturation ( ) const

Return the saturationModel.

◆ heatTransfer()

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

Return the heat transfer matrices.

Reimplemented from HeatAndMassTransferPhaseSystem< BasePhaseSystem >.

◆ massTransfer()

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

Return the mass transfer matrices.

Implements HeatAndMassTransferPhaseSystem< BasePhaseSystem >.

◆ iDmdt() [1/2]

virtual tmp<volScalarField> iDmdt ( const phasePairKey key) const
virtual

Return the interfacial mass flow rate.

◆ iDmdt() [2/2]

virtual tmp<volScalarField> iDmdt ( const phaseModel phase) const
virtual

Return the total interfacial mass transfer rate for phase.

◆ correctThermo()

virtual void correctThermo ( )
virtual

Correct the thermodynamics.

Implements HeatAndMassTransferPhaseSystem< BasePhaseSystem >.

◆ read()

virtual bool read ( )
virtual

Read base phaseProperties dictionary.

Reimplemented from HeatAndMassTransferPhaseSystem< BasePhaseSystem >.

Member Data Documentation

◆ volatile_

word volatile_
protected

Name of the volatile specie.

Definition at line 67 of file ThermalPhaseChangePhaseSystem.H.

◆ saturationModel_

autoPtr<saturationModel> saturationModel_
protected

The saturation model used to evaluate Tsat = Tf.

Definition at line 70 of file ThermalPhaseChangePhaseSystem.H.

◆ massTransfer_

Switch massTransfer_
protected

Definition at line 73 of file ThermalPhaseChangePhaseSystem.H.

◆ iDmdt_

Interfacial Mass transfer rate.

Definition at line 77 of file ThermalPhaseChangePhaseSystem.H.


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