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 56 of file InterfaceCompositionPhaseChangePhaseSystem.H.
|
protected |
Definition at line 69 of file InterfaceCompositionPhaseChangePhaseSystem.H.
|
protected |
Definition at line 76 of file InterfaceCompositionPhaseChangePhaseSystem.H.
|
protected |
Definition at line 83 of file InterfaceCompositionPhaseChangePhaseSystem.H.
|
protected |
Definition at line 90 of file InterfaceCompositionPhaseChangePhaseSystem.H.
|
explicit |
Construct from fvMesh.
Definition at line 78 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(), and phasePair::phase2().
|
virtual |
Destructor.
Definition at line 229 of file InterfaceCompositionPhaseChangePhaseSystem.C.
|
protectedvirtual |
Return the interfacial mass transfer rate for a pair for a pair.
Definition at line 31 of file InterfaceCompositionPhaseChangePhaseSystem.C.
References Pair< T >::first(), 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 238 of file InterfaceCompositionPhaseChangePhaseSystem.C.
References Foam::glTF::key().
|
virtual |
Return the mass transfer rates for each phase.
Definition at line 248 of file InterfaceCompositionPhaseChangePhaseSystem.C.
References forAllConstIter, phasePair::phase1(), and phasePair::phase2().
|
virtual |
Return the mass transfer matrices.
Definition at line 287 of file InterfaceCompositionPhaseChangePhaseSystem.C.
References forAllConstIter, massTransfer(), phase::name(), Foam::name(), phaseModel::name(), phasePair::phase1(), phasePair::phase2(), phase::rho(), Sp, and interfaceCompositionModel::Yf().
|
virtual |
Correct the interface temperatures.
Definition at line 367 of file InterfaceCompositionPhaseChangePhaseSystem.C.
References Foam::fac::average(), GeometricField< Type, PatchField, GeoMesh >::correctBoundaryConditions(), Foam::dimEnergy, DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTemperature, Foam::dimTime, Foam::dimVolume, Foam::endl(), Pair< T >::first(), 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 482 of file InterfaceCompositionPhaseChangePhaseSystem.C.
References Foam::blockMeshTools::read().
|
protected |
The number of interface correctors.
Definition at line 100 of file InterfaceCompositionPhaseChangePhaseSystem.H.
|
protected |
Mass transfer models.
Definition at line 105 of file InterfaceCompositionPhaseChangePhaseSystem.H.
|
protected |
Interface composition models.
Definition at line 110 of file InterfaceCompositionPhaseChangePhaseSystem.H.
|
mutableprotected |
The explicit part of the interfacial mass transfer rates.
Definition at line 115 of file InterfaceCompositionPhaseChangePhaseSystem.H.
|
mutableprotected |
The implicit part of the interfacial mass transfer rates.
Definition at line 120 of file InterfaceCompositionPhaseChangePhaseSystem.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.