Class which models non-thermally-coupled mass transfers; i.e., representation changes, rather than phase changes. More...
Public Member Functions | |
PhaseTransferPhaseSystem (const fvMesh &) | |
Construct from fvMesh. More... | |
virtual | ~PhaseTransferPhaseSystem () |
Destructor. More... | |
virtual tmp< volScalarField > | dmdt (const phasePairKey &key) const |
Return the mass transfer rate for a pair. More... | |
virtual PtrList< volScalarField > | dmdts () const |
Return the mass transfer rates for each phase. More... | |
virtual autoPtr< phaseSystem::massTransferTable > | massTransfer () 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::hash > | phaseTransferModelTable |
typedef HashPtrTable< volScalarField, phasePairKey, phasePairKey::hash > | rDmdtTable |
Protected Member Functions | |
virtual tmp< volScalarField > | rDmdt (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... | |
Class which models non-thermally-coupled mass transfers; i.e., representation changes, rather than phase changes.
Definition at line 56 of file PhaseTransferPhaseSystem.H.
|
protected |
Definition at line 69 of file PhaseTransferPhaseSystem.H.
|
protected |
Definition at line 72 of file PhaseTransferPhaseSystem.H.
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().
|
virtual |
Destructor.
Definition at line 88 of file PhaseTransferPhaseSystem.C.
|
protectedvirtual |
Return the representation mass transfer rate.
Definition at line 36 of file PhaseTransferPhaseSystem.C.
|
virtual |
Return the mass transfer rate for a pair.
Definition at line 97 of file PhaseTransferPhaseSystem.C.
|
virtual |
Return the mass transfer rates for each phase.
Definition at line 108 of file PhaseTransferPhaseSystem.C.
References forAllConstIter, phasePair::phase1(), and phasePair::phase2().
|
virtual |
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().
|
virtual |
Correct the mass transfer rates.
Definition at line 203 of file PhaseTransferPhaseSystem.C.
References Foam::dimDensity, Foam::dimTime, and forAllConstIter.
|
virtual |
Read base phaseProperties dictionary.
Definition at line 232 of file PhaseTransferPhaseSystem.C.
|
protected |
Mass transfer models.
Definition at line 80 of file PhaseTransferPhaseSystem.H.
Referenced by PhaseTransferPhaseSystem< BasePhaseSystem >::PhaseTransferPhaseSystem().
|
protected |
Mass transfer rates.
Definition at line 83 of file PhaseTransferPhaseSystem.H.
Referenced by PhaseTransferPhaseSystem< BasePhaseSystem >::PhaseTransferPhaseSystem().