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 59 of file InterfaceCompositionPhaseChangePhaseSystem.H.
|
protected |
Definition at line 72 of file InterfaceCompositionPhaseChangePhaseSystem.H.
|
protected |
Definition at line 79 of file InterfaceCompositionPhaseChangePhaseSystem.H.
|
protected |
Definition at line 87 of file InterfaceCompositionPhaseChangePhaseSystem.H.
|
protected |
Definition at line 90 of file InterfaceCompositionPhaseChangePhaseSystem.H.
InterfaceCompositionPhaseChangePhaseSystem | ( | const fvMesh & | mesh | ) |
Construct from fvMesh.
Definition at line 96 of file InterfaceCompositionPhaseChangePhaseSystem.C.
References Foam::dimDensity, Foam::dimTime, Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAllConstIter, phasePair::index(), mesh, phase::name(), phasePair::name(), phaseModel::name(), phasePairKey::ordered(), phasePair::phase1(), phasePair::phase2(), and interfaceCompositionModel::species().
|
virtual |
Destructor.
Definition at line 249 of file InterfaceCompositionPhaseChangePhaseSystem.C.
|
protectedvirtual |
Return the interfacial mass transfer rate for a pair for a pair.
Definition at line 39 of file InterfaceCompositionPhaseChangePhaseSystem.C.
References forAllConstIter, phase::name(), phaseModel::name(), Foam::name(), phaseModel::otherPhase(), phases, tmp< T >::ref(), and Pair< T >::second().
|
virtual |
Return the mass transfer rate for a pair.
Definition at line 258 of file InterfaceCompositionPhaseChangePhaseSystem.C.
|
virtual |
Return the mass transfer rates for each phase.
Definition at line 268 of file InterfaceCompositionPhaseChangePhaseSystem.C.
References forAllConstIter, phase::name(), phaseModel::name(), Foam::name(), phasePair::phase1(), phasePair::phase2(), and interfaceCompositionModel::species().
|
virtual |
Return the mass transfer matrices.
Definition at line 315 of file InterfaceCompositionPhaseChangePhaseSystem.C.
References interfaceCompositionModel::D(), forAllConstIter, massTransfer(), phase::name(), phaseModel::name(), Foam::name(), phasePair::phase1(), phasePair::phase2(), phase::rho(), Sp, interfaceCompositionModel::species(), and interfaceCompositionModel::Yf().
|
virtual |
Correct the interface temperatures.
Definition at line 393 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 508 of file InterfaceCompositionPhaseChangePhaseSystem.C.
References Foam::blockMeshTools::read().
|
protected |
The number of interface correctors.
Definition at line 98 of file InterfaceCompositionPhaseChangePhaseSystem.H.
|
protected |
Mass transfer models.
Definition at line 101 of file InterfaceCompositionPhaseChangePhaseSystem.H.
|
protected |
Interface composition models.
Definition at line 104 of file InterfaceCompositionPhaseChangePhaseSystem.H.
|
mutableprotected |
The explicit part of the interfacial mass transfer rates.
Definition at line 107 of file InterfaceCompositionPhaseChangePhaseSystem.H.
|
mutableprotected |
The implicit part of the interfacial mass transfer rates.
Definition at line 110 of file InterfaceCompositionPhaseChangePhaseSystem.H.