InterfaceCompositionPhaseChangePhaseSystem< BasePhaseSystem > Class Template Reference

Class to provide interfacial heat and mass transfer between a number of phases according to a interface composition model. More...

Inheritance diagram for InterfaceCompositionPhaseChangePhaseSystem< BasePhaseSystem >:
[legend]
Collaboration diagram for InterfaceCompositionPhaseChangePhaseSystem< BasePhaseSystem >:
[legend]

Public Member Functions

 InterfaceCompositionPhaseChangePhaseSystem (const fvMesh &)
 Construct from fvMesh. More...
 
virtual ~InterfaceCompositionPhaseChangePhaseSystem ()
 Destructor. 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::massTransferTablemassTransfer () const
 Return the mass transfer matrices. More...
 
virtual void correctInterfaceThermo ()
 Correct the interface temperatures. More...
 
virtual bool read ()
 Read base phaseProperties dictionary. More...
 

Protected Types

typedef HashTable< autoPtr< interfaceCompositionModel >, phasePairKey, phasePairKey::hashinterfaceCompositionModelTable
 
typedef HashTable< Pair< autoPtr< BlendedInterfacialModel< massTransferModel > > >, phasePairKey, phasePairKey::hashmassTransferModelTable
 
typedef HashPtrTable< HashPtrTable< volScalarField >, phasePairKey, phasePairKey::hashiDmdtSuSpTable
 
typedef HashPtrTable< volScalarField, phasePairKey, phasePairKey::hashiDmdtTable
 

Protected Member Functions

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

Protected Attributes

const label nInterfaceCorrectors_
 The number of interface correctors. More...
 
massTransferModelTable massTransferModels_
 Mass transfer models. More...
 
interfaceCompositionModelTable interfaceCompositionModels_
 Interface composition models. More...
 
iDmdtSuSpTable iDmdtSu_
 The explicit part of the interfacial mass transfer rates. More...
 
iDmdtSuSpTable iDmdtSp_
 The implicit part of the interfacial mass transfer rates. More...
 

Detailed Description

template<class BasePhaseSystem>
class Foam::InterfaceCompositionPhaseChangePhaseSystem< BasePhaseSystem >

Class to provide interfacial heat and mass transfer between a number of phases according to a interface composition model.

The interface temperature is calculated such that the net rate at which the heat is transferred to the interface is equal to the latent heat consumed by the mass transfer.

Source files

Definition at line 60 of file InterfaceCompositionPhaseChangePhaseSystem.H.

Member Typedef Documentation

◆ interfaceCompositionModelTable

◆ massTransferModelTable

◆ iDmdtSuSpTable

◆ iDmdtTable

Constructor & Destructor Documentation

◆ InterfaceCompositionPhaseChangePhaseSystem()

◆ ~InterfaceCompositionPhaseChangePhaseSystem()

Member Function Documentation

◆ iDmdt()

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

Return the interfacial mass transfer rate for a pair for a pair.

Definition at line 37 of file InterfaceCompositionPhaseChangePhaseSystem.C.

References FixedList< T, N >::first(), forAllConstIter, phaseModel::otherPhase(), phases, and tmp< T >::ref().

Here is the call graph for this function:

◆ dmdt()

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

Return the mass transfer rate for a pair.

Definition at line 244 of file InterfaceCompositionPhaseChangePhaseSystem.C.

◆ dmdts()

Return the mass transfer rates for each phase.

Definition at line 255 of file InterfaceCompositionPhaseChangePhaseSystem.C.

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

Here is the call graph for this function:

◆ massTransfer()

Return the mass transfer matrices.

Definition at line 293 of file InterfaceCompositionPhaseChangePhaseSystem.C.

References forAllConstIter, HashTable< T, Key, Hash >::found(), IOobject::groupName(), phasePair::index(), phase::name(), phaseModel::name(), Foam::name(), phasePair::phase1(), phasePair::phase2(), phase::rho(), Foam::fvm::Sp(), and interfaceCompositionModel::Yf().

Here is the call graph for this function:

◆ correctInterfaceThermo()

◆ read()

bool read
virtual

Read base phaseProperties dictionary.

Definition at line 489 of file InterfaceCompositionPhaseChangePhaseSystem.C.

Member Data Documentation

◆ nInterfaceCorrectors_

const label nInterfaceCorrectors_
protected

The number of interface correctors.

Definition at line 102 of file InterfaceCompositionPhaseChangePhaseSystem.H.

◆ massTransferModels_

◆ interfaceCompositionModels_

◆ iDmdtSu_

iDmdtSuSpTable iDmdtSu_
mutableprotected

The explicit part of the interfacial mass transfer rates.

Definition at line 111 of file InterfaceCompositionPhaseChangePhaseSystem.H.

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

◆ iDmdtSp_

iDmdtSuSpTable iDmdtSp_
mutableprotected

The implicit part of the interfacial mass transfer rates.

Definition at line 114 of file InterfaceCompositionPhaseChangePhaseSystem.H.

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


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