31 template<
class BasePhaseSystem>
40 this->generatePairsAndSubModels
51 template<
class BasePhaseSystem>
59 template<
class BasePhaseSystem>
64 autoPtr<phaseSystem::heatTransferTable> eqnsPtr
73 const phaseModel& phase = this->phaseModels_[
phasei];
85 heatTransferModelTable,
92 const phasePair& pair(this->phasePairs_[heatTransferModelIter.key()]);
96 const phaseModel& phase = iter();
97 const phaseModel& otherPhase = iter.otherPhase();
102 *eqns[phase.name()] +=
103 K*(otherPhase.thermo().T() - phase.thermo().T() +
he/Cpv)
116 const phasePair& pair(phasePairIter());
123 const phaseModel& phase1 = pair.phase1();
124 const phaseModel& phase2 = pair.phase2();
140 *eqns[phase1.name()] +=
143 *eqns[phase2.name()] -=
151 template<
class BasePhaseSystem>
OneResistanceHeatTransferPhaseSystem(const fvMesh &)
Construct from fvMesh.
fvMatrix< scalar > fvScalarMatrix
#define forAll(list, i)
Loop across all elements in list.
HashTable< autoPtr< phasePair >, phasePairKey, phasePairKey::hash > phasePairTable
HashPtrTable< fvScalarMatrix > heatTransferTable
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
CGAL::Exact_predicates_exact_constructions_kernel K
dimensionedScalar posPart(const dimensionedScalar &ds)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
const dimensionSet dimEnergy
virtual autoPtr< phaseSystem::heatTransferTable > heatTransfer() const
Return the heat transfer matrices.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Calculate the matrix for implicit and explicit sources.
virtual bool read()
Read base phaseProperties dictionary.
dimensionedScalar negPart(const dimensionedScalar &ds)
virtual ~OneResistanceHeatTransferPhaseSystem()
Destructor.