#define forAll(list, i)
Loop across all elements in list.
Specialisation of basicMixture for a mixture consisting of a number for molecular species.
virtual scalar Hs(const label speciei, const scalar p, const scalar T) const =0
Sensible enthalpy [J/kg].
virtual scalar Wi(const label speciei) const =0
Molecular weight of the given specie [kg/kmol].
PtrList< volScalarField > & Y()
Return the mass-fraction fields.
Base-class for multi-component fluid thermodynamic properties.
virtual basicSpecieMixture & composition()=0
Return the composition of the multi-component mixture.
scalar h0(const fluidMulticomponentThermo &thermo, const scalarList &Y, const scalar p, const scalar T)
scalarList W(const fluidMulticomponentThermo &thermo)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
basicSpecieMixture & composition
PtrList< volScalarField > & Y
fluidMulticomponentThermo & thermo