36 #ifndef basicSpecieMixture_H 37 #define basicSpecieMixture_H 140 virtual scalar
Wi(
const label speciei)
const = 0;
143 virtual scalar
Hf(
const label speciei)
const = 0;
void setInactive(label speciei) const
Set speciei inactive.
PtrList< volScalarField > Y_
Species mass fractions.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual scalar kappa(const label speciei, const scalar p, const scalar T) const =0
Thermal conductivity [W/m/K].
virtual scalar Ha(const label speciei, const scalar p, const scalar T) const =0
Absolute enthalpy [J/kg].
virtual scalar Wi(const label speciei) const =0
Molecular weight of the given specie [kg/kmol].
virtual scalar rho(const label speciei, const scalar p, const scalar T) const =0
Density [kg/m^3].
Specialization of basicMixture for a mixture consisting of a number for molecular species...
speciesTable species_
Table of specie names.
List< bool > active_
List of specie active flags.
virtual scalar Cp(const label speciei, const scalar p, const scalar T) const =0
Heat capacity at constant pressure [J/kg/K].
virtual scalar mu(const label speciei, const scalar p, const scalar T) const =0
Dynamic viscosity [kg/m/s].
A class for handling words, derived from string.
virtual scalar HE(const label speciei, const scalar p, const scalar T) const =0
Enthalpy/Internal energy [J/kg].
bool contains(const word &specieName) const
Does the mixture include this specie?
virtual ~basicSpecieMixture()
Destructor.
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)
A wordList with hashed indices for faster lookup by name.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
TypeName("basicSpecieMixture")
Run time type information.
Mesh data needed to do the Finite Volume discretisation.
virtual scalar Hs(const label speciei, const scalar p, const scalar T) const =0
Sensible enthalpy [J/kg].
void setActive(label speciei) const
Set speciei active.
basicSpecieMixture basicMixtureType
The base class of the mixture.
A class for managing temporary objects.
PtrList< volScalarField > & Y()
Return the mass-fraction fields.
virtual scalar Hf(const label speciei) const =0
Enthalpy of formation [J/kg].
const List< bool > & active() const
Return the bool list of active species.
basicSpecieMixture(const dictionary &, const wordList &specieNames, const fvMesh &, const word &)
Construct from dictionary, species names, mesh and phase name.
const speciesTable & species() const
Return the table of species.