Class to provide interfacial heat and mass transfer between a number of phases according to a interface composition model. More...
Public Member Functions | |
InterfaceCompositionPhaseChangePhaseSystem (const fvMesh &) | |
Construct from fvMesh. More... | |
virtual | ~InterfaceCompositionPhaseChangePhaseSystem () |
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 | correctInterfaceThermo () |
Correct the interface temperatures. More... | |
virtual bool | read () |
Read base phaseProperties dictionary. More... | |
Protected Types | |
typedef HashTable< autoPtr< interfaceCompositionModel >, phasePairKey, phasePairKey::hash > | interfaceCompositionModelTable |
typedef HashTable< Pair< autoPtr< BlendedInterfacialModel< massTransferModel > > >, phasePairKey, phasePairKey::hash > | massTransferModelTable |
typedef HashPtrTable< HashPtrTable< volScalarField >, phasePairKey, phasePairKey::hash > | iDmdtSuSpTable |
typedef HashPtrTable< volScalarField, phasePairKey, phasePairKey::hash > | iDmdtTable |
Protected Member Functions | |
virtual tmp< volScalarField > | iDmdt (const phasePairKey &key) const |
Return the interfacial mass transfer rate for a pair for a pair. More... | |
Protected Attributes | |
const label | nInterfaceCorrectors_ |
The number of interface correctors. More... | |
massTransferModelTable | massTransferModels_ |
Mass transfer models. More... | |
interfaceCompositionModelTable | interfaceCompositionModels_ |
Interface composition models. More... | |
iDmdtSuSpTable | iDmdtSu_ |
The explicit part of the interfacial mass transfer rates. More... | |
iDmdtSuSpTable | iDmdtSp_ |
The implicit part of the interfacial mass transfer rates. More... | |
Class to provide interfacial heat and mass transfer between a number of phases according to a interface composition model.
The interface temperature is calculated such that the net rate at which the heat is transferred to the interface is equal to the latent heat consumed by the mass transfer.
Definition at line 60 of file InterfaceCompositionPhaseChangePhaseSystem.H.
|
protected |
Definition at line 73 of file InterfaceCompositionPhaseChangePhaseSystem.H.
|
protected |
Definition at line 80 of file InterfaceCompositionPhaseChangePhaseSystem.H.
|
protected |
Definition at line 87 of file InterfaceCompositionPhaseChangePhaseSystem.H.
|
protected |
Definition at line 94 of file InterfaceCompositionPhaseChangePhaseSystem.H.
|
explicit |
Construct from fvMesh.
Definition at line 85 of file InterfaceCompositionPhaseChangePhaseSystem.C.
References Foam::dimDensity, Foam::dimTime, Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAllConstIter, phasePair::index(), Foam::glTF::key(), mesh, phasePair::name(), phase::name(), phaseModel::name(), phasePairKey::ordered(), phasePair::phase1(), phasePair::phase2(), and interfaceCompositionModel::species().
|
virtual |
Destructor.
Definition at line 236 of file InterfaceCompositionPhaseChangePhaseSystem.C.
|
protectedvirtual |
Return the interfacial mass transfer rate for a pair for a pair.
Definition at line 38 of file InterfaceCompositionPhaseChangePhaseSystem.C.
References forAllConstIter, Foam::glTF::key(), phaseModel::otherPhase(), phases, tmp< T >::ref(), and Pair< T >::second().
|
virtual |
Return the mass transfer rate for a pair.
Definition at line 245 of file InterfaceCompositionPhaseChangePhaseSystem.C.
References Foam::glTF::key().
|
virtual |
Return the mass transfer rates for each phase.
Definition at line 255 of file InterfaceCompositionPhaseChangePhaseSystem.C.
References forAllConstIter, phasePair::phase1(), phasePair::phase2(), and interfaceCompositionModel::species().
|
virtual |
Return the mass transfer matrices.
Definition at line 294 of file InterfaceCompositionPhaseChangePhaseSystem.C.
References interfaceCompositionModel::D(), forAllConstIter, massTransfer(), phase::name(), Foam::name(), phaseModel::name(), phasePair::phase1(), phasePair::phase2(), phase::rho(), Sp, interfaceCompositionModel::species(), and interfaceCompositionModel::Yf().
|
virtual |
Correct the interface temperatures.
Definition at line 374 of file InterfaceCompositionPhaseChangePhaseSystem.C.
References Foam::fac::average(), GeometricField< Type, PatchField, GeoMesh >::correctBoundaryConditions(), Foam::dimEnergy, Foam::dimTemperature, Foam::dimTime, Foam::dimVolume, Foam::endl(), forAllConstIter, Foam::Info, Foam::max(), mesh, Foam::min(), phasePair::name(), phasePair::phase1(), phasePair::phase2(), GeometricField< Type, PatchField, GeoMesh >::primitiveField(), Pair< T >::second(), basicThermo::T(), phaseModel::thermo(), and timeName.
|
virtual |
Read base phaseProperties dictionary.
Definition at line 489 of file InterfaceCompositionPhaseChangePhaseSystem.C.
References Foam::blockMeshTools::read().
|
protected |
The number of interface correctors.
Definition at line 102 of file InterfaceCompositionPhaseChangePhaseSystem.H.
|
protected |
Mass transfer models.
Definition at line 105 of file InterfaceCompositionPhaseChangePhaseSystem.H.
|
protected |
Interface composition models.
Definition at line 108 of file InterfaceCompositionPhaseChangePhaseSystem.H.
|
mutableprotected |
The explicit part of the interfacial mass transfer rates.
Definition at line 111 of file InterfaceCompositionPhaseChangePhaseSystem.H.
|
mutableprotected |
The implicit part of the interfacial mass transfer rates.
Definition at line 114 of file InterfaceCompositionPhaseChangePhaseSystem.H.