27 #include "heatTransferModel.H" 32 template<
class BasePhaseSystem>
39 HeatTransferPhaseSystem<BasePhaseSystem>(mesh)
41 this->generateInterfacialModels(heatTransferModels_);
47 template<
class BasePhaseSystem>
55 template<
class BasePhaseSystem>
60 autoPtr<phaseSystem::heatTransferTable> eqnsPtr
69 const phaseModel& phase = this->phaseModels_[
phasei];
81 heatTransferModelTable,
86 const phaseInterface interface(*
this, heatTransferModelIter.key());
92 const phaseModel& phase = iter();
93 const phaseModel& otherPhase = iter.otherPhase();
98 *eqns[phase.name()] +=
99 K*(otherPhase.thermo().T() - phase.thermo().T() + he/Cpv)
108 template<
class BasePhaseSystem>
OneResistanceHeatTransferPhaseSystem(const fvMesh &)
Construct from fvMesh.
fvMatrix< scalar > fvScalarMatrix
#define forAll(list, i)
Loop across all elements in list.
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
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
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.