Class which models non-thermally-coupled or weakly thermally coupled mass transfers. More...
Public Member Functions | |
PhaseTransferPhaseSystem (const fvMesh &) | |
Construct from fvMesh. More... | |
virtual | ~PhaseTransferPhaseSystem () |
Destructor. More... | |
virtual tmp< volScalarField > | dmdtf (const phaseInterfaceKey &key) const |
Return the mass transfer rate for an interface. More... | |
virtual PtrList< volScalarField > | dmdts () const |
Return the mass transfer rates for each phase. More... | |
virtual PtrList< volScalarField > | d2mdtdps () const |
Return the mass transfer pressure linearisation coefficients for. More... | |
virtual autoPtr< phaseSystem::momentumTransferTable > | momentumTransfer () |
Return the momentum transfer matrices for the cell-based algorithm. More... | |
virtual autoPtr< phaseSystem::momentumTransferTable > | momentumTransferf () |
Return the momentum transfer matrices for the face-based algorithm. More... | |
virtual autoPtr< phaseSystem::heatTransferTable > | heatTransfer () const |
Return the heat transfer matrices. More... | |
virtual autoPtr< phaseSystem::specieTransferTable > | specieTransfer () 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... | |
Class which models non-thermally-coupled or weakly thermally coupled mass transfers.
Definition at line 52 of file PhaseTransferPhaseSystem.H.
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().
|
virtual |
Destructor.
Definition at line 246 of file PhaseTransferPhaseSystem.C.
|
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().
|
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().
|
virtual |
Return the mass transfer rate for an interface.
Definition at line 254 of file PhaseTransferPhaseSystem.C.
References forAllConstIter, and tmp< T >::ref().
|
virtual |
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().
|
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().
|
virtual |
Return the momentum transfer matrices for the cell-based algorithm.
Definition at line 324 of file PhaseTransferPhaseSystem.C.
|
virtual |
Return the momentum transfer matrices for the face-based algorithm.
Definition at line 339 of file PhaseTransferPhaseSystem.C.
|
virtual |
Return the heat transfer matrices.
Definition at line 354 of file PhaseTransferPhaseSystem.C.
|
virtual |
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().
|
virtual |
Correct the mass transfer rates.
Definition at line 404 of file PhaseTransferPhaseSystem.C.
References Foam::MULES::correct(), forAllConstIter, forAllIter, and Foam::Zero.
|
virtual |
Read base phaseProperties dictionary.
Definition at line 464 of file PhaseTransferPhaseSystem.C.
References Foam::blockMeshTools::read().