27 #include "phaseModel.H" 45 const dictionary&
dict,
50 species_(dict.
lookup(
"species")),
62 otherPhase_(pair.otherPhase(phase_)),
65 phase_.
mesh().lookupObject<rhoReactionThermo>
67 IOobject::groupName(basicThermo::
dictName, phase_.
name())
72 otherPhase_.
mesh().lookupObject<rhoThermo>
74 IOobject::groupName(basicThermo::
dictName, otherPhase_.
name())
90 const word& speciesName,
102 const word& speciesName
121 const word& speciesName,
130 tmp<volScalarField> otherHa(
nullptr);
138 otherHa = otherThermo_.ha(otherP, Tf);
162 dmdtL += rhoKDL*
dY(*iter, Tf);
163 dmdtLPrime += rhoKDL*
YfPrime(*iter, Tf);
const char *const group
Group name for atomic constants.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
interfaceCompositionModel(const dictionary &dict, const phasePair &pair)
Construct from a dictionary and a phase pair.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< scalar >> &)
Return a temporary field constructed from name,.
virtual scalar Ha(const label speciei, const scalar p, const scalar T) const =0
Absolute enthalpy [J/kg].
virtual tmp< volScalarField > L(const word &speciesName, const volScalarField &Tf) const
Latent heat.
const basicSpecieMixture & otherComposition() const
Return the other composition.
virtual tmp< volScalarField > D(const word &speciesName) const
Mass diffusivity.
virtual scalar rho(const label speciei, const scalar p, const scalar T) const =0
Density [kg/m^3].
virtual tmp< volScalarField > Yf(const word &speciesName, const volScalarField &Tf) const
The interface species fraction.
virtual tmp< volScalarField > dY(const word &speciesName, const volScalarField &Tf) const
Mass fraction difference between the interface and the field.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
stressControl lookup("compactNormalStress") >> compactNormalStress
static word groupName(Name name, const word &group)
virtual ~interfaceCompositionModel()
Destructor.
const word dictName("particleTrackDict")
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
bool otherHasComposition() const
Return whether the other side has a multi-specie composition.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
virtual scalar alphah(const label speciei, const scalar p, const scalar T) const =0
Thermal conductivity [W/m/K].
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
virtual void addDmdtL(const volScalarField &K, const volScalarField &Tf, volScalarField &dmdtL, volScalarField &dmdtLPrime) const
Add latent heat flow rate to total.
word name(const complex &)
Return a string representation of a complex.
const basicSpecieMixture & composition() const
Return the composition.
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
virtual tmp< volScalarField > YfPrime(const word &speciesName, const volScalarField &Tf) const
The interface species fraction derivative w.r.t. temperature.
scalar Ha(const scalar p, const scalar T) const
A class for managing temporary objects.
PtrList< volScalarField > & Y()
Return the mass-fraction fields.
const speciesTable & species() const
Return the table of species.