Class to provide interfacial heat and mass transfer between a number of phases according the interfacial temperature approximated by the saturation temperature. More...
#include <ThermalPhaseChangePhaseSystem.H>


Public Member Functions | |
| ThermalPhaseChangePhaseSystem (const fvMesh &) | |
| Construct from fvMesh. | |
| virtual | ~ThermalPhaseChangePhaseSystem () |
| Destructor. | |
| const saturationModel & | saturation () const |
| Return the saturationModel. | |
| virtual tmp< volScalarField > | dmdt (const phasePairKey &key) const |
| Return the mass transfer rate for a pair. | |
| virtual PtrList< volScalarField > | dmdts () const |
| Return the mass transfer rates for each phase. | |
| virtual autoPtr< phaseSystem::heatTransferTable > | heatTransfer () const |
| Return the heat transfer matrices. | |
| virtual autoPtr< phaseSystem::massTransferTable > | massTransfer () const |
| Return the mass transfer matrices. | |
| virtual void | correctInterfaceThermo () |
| Correct the interface thermodynamics. | |
| virtual bool | read () |
| Read base phaseProperties dictionary. | |
Protected Types | |
| typedef HashPtrTable< volScalarField, phasePairKey, phasePairKey::hash > | iDmdtTable |
| typedef HashPtrTable< volScalarField, phasePairKey, phasePairKey::hash > | wDmdtTable |
| typedef HashPtrTable< volScalarField, phasePairKey, phasePairKey::hash > | wMDotLTable |
Protected Member Functions | |
| tmp< volScalarField > | iDmdt (const phasePairKey &key) const |
| Return the interfacial mass transfer rate for a pair. | |
| tmp< volScalarField > | wDmdt (const phasePairKey &key) const |
| Return the boundary mass transfer rate for a pair. | |
Protected Attributes | |
| word | volatile_ |
| Name of the volatile specie. | |
| autoPtr< saturationModel > | saturationModel_ |
| The saturation model used to evaluate Tsat = Tf. | |
| Switch | phaseChange_ |
| iDmdtTable | iDmdt_ |
| Interfacial Mass transfer rate. | |
| wDmdtTable | wDmdt_ |
| Boundary Mass transfer rate. | |
| wMDotLTable | wMDotL_ |
| Boundary thermal energy transfer rate. | |
Class to provide interfacial heat and mass transfer between a number of phases according the interfacial temperature approximated by the saturation temperature.
Definition at line 51 of file ThermalPhaseChangePhaseSystem.H.
|
protected |
Definition at line 61 of file ThermalPhaseChangePhaseSystem.H.
|
protected |
Definition at line 64 of file ThermalPhaseChangePhaseSystem.H.
|
protected |
Definition at line 67 of file ThermalPhaseChangePhaseSystem.H.
| ThermalPhaseChangePhaseSystem | ( | const fvMesh & | mesh | ) |
Construct from fvMesh.
Definition at line 68 of file ThermalPhaseChangePhaseSystem.C.
References IOobjectOption::AUTO_WRITE, Foam::dimDensity, Foam::dimEnergy, Foam::dimTime, Foam::dimVolume, forAllConstIter, IOobject::groupName(), iDmdt_, mesh, phasePair::name(), Foam::New(), phasePairKey::ordered(), phaseChange_, IOobjectOption::READ_IF_PRESENT, saturationModel_, volatile_, wDmdt_, and wMDotL_.

|
virtual |
Destructor.
Definition at line 160 of file ThermalPhaseChangePhaseSystem.C.
|
protected |
Return the interfacial mass transfer rate for a pair.
Definition at line 31 of file ThermalPhaseChangePhaseSystem.C.
References Pair< T >::compare(), phaseSystem::dmdt(), and iDmdt_.
Referenced by correctInterfaceThermo(), dmdt(), dmdts(), heatTransfer(), and massTransfer().


|
protected |
Return the boundary mass transfer rate for a pair.
Definition at line 49 of file ThermalPhaseChangePhaseSystem.C.
References Pair< T >::compare(), phaseSystem::dmdt(), and wDmdt_.
Referenced by correctInterfaceThermo(), dmdt(), dmdts(), heatTransfer(), and massTransfer().


| const Foam::saturationModel & saturation | ( | ) | const |
Return the saturationModel.
Definition at line 169 of file ThermalPhaseChangePhaseSystem.C.
References saturationModel_.
|
virtual |
Return the mass transfer rate for a pair.
Definition at line 177 of file ThermalPhaseChangePhaseSystem.C.
References iDmdt(), and wDmdt().
Referenced by heatTransfer(), and massTransfer().


|
virtual |
Return the mass transfer rates for each phase.
Definition at line 188 of file ThermalPhaseChangePhaseSystem.C.
References dmdts(), forAllConstIter, iDmdt(), iDmdt_, phasePair::phase1(), phasePair::phase2(), wDmdt(), and wDmdt_.
Referenced by dmdts().


|
virtual |
Return the heat transfer matrices.
Definition at line 216 of file ThermalPhaseChangePhaseSystem.C.
References dmdt(), forAllConstIter, iDmdt(), Foam::negPart(), phasePairKey::ordered(), phasePair::phase1(), phase1, phasePair::phase2(), phase2, Foam::posPart(), wDmdt(), and wMDotL_.

|
virtual |
Return the mass transfer matrices.
Definition at line 278 of file ThermalPhaseChangePhaseSystem.C.
References dmdt(), forAll, forAllConstIter, IOobject::groupName(), iDmdt(), Foam::name(), phase::name(), phaseModel::name(), name, phasePairKey::ordered(), phasePair::phase1(), phasePair::phase2(), volatile_, and wDmdt().

|
virtual |
Correct the interface thermodynamics.
Definition at line 337 of file ThermalPhaseChangePhaseSystem.C.
References fvMesh::boundary(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), GeometricField< Type, PatchField, GeoMesh >::clamp_min(), Pair< T >::compare(), Foam::fvc::domainIntegrate(), Foam::endl(), fvPatch::faceCells(), forAll, forAllConstIter, Foam::gAverage(), Foam::gMinMax(), he2, iDmdt(), iDmdt_, Foam::Info, Foam::isA(), L, limits, IOobject::member(), DimensionedField< Type, GeoMesh >::mesh(), mesh, phase::name(), phaseModel::name(), phasePair::name(), Foam::neg(), Foam::neg0(), phaseModel::otherPhase(), p, patches, phasePair::phase1(), phase1, phasePair::phase2(), phase2, phaseChange_, Foam::pos(), Foam::pos0(), GeometricField< Type, PatchField, GeoMesh >::primitiveField(), Foam::refCast(), saturationModel_, Foam::sign(), wDmdt(), wDmdt_, wMDotL_, and Foam::Zero.

|
virtual |
Read base phaseProperties dictionary.
Definition at line 544 of file ThermalPhaseChangePhaseSystem.C.
|
protected |
Name of the volatile specie.
Definition at line 75 of file ThermalPhaseChangePhaseSystem.H.
Referenced by massTransfer(), and ThermalPhaseChangePhaseSystem().
|
protected |
The saturation model used to evaluate Tsat = Tf.
Definition at line 80 of file ThermalPhaseChangePhaseSystem.H.
Referenced by correctInterfaceThermo(), saturation(), and ThermalPhaseChangePhaseSystem().
|
protected |
Definition at line 83 of file ThermalPhaseChangePhaseSystem.H.
Referenced by correctInterfaceThermo(), and ThermalPhaseChangePhaseSystem().
|
protected |
Interfacial Mass transfer rate.
Definition at line 88 of file ThermalPhaseChangePhaseSystem.H.
Referenced by correctInterfaceThermo(), dmdts(), iDmdt(), and ThermalPhaseChangePhaseSystem().
|
protected |
Boundary Mass transfer rate.
Definition at line 93 of file ThermalPhaseChangePhaseSystem.H.
Referenced by correctInterfaceThermo(), dmdts(), ThermalPhaseChangePhaseSystem(), and wDmdt().
|
protected |
Boundary thermal energy transfer rate.
Definition at line 98 of file ThermalPhaseChangePhaseSystem.H.
Referenced by correctInterfaceThermo(), heatTransfer(), and ThermalPhaseChangePhaseSystem().