Go to the documentation of this file.
27 #include "phaseModel.H"
28 #include "phasePair.H"
35 template<
class Thermo,
class OtherThermo>
36 template<
class ThermoType>
40 const word& speciesName,
41 const multiComponentMixture<ThermoType>& globalThermo
45 globalThermo.getLocalThermo
47 globalThermo.species()
55 template<
class Thermo,
class OtherThermo>
56 template<
class ThermoType>
60 const word& speciesName,
61 const pureMixture<ThermoType>& globalThermo
64 return globalThermo.cellMixture(0);
70 template<
class Thermo,
class OtherThermo>
73 const dictionary&
dict,
77 interfaceCompositionModel(
dict, pair),
98 template<
class Thermo,
class OtherThermo>
106 template<
class Thermo,
class OtherThermo>
110 const word& speciesName,
116 - thermo_.composition().Y()
118 thermo_.composition().species()[speciesName]
123 template<
class Thermo,
class OtherThermo>
127 const word& speciesName
130 const typename Thermo::thermoType& localThermo =
141 tmp<volScalarField> tmpD
161 localThermo.alphah(
p[cellI],
T[cellI])
162 /localThermo.rho(
p[cellI],
T[cellI]);
171 template<
class Thermo,
class OtherThermo>
175 const word& speciesName,
179 const typename Thermo::thermoType& localThermo =
185 const typename OtherThermo::thermoType& otherLocalThermo =
195 tmp<volScalarField> tmpL
215 localThermo.Ha(
p[cellI], Tf[cellI])
216 - otherLocalThermo.Ha(otherP[cellI], Tf[cellI]);
223 template<
class Thermo,
class OtherThermo>
236 thermo_.rhoThermo::rho()
242 mDotL += rhoKDL*dY(*iter, Tf);
243 mDotLPrime += rhoKDL*YfPrime(*iter, Tf);
static word groupName(Name name, const word &group)
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
virtual tmp< volScalarField > L(const word &speciesName, const volScalarField &Tf) const
Latent heat.
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
const dimensionSet dimEnergy
virtual tmp< volScalarField > D(const word &speciesName) const
Mass diffusivity.
const pureMixture< ThermoType >::thermoType & getLocalThermo(const word &speciesName, const pureMixture< ThermoType > &globalThermo) const
Get a reference to the local thermo for a pure mixture.
ThermoType thermoType
The type of thermodynamics this mixture is instantiated for.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
CGAL::Exact_predicates_exact_constructions_kernel K
const word dictName("particleTrackDict")
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
virtual tmp< volScalarField > dY(const word &speciesName, const volScalarField &Tf) const
Mass fraction difference between the interface and the field.
InterfaceCompositionModel(const dictionary &dict, const phasePair &pair)
Construct from components.
const dimensionSet dimArea(sqr(dimLength))
~InterfaceCompositionModel()
Destructor.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
virtual void addMDotL(const volScalarField &K, const volScalarField &Tf, volScalarField &mDotL, volScalarField &mDotLPrime) const
Add latent heat flow rate to total.
ThermoType thermoType
The type of thermodynamics this mixture is instantiated for.
word name(const complex &)
Return a string representation of a complex.