Loading...
Searching...
No Matches
PhaseTransferPhaseSystem< BasePhaseSystem > Class Template Reference

Class which models non-thermally-coupled mass transfers; i.e., representation changes, rather than phase changes. More...

#include <PhaseTransferPhaseSystem.H>

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

Public Member Functions

 PhaseTransferPhaseSystem (const fvMesh &)
 Construct from fvMesh.
virtual ~PhaseTransferPhaseSystem ()
 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 correct ()
 Correct the mass transfer rates.
virtual bool read ()
 Read base phaseProperties dictionary.

Protected Types

typedef HashTable< autoPtr< BlendedInterfacialModel< phaseTransferModel > >, phasePairKey, phasePairKey::hashphaseTransferModelTable
typedef HashPtrTable< volScalarField, phasePairKey, phasePairKey::hashrDmdtTable

Protected Member Functions

virtual tmp< volScalarFieldrDmdt (const phasePairKey &key) const
 Return the representation mass transfer rate.

Protected Attributes

phaseTransferModelTable phaseTransferModels_
 Mass transfer models.
rDmdtTable rDmdt_
 Mass transfer rates.

Detailed Description

template<class BasePhaseSystem>
class Foam::PhaseTransferPhaseSystem< BasePhaseSystem >

Class which models non-thermally-coupled mass transfers; i.e., representation changes, rather than phase changes.

Source files

Definition at line 52 of file PhaseTransferPhaseSystem.H.

Member Typedef Documentation

◆ phaseTransferModelTable

Definition at line 65 of file PhaseTransferPhaseSystem.H.

◆ rDmdtTable

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

Definition at line 68 of file PhaseTransferPhaseSystem.H.

Constructor & Destructor Documentation

◆ PhaseTransferPhaseSystem()

template<class BasePhaseSystem>
PhaseTransferPhaseSystem ( const fvMesh & mesh)

Construct from fvMesh.

Definition at line 48 of file PhaseTransferPhaseSystem.C.

References phaseSystem::dmdt(), forAllConstIter, mesh, phaseTransferModels_, and rDmdt_.

Here is the call graph for this function:

◆ ~PhaseTransferPhaseSystem()

template<class BasePhaseSystem>
~PhaseTransferPhaseSystem ( )
virtual

Destructor.

Definition at line 81 of file PhaseTransferPhaseSystem.C.

Member Function Documentation

◆ rDmdt()

template<class BasePhaseSystem>
Foam::tmp< Foam::volScalarField > rDmdt ( const phasePairKey & key) const
protectedvirtual

Return the representation mass transfer rate.

Definition at line 29 of file PhaseTransferPhaseSystem.C.

References Pair< T >::compare(), phaseSystem::dmdt(), and rDmdt_.

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

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

◆ dmdt()

◆ dmdts()

◆ massTransfer()

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

◆ correct()

template<class BasePhaseSystem>
void correct ( )
virtual

Correct the mass transfer rates.

Definition at line 196 of file PhaseTransferPhaseSystem.C.

References Foam::dimDensity, Foam::dimTime, forAllConstIter, phaseTransferModels_, and rDmdt_.

◆ read()

Member Data Documentation

◆ phaseTransferModels_

template<class BasePhaseSystem>
phaseTransferModelTable phaseTransferModels_
protected

Mass transfer models.

Definition at line 78 of file PhaseTransferPhaseSystem.H.

Referenced by correct(), massTransfer(), and PhaseTransferPhaseSystem().

◆ rDmdt_

template<class BasePhaseSystem>
rDmdtTable rDmdt_
protected

Mass transfer rates.

Definition at line 83 of file PhaseTransferPhaseSystem.H.

Referenced by correct(), dmdts(), PhaseTransferPhaseSystem(), and rDmdt().


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