32 template<
class BasePhaseSystem>
47 template<
class BasePhaseSystem>
55 template<
class BasePhaseSystem>
67 forAll(this->phaseModels_, phasei)
69 const phaseModel& phase = this->phaseModels_[phasei];
86 const phaseInterface interface(*
this, heatTransferModelIter.key());
93 const phaseModel& otherPhase = iter.otherPhase();
101 /
max(iter.otherPhase(), iter.otherPhase().residualAlpha())
105 *eqns[phase.
name()] +=
115 template<
class BasePhaseSystem>
#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.
Generic GeometricField class.
A HashTable specialisation for hashing pointers.
bool insert(const Key &, const T &newElmt)
Insert a new hashedEntry.
virtual autoPtr< phaseSystem::heatTransferTable > heatTransfer() const
Return the heat transfer matrices.
virtual ~OneResistanceHeatTransferPhaseSystem()
Destructor.
heatTransferModelTable heatTransferModels_
Heat transfer models.
OneResistanceHeatTransferPhaseSystem(const fvMesh &)
Construct from fvMesh.
virtual bool read()
Read base phaseProperties dictionary.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual const volScalarField & T() const =0
Temperature [K].
virtual const volScalarField & Cpv() const =0
Heat capacity at constant pressure/volume [J/kg/K].
virtual const volScalarField & he() const =0
Enthalpy/Internal energy [J/kg].
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Mesh data needed to do the Finite Volume discretisation.
Class to represent an interface between phases. Derivations can further specify the configuration of ...
virtual const rhoThermo & thermo() const =0
Return the thermophysical model.
const word & name() const
Return the name of this phase.
Calculate the matrix for implicit and explicit sources.
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const VolField< Type > &)
const dimensionSet dimEnergy
const dimensionSet dimTime
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)