Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
MassTransferPhaseSystem< BasePhaseSystem > Class Template Reference

Class for mass transfer between phases. More...

Inheritance diagram for MassTransferPhaseSystem< BasePhaseSystem >:
Inheritance graph
[legend]
Collaboration diagram for MassTransferPhaseSystem< BasePhaseSystem >:
Collaboration graph
[legend]

Public Types

typedef HashTable< autoPtr< interfaceCompositionModel >, phasePairKey, phasePairKey::hashmassTransferModelTable
 
typedef HashTable< volScalarField::InternalSuSpTable
 

Public Member Functions

 MassTransferPhaseSystem (const fvMesh &)
 
virtual ~MassTransferPhaseSystem ()=default
 
tmp< volScalarFielddmdt (const phasePairKey &key) const
 
virtual tmp< fvScalarMatrixheatTransfer (const volScalarField &T)
 
virtual tmp< fvScalarMatrixvolTransfer (const volScalarField &p)
 
virtual void correctMassSources (const volScalarField &T)
 
virtual void alphaTransfer (SuSpTable &Su, SuSpTable &Sp)
 
virtual void massSpeciesTransfer (const phaseModel &phase, volScalarField::Internal &Su, volScalarField::Internal &Sp, const word speciesName)
 
virtual bool includeVolChange ()
 

Protected Types

typedef HashPtrTable< volScalarField, phasePairKey, phasePairKey::hashdmdtTable
 

Protected Member Functions

tmp< volScalarFieldcalculateL (const volScalarField &dmdtNetki, const phasePairKey &keyik, const phasePairKey &keyki, const volScalarField &T) const
 

Protected Attributes

dmdtTable dmdt_
 
massTransferModelTable massTransferModels_
 

Detailed Description

template<class BasePhaseSystem>
class Foam::MassTransferPhaseSystem< BasePhaseSystem >

Class for mass transfer between phases.

Source files

Definition at line 49 of file MassTransferPhaseSystem.H.

Member Typedef Documentation

◆ massTransferModelTable

Definition at line 64 of file MassTransferPhaseSystem.H.

◆ SuSpTable

Definition at line 67 of file MassTransferPhaseSystem.H.

◆ dmdtTable

Definition at line 80 of file MassTransferPhaseSystem.H.

Constructor & Destructor Documentation

◆ MassTransferPhaseSystem()

MassTransferPhaseSystem ( const fvMesh mesh)
explicit

Definition at line 33 of file MassTransferPhaseSystem.C.

References Foam::dimDensity, Foam::dimTime, forAllConstIters(), mesh, Foam::name(), timeName, and Foam::Zero.

Here is the call graph for this function:

◆ ~MassTransferPhaseSystem()

virtual ~MassTransferPhaseSystem ( )
virtualdefault

Member Function Documentation

◆ calculateL()

Foam::tmp< Foam::volScalarField > calculateL ( const volScalarField dmdtNetki,
const phasePairKey keyik,
const phasePairKey keyki,
const volScalarField T 
) const
protected

Definition at line 72 of file MassTransferPhaseSystem.C.

References Foam::dimEnergy, Foam::dimMass, L(), mesh, Foam::neg(), Foam::New(), Foam::pos(), T, timeName, and Foam::Zero.

Here is the call graph for this function:

◆ dmdt()

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

Definition at line 127 of file MassTransferPhaseSystem.C.

References Foam::dimDensity, Foam::dimTime, Foam::glTF::key(), mesh, Foam::New(), timeName, and Foam::Zero.

Here is the call graph for this function:

◆ heatTransfer()

Foam::tmp< Foam::fvScalarMatrix > heatTransfer ( const volScalarField T)
virtual

◆ volTransfer()

Foam::tmp< Foam::fvScalarMatrix > volTransfer ( const volScalarField p)
virtual

◆ correctMassSources()

void correctMassSources ( const volScalarField T)
virtual

Definition at line 447 of file MassTransferPhaseSystem.C.

References forAllConstIters(), phaseModel::name(), Foam::name(), phasei, tmp::ref(), and T.

Here is the call graph for this function:

◆ alphaTransfer()

void alphaTransfer ( SuSpTable Su,
SuSpTable Sp 
)
virtual

◆ massSpeciesTransfer()

void massSpeciesTransfer ( const phaseModel phase,
volScalarField::Internal Su,
volScalarField::Internal Sp,
const word  speciesName 
)
virtual

Definition at line 702 of file MassTransferPhaseSystem.C.

References forAllConstIters(), phaseModel::name(), GeometricField::oldTime(), Sp, and Su.

Here is the call graph for this function:

◆ includeVolChange()

bool includeVolChange
virtual

Definition at line 724 of file MassTransferPhaseSystem.C.

References forAllIters.

Member Data Documentation

◆ dmdt_

dmdtTable dmdt_
protected

Definition at line 86 of file MassTransferPhaseSystem.H.

◆ massTransferModels_

massTransferModelTable massTransferModels_
protected

Definition at line 89 of file MassTransferPhaseSystem.H.


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