PhaseTransferPhaseSystem< BasePhaseSystem > Class Template Reference

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

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

Public Member Functions

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

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. More...
 

Protected Attributes

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

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

Member Typedef Documentation

◆ phaseTransferModelTable

◆ rDmdtTable

Constructor & Destructor Documentation

◆ PhaseTransferPhaseSystem()

PhaseTransferPhaseSystem ( const fvMesh mesh)

Construct from fvMesh.

Definition at line 55 of file PhaseTransferPhaseSystem.C.

References BlendedInterfacialModel< ModelType >::dmdt(), forAllConstIter, PhaseTransferPhaseSystem< BasePhaseSystem >::phaseTransferModels_, PhaseTransferPhaseSystem< BasePhaseSystem >::rDmdt_, and HashPtrTable< T, Key, Hash >::set().

Here is the call graph for this function:

◆ ~PhaseTransferPhaseSystem()

Destructor.

Definition at line 88 of file PhaseTransferPhaseSystem.C.

Member Function Documentation

◆ rDmdt()

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

Return the representation mass transfer rate.

Definition at line 36 of file PhaseTransferPhaseSystem.C.

◆ dmdt()

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

Return the mass transfer rate for a pair.

Definition at line 97 of file PhaseTransferPhaseSystem.C.

◆ dmdts()

Return the mass transfer rates for each phase.

Definition at line 108 of file PhaseTransferPhaseSystem.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 127 of file PhaseTransferPhaseSystem.C.

References Foam::dimMass, Foam::dimTime, forAll, forAllConstIter, IOobject::groupName(), phase::name(), phaseModel::name(), Foam::name(), Foam::negPart(), phasePair::phase1(), phasePair::phase2(), phasei, Foam::posPart(), psi, HashPtrTable< T, Key, Hash >::set(), and Foam::fvm::Sp().

Here is the call graph for this function:

◆ correct()

void correct
virtual

Correct the mass transfer rates.

Definition at line 203 of file PhaseTransferPhaseSystem.C.

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

◆ read()

bool read
virtual

Read base phaseProperties dictionary.

Definition at line 232 of file PhaseTransferPhaseSystem.C.

Member Data Documentation

◆ phaseTransferModels_

phaseTransferModelTable phaseTransferModels_
protected

Mass transfer models.

Definition at line 80 of file PhaseTransferPhaseSystem.H.

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

◆ rDmdt_

rDmdtTable rDmdt_
protected

Mass transfer rates.

Definition at line 83 of file PhaseTransferPhaseSystem.H.

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


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