28 #include "heatTransferModel.H" 33 template<
class BasePhaseSystem>
40 HeatTransferPhaseSystem<BasePhaseSystem>(mesh)
42 this->generatePairsAndSubModels
53 template<
class BasePhaseSystem>
61 template<
class BasePhaseSystem>
66 autoPtr<phaseSystem::heatTransferTable> eqnsPtr
75 const phaseModel& phase = this->phaseModels_[
phasei];
87 heatTransferModelTable,
94 const phasePair& pair(this->phasePairs_[heatTransferModelIter.key()]);
98 const phaseModel& phase = iter();
99 const phaseModel& otherPhase = iter.otherPhase();
104 *eqns[phase.name()] +=
105 K*(otherPhase.thermo().T() - phase.thermo().T() + he/Cpv)
114 template<
class BasePhaseSystem>
OneResistanceHeatTransferPhaseSystem(const fvMesh &)
Construct from fvMesh.
fvMatrix< scalar > fvScalarMatrix
#define forAll(list, i)
Loop across all elements in list.
HashPtrTable< fvScalarMatrix > heatTransferTable
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
CGAL::Exact_predicates_exact_constructions_kernel K
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionSet dimTime
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
const dimensionSet dimEnergy
virtual autoPtr< phaseSystem::heatTransferTable > heatTransfer() const
Return the heat transfer matrices.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual bool read()
Read base phaseProperties dictionary.
Calculate the matrix for implicit and explicit sources.
virtual bool read()
Read base phaseProperties dictionary.
virtual ~OneResistanceHeatTransferPhaseSystem()
Destructor.