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,
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>
242 mDotL += rhoKDL*
dY(*iter, Tf);
243 mDotLPrime += rhoKDL*
YfPrime(*iter, Tf);
#define forAll(list, i)
Loop across all elements in list.
const OtherThermo & otherThermo_
Other Thermo.
virtual void addMDotL(const volScalarField &K, const volScalarField &Tf, volScalarField &mDotL, volScalarField &mDotLPrime) const
Add latent heat flow rate to total.
virtual tmp< volScalarField > dY(const word &speciesName, const volScalarField &Tf) const
Mass fraction difference between the interface and the field.
virtual tmp< volScalarField > D(const word &speciesName) const
Mass diffusivity.
virtual word name() const
Pair name.
~InterfaceCompositionModel()
Destructor.
virtual tmp< volScalarField > Yf(const word &speciesName, const volScalarField &Tf) const
The interface species fraction.
virtual tmp< volScalarField > L(const word &speciesName, const volScalarField &Tf) const
Latent heat.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const pureMixture< ThermoType >::thermoType & getLocalThermo(const word &speciesName, const pureMixture< ThermoType > &globalThermo) const
Get a reference to the local thermo for a pure mixture.
const phasePair & pair_
Phase pair.
static word groupName(Name name, const word &group)
const dimensionedScalar Le_
Lewis number.
const word dictName("particleTrackDict")
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
word name(const complex &)
Return a string representation of a complex.
const dimensionSet dimEnergy
ThermoType thermoType
The type of thermodynamics this mixture is instantiated for.
const hashedWordList speciesNames_
Names of the transferring species.
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
const Thermo & thermo_
Thermo.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
ThermoType thermoType
The type of thermodynamics this mixture is instantiated for.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
virtual tmp< volScalarField > YfPrime(const word &speciesName, const volScalarField &Tf) const
The interface species fraction derivative w.r.t. temperature.
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
A class for managing temporary objects.
InterfaceCompositionModel(const dictionary &dict, const phasePair &pair)
Construct from components.
const dimensionSet dimArea(sqr(dimLength))