Class to provide interfacial heat and mass transfer between a number of phases according the interfacial temperature approximated by the saturation temperature. More...
Public Member Functions | |
ThermalPhaseChangePhaseSystem (const fvMesh &) | |
Construct from fvMesh. More... | |
virtual | ~ThermalPhaseChangePhaseSystem () |
Destructor. More... | |
const saturationModel & | saturation () const |
Return the saturationModel. 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::heatTransferTable > | heatTransfer () const |
Return the heat transfer matrices. More... | |
virtual autoPtr< phaseSystem::massTransferTable > | massTransfer () const |
Return the mass transfer matrices. More... | |
virtual void | correctInterfaceThermo () |
Correct the interface thermodynamics. More... | |
virtual bool | read () |
Read base phaseProperties dictionary. More... | |
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. More... | |
tmp< volScalarField > | wDmdt (const phasePairKey &key) const |
Return the boundary mass transfer rate for a pair. More... | |
Protected Attributes | |
word | volatile_ |
Name of the volatile specie. More... | |
autoPtr< saturationModel > | saturationModel_ |
The saturation model used to evaluate Tsat = Tf. More... | |
Switch | phaseChange_ |
iDmdtTable | iDmdt_ |
Interfacial Mass transfer rate. More... | |
wDmdtTable | wDmdt_ |
Boundary Mass transfer rate. More... | |
wMDotLTable | wMDotL_ |
Boundary thermal energy transfer rate. More... | |
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 70 of file ThermalPhaseChangePhaseSystem.C.
References Foam::dimDensity, Foam::dimEnergy, Foam::dimTime, Foam::dimVolume, forAllConstIter, mesh, phasePair::name(), and phasePairKey::ordered().
|
virtual |
Destructor.
Definition at line 161 of file ThermalPhaseChangePhaseSystem.C.
|
protected |
Return the interfacial mass transfer rate for a pair.
Definition at line 32 of file ThermalPhaseChangePhaseSystem.C.
References Foam::glTF::key().
|
protected |
Return the boundary mass transfer rate for a pair.
Definition at line 50 of file ThermalPhaseChangePhaseSystem.C.
References Foam::glTF::key().
const Foam::saturationModel & saturation | ( | ) | const |
Return the saturationModel.
Definition at line 169 of file ThermalPhaseChangePhaseSystem.C.
|
virtual |
Return the mass transfer rate for a pair.
Definition at line 178 of file ThermalPhaseChangePhaseSystem.C.
References Foam::glTF::key().
|
virtual |
Return the mass transfer rates for each phase.
Definition at line 188 of file ThermalPhaseChangePhaseSystem.C.
References forAllConstIter, phasePair::phase1(), and phasePair::phase2().
|
virtual |
Return the heat transfer matrices.
Definition at line 216 of file ThermalPhaseChangePhaseSystem.C.
References forAllConstIter, Foam::negPart(), phasePairKey::ordered(), phase1, phasePair::phase1(), phase2, phasePair::phase2(), and Foam::posPart().
|
virtual |
Return the mass transfer matrices.
Definition at line 278 of file ThermalPhaseChangePhaseSystem.C.
References forAll, forAllConstIter, massTransfer(), phase::name(), Foam::name(), phaseModel::name(), phasePairKey::ordered(), phasePair::phase1(), and phasePair::phase2().
|
virtual |
Correct the interface thermodynamics.
Definition at line 337 of file ThermalPhaseChangePhaseSystem.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), GeometricField< Type, PatchField, GeoMesh >::clamp_min(), Foam::fvc::domainIntegrate(), Foam::endl(), fvPatch::faceCells(), forAll, forAllConstIter, Foam::gAverage(), Foam::gMax(), Foam::gMin(), he2, Foam::Info, Foam::glTF::key(), L(), mesh, DimensionedField< Type, GeoMesh >::mesh(), phase::name(), phaseModel::name(), Foam::neg(), Foam::neg0(), phaseModel::otherPhase(), p, patches, phase1, phase2, Foam::pos(), Foam::pos0(), GeometricField< Type, PatchField, GeoMesh >::primitiveField(), and Foam::sign().
|
virtual |
Read base phaseProperties dictionary.
Definition at line 533 of file ThermalPhaseChangePhaseSystem.C.
References Foam::blockMeshTools::read().
|
protected |
Name of the volatile specie.
Definition at line 75 of file ThermalPhaseChangePhaseSystem.H.
|
protected |
The saturation model used to evaluate Tsat = Tf.
Definition at line 80 of file ThermalPhaseChangePhaseSystem.H.
|
protected |
Definition at line 83 of file ThermalPhaseChangePhaseSystem.H.
|
protected |
Interfacial Mass transfer rate.
Definition at line 88 of file ThermalPhaseChangePhaseSystem.H.
|
protected |
Boundary Mass transfer rate.
Definition at line 93 of file ThermalPhaseChangePhaseSystem.H.
|
protected |
Boundary thermal energy transfer rate.
Definition at line 98 of file ThermalPhaseChangePhaseSystem.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.