33template<
class BasePhaseSystem>
42 this->generatePairsAndSubModels
53template<
class BasePhaseSystem>
61template<
class BasePhaseSystem>
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)
153template<
class BasePhaseSystem>
156 if (BasePhaseSystem::read())
CGAL::Exact_predicates_exact_constructions_kernel K
tmp< GeometricField< Type, PatchField, GeoMesh > > T() const
Return transpose (only if it is a tensor field).
bool set(const Key &key, T *ptr)
Assign a new entry, overwrites existing.
virtual autoPtr< phaseSystem::heatTransferTable > heatTransfer() const
Return the heat transfer matrices.
HashTable< autoPtr< BlendedInterfacialModel< heatTransferModel > >, phasePairKey, phasePairKey::hash > heatTransferModelTable
virtual ~OneResistanceHeatTransferPhaseSystem()
Destructor.
heatTransferModelTable heatTransferModels_
Heat transfer models.
OneResistanceHeatTransferPhaseSystem(const fvMesh &)
Construct from fvMesh.
virtual bool read()
Read base phaseProperties dictionary.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual volScalarField & he()=0
Enthalpy/Internal energy [J/kg].
Mesh data needed to do the Finite Volume discretisation.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
virtual tmp< volScalarField > K() const =0
Return the phase kinetic energy.
const phaseModel & otherPhase() const
Return the other phase in this two-phase system.
const word & name() const
virtual const rhoThermo & thermo() const =0
Return the thermophysical model.
bool ordered() const noexcept
Return the ordered flag.
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
const multiphaseInter::phaseModel & phase1() const
const multiphaseInter::phaseModel & phase2() const
HashTable< autoPtr< phasePair >, phasePairKey, phasePairKey::hash > phasePairTable
HashPtrTable< fvScalarMatrix > heatTransferTable
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
const word & name() const
Calculate the finiteVolume matrix for implicit and explicit sources.
zeroField Sp(const Foam::zero, const GeometricField< Type, fvPatchField, volMesh > &)
A no-op source.
const dimensionSet dimEnergy
fvMatrix< scalar > fvScalarMatrix
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensionedScalar negPart(const dimensionedScalar &ds)
dimensionedScalar posPart(const dimensionedScalar &ds)
#define forAll(list, i)
Loop across all elements in list.
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object.