Class which models interfacial heat transfer between a number of phases. Two heat transfer models are stored at each interface, one for each phase. This permits definition of an interface temperature with which heat transfer occurs. It also allows derived systems to define other thermodynamic properties at the interface and therefore represent phase changes. More...
Public Member Functions | |
TwoResistanceHeatTransferPhaseSystem (const fvMesh &) | |
Construct from fvMesh. More... | |
virtual | ~TwoResistanceHeatTransferPhaseSystem () |
Destructor. More... | |
virtual autoPtr< phaseSystem::heatTransferTable > | heatTransfer () const |
Return the heat transfer matrices. More... | |
virtual void | correctEnergyTransport () |
Correct the energy transport e.g. alphat and Tf. More... | |
virtual void | correctInterfaceThermo () |
Correct the interface thermodynamics. More... | |
virtual bool | read () |
Read base phaseProperties dictionary. More... | |
Protected Types | |
typedef HashTable< Pair< autoPtr< BlendedInterfacialModel< heatTransferModel > > >, phasePairKey, phasePairKey::hash > | heatTransferModelTable |
Protected Attributes | |
HashPtrTable< volScalarField, phasePairKey, phasePairKey::hash > | Tf_ |
Interface temperatures. More... | |
heatTransferModelTable | heatTransferModels_ |
Heat transfer models. More... | |
Class which models interfacial heat transfer between a number of phases. Two heat transfer models are stored at each interface, one for each phase. This permits definition of an interface temperature with which heat transfer occurs. It also allows derived systems to define other thermodynamic properties at the interface and therefore represent phase changes.
Definition at line 64 of file TwoResistanceHeatTransferPhaseSystem.H.
|
protected |
Definition at line 77 of file TwoResistanceHeatTransferPhaseSystem.H.
TwoResistanceHeatTransferPhaseSystem | ( | const fvMesh & | mesh | ) |
Construct from fvMesh.
Definition at line 45 of file TwoResistanceHeatTransferPhaseSystem.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAllConstIter, Foam::max(), mesh, phasePair::name(), phaseModel::name(), phase1, phasePair::phase1(), phase2, and phasePair::phase2().
|
virtual |
Destructor.
Definition at line 128 of file TwoResistanceHeatTransferPhaseSystem.C.
|
virtual |
Return the heat transfer matrices.
Definition at line 137 of file TwoResistanceHeatTransferPhaseSystem.C.
References Foam::dimEnergy, Foam::dimTime, forAll, forAllConstIter, he, he2, K1, K2, phase::name(), Foam::negPart(), phasePairKey::ordered(), phase1, phasePair::phase1(), phase2, phasePair::phase2(), phasei, Foam::posPart(), HashPtrTable< T, Key, Hash >::set(), Sp, and GeometricField< Type, PatchField, GeoMesh >::T().
|
virtual |
Correct the energy transport e.g. alphat and Tf.
Definition at line 248 of file TwoResistanceHeatTransferPhaseSystem.C.
|
virtual |
Correct the interface thermodynamics.
Definition at line 258 of file TwoResistanceHeatTransferPhaseSystem.C.
References Foam::fac::average(), Foam::endl(), forAllConstIter, Foam::Info, L(), Foam::max(), GeometricField< Type, PatchField, GeoMesh >::max(), Foam::min(), p, phase1, and phase2.
|
virtual |
Read base phaseProperties dictionary.
Definition at line 315 of file TwoResistanceHeatTransferPhaseSystem.C.
References Foam::blockMeshTools::read().
|
protected |
Interface temperatures.
Definition at line 83 of file TwoResistanceHeatTransferPhaseSystem.H.
|
protected |
Heat transfer models.
Definition at line 88 of file TwoResistanceHeatTransferPhaseSystem.H.