Loading...
Searching...
No Matches
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...

#include <InterfaceCompositionPhaseChangePhaseSystem.H>

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

Public Member Functions

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

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.

Protected Attributes

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

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 56 of file InterfaceCompositionPhaseChangePhaseSystem.H.

Member Typedef Documentation

◆ interfaceCompositionModelTable

◆ massTransferModelTable

◆ iDmdtSuSpTable

template<class BasePhaseSystem>
typedef HashPtrTable< HashPtrTable<volScalarField>, phasePairKey, phasePairKey::hash > iDmdtSuSpTable
protected

Definition at line 83 of file InterfaceCompositionPhaseChangePhaseSystem.H.

◆ iDmdtTable

template<class BasePhaseSystem>
typedef HashPtrTable< volScalarField, phasePairKey, phasePairKey::hash > iDmdtTable
protected

Definition at line 90 of file InterfaceCompositionPhaseChangePhaseSystem.H.

Constructor & Destructor Documentation

◆ InterfaceCompositionPhaseChangePhaseSystem()

◆ ~InterfaceCompositionPhaseChangePhaseSystem()

template<class BasePhaseSystem>
~InterfaceCompositionPhaseChangePhaseSystem ( )
virtual

Destructor.

Definition at line 228 of file InterfaceCompositionPhaseChangePhaseSystem.C.

Member Function Documentation

◆ iDmdt()

template<class BasePhaseSystem>
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 30 of file InterfaceCompositionPhaseChangePhaseSystem.C.

References Pair< T >::compare(), phaseSystem::dmdt(), Pair< T >::first(), forAllConstIter, iDmdtSp_, iDmdtSu_, interfaceCompositionModels_, phaseModel::otherPhase(), phases, and tmp< T >::ref().

Referenced by dmdt(), dmdts(), and massTransfer().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dmdt()

template<class BasePhaseSystem>
Foam::tmp< Foam::volScalarField > dmdt ( const phasePairKey & key) const
virtual

Return the mass transfer rate for a pair.

Definition at line 237 of file InterfaceCompositionPhaseChangePhaseSystem.C.

References iDmdt().

Here is the call graph for this function:

◆ dmdts()

template<class BasePhaseSystem>
Foam::PtrList< Foam::volScalarField > dmdts ( ) const
virtual

Return the mass transfer rates for each phase.

Definition at line 248 of file InterfaceCompositionPhaseChangePhaseSystem.C.

References dmdts(), forAllConstIter, iDmdt(), iDmdtSp_, iDmdtSu_, interfaceCompositionModels_, phasePair::phase1(), and phasePair::phase2().

Referenced by dmdts().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ massTransfer()

◆ correctInterfaceThermo()

◆ read()

template<class BasePhaseSystem>
bool read ( )
virtual

Read base phaseProperties dictionary.

Definition at line 482 of file InterfaceCompositionPhaseChangePhaseSystem.C.

Member Data Documentation

◆ nInterfaceCorrectors_

template<class BasePhaseSystem>
const label nInterfaceCorrectors_
protected

The number of interface correctors.

Definition at line 100 of file InterfaceCompositionPhaseChangePhaseSystem.H.

Referenced by correctInterfaceThermo(), and InterfaceCompositionPhaseChangePhaseSystem().

◆ massTransferModels_

template<class BasePhaseSystem>
massTransferModelTable massTransferModels_
protected

◆ interfaceCompositionModels_

template<class BasePhaseSystem>
interfaceCompositionModelTable interfaceCompositionModels_
protected

◆ iDmdtSu_

template<class BasePhaseSystem>
iDmdtSuSpTable iDmdtSu_
mutableprotected

The explicit part of the interfacial mass transfer rates.

Definition at line 115 of file InterfaceCompositionPhaseChangePhaseSystem.H.

Referenced by dmdts(), iDmdt(), InterfaceCompositionPhaseChangePhaseSystem(), and massTransfer().

◆ iDmdtSp_

template<class BasePhaseSystem>
iDmdtSuSpTable iDmdtSp_
mutableprotected

The implicit part of the interfacial mass transfer rates.

Definition at line 120 of file InterfaceCompositionPhaseChangePhaseSystem.H.

Referenced by dmdts(), iDmdt(), InterfaceCompositionPhaseChangePhaseSystem(), and massTransfer().


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