PhaseTransferPhaseSystem< BasePhaseSystem > Class Template Reference

Class which models non-thermally-coupled or weakly thermally coupled mass transfers. More...

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

Public Member Functions

 PhaseTransferPhaseSystem (const fvMesh &)
 Construct from fvMesh. More...
 
virtual ~PhaseTransferPhaseSystem ()
 Destructor. More...
 
virtual tmp< volScalarFielddmdtf (const phaseInterfaceKey &key) const
 Return the mass transfer rate for an interface. More...
 
virtual PtrList< volScalarFielddmdts () const
 Return the mass transfer rates for each phase. More...
 
virtual PtrList< volScalarFieldd2mdtdps () const
 Return the mass transfer pressure linearisation coefficients for. More...
 
virtual autoPtr< phaseSystem::momentumTransferTablemomentumTransfer ()
 Return the momentum transfer matrices for the cell-based algorithm. More...
 
virtual autoPtr< phaseSystem::momentumTransferTablemomentumTransferf ()
 Return the momentum transfer matrices for the face-based algorithm. More...
 
virtual autoPtr< phaseSystem::heatTransferTableheatTransfer () const
 Return the heat transfer matrices. More...
 
virtual autoPtr< phaseSystem::specieTransferTablespecieTransfer () const
 Return the specie transfer matrices. More...
 
virtual void correct ()
 Correct the mass transfer rates. More...
 
virtual bool read ()
 Read base phaseProperties dictionary. More...
 

Protected Member Functions

void addDmdtYfs (const phaseSystem::dmdtfTable &dmdtfs, phaseSystem::specieTransferTable &eqns) const
 Add specie transfer terms which result from bulk mass transfers. More...
 
void addDmidtYf (const phaseSystem::dmidtfTable &dmidtfs, phaseSystem::specieTransferTable &eqns) const
 Add specie transfer terms which result from specie mass transfers. More...
 

Detailed Description

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

Class which models non-thermally-coupled or weakly thermally coupled mass transfers.

Source files

Definition at line 52 of file PhaseTransferPhaseSystem.H.

Constructor & Destructor Documentation

◆ PhaseTransferPhaseSystem()

PhaseTransferPhaseSystem ( const fvMesh mesh)

Construct from fvMesh.

Definition at line 144 of file PhaseTransferPhaseSystem.C.

References Foam::dimDensity, Foam::dimPressure, Foam::dimTime, forAllConstIter, IOobject::groupName(), and HashTable< T, Key, Hash >::insert().

Here is the call graph for this function:

◆ ~PhaseTransferPhaseSystem()

Destructor.

Definition at line 246 of file PhaseTransferPhaseSystem.C.

Member Function Documentation

◆ addDmdtYfs()

void addDmdtYfs ( const phaseSystem::dmdtfTable dmdtfs,
phaseSystem::specieTransferTable eqns 
) const
protected

Add specie transfer terms which result from bulk mass transfers.

Definition at line 76 of file PhaseTransferPhaseSystem.C.

References forAll, forAllConstIter, IOobject::member(), IOobject::name(), Foam::negPart(), phaseInterface::phase1(), phaseInterface::phase2(), Foam::posPart(), Foam::fvc::Sp(), and phaseModel::Y().

Here is the call graph for this function:

◆ addDmidtYf()

void addDmidtYf ( const phaseSystem::dmidtfTable dmidtfs,
phaseSystem::specieTransferTable eqns 
) const
protected

Add specie transfer terms which result from specie mass transfers.

Definition at line 106 of file PhaseTransferPhaseSystem.C.

References forAllConstIter, IOobject::name(), phaseInterface::phase1(), phaseInterface::phase2(), phaseModel::pure(), and phaseModel::Y().

Here is the call graph for this function:

◆ dmdtf()

Foam::tmp< Foam::volScalarField > dmdtf ( const phaseInterfaceKey key) const
virtual

Return the mass transfer rate for an interface.

Definition at line 254 of file PhaseTransferPhaseSystem.C.

References forAllConstIter, and tmp< T >::ref().

Here is the call graph for this function:

◆ dmdts()

Return the mass transfer rates for each phase.

Definition at line 285 of file PhaseTransferPhaseSystem.C.

References Foam::addField(), forAllConstIter, phaseInterface::phase1(), and phaseInterface::phase2().

Here is the call graph for this function:

◆ d2mdtdps()

Foam::PtrList< Foam::volScalarField > d2mdtdps
virtual

Return the mass transfer pressure linearisation coefficients for.

each phase

Definition at line 306 of file PhaseTransferPhaseSystem.C.

References Foam::addField(), forAllConstIter, phaseInterface::phase1(), and phaseInterface::phase2().

Here is the call graph for this function:

◆ momentumTransfer()

Return the momentum transfer matrices for the cell-based algorithm.

Definition at line 324 of file PhaseTransferPhaseSystem.C.

◆ momentumTransferf()

Return the momentum transfer matrices for the face-based algorithm.

Definition at line 339 of file PhaseTransferPhaseSystem.C.

◆ heatTransfer()

Return the heat transfer matrices.

Definition at line 354 of file PhaseTransferPhaseSystem.C.

◆ specieTransfer()

Return the specie transfer matrices.

Definition at line 370 of file PhaseTransferPhaseSystem.C.

References Foam::dimMass, Foam::dimTime, forAll, HashTable< T, Key, Hash >::insert(), Foam::name(), and phaseModel::Y().

Here is the call graph for this function:

◆ correct()

void correct
virtual

Correct the mass transfer rates.

Definition at line 404 of file PhaseTransferPhaseSystem.C.

References Foam::MULES::correct(), forAllConstIter, forAllIter, and Foam::Zero.

Here is the call graph for this function:

◆ read()

bool read
virtual

Read base phaseProperties dictionary.

Definition at line 464 of file PhaseTransferPhaseSystem.C.

References Foam::blockMeshTools::read().

Here is the call graph for this function:

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