35 #ifndef singleStepReactingMixture_H 36 #define singleStepReactingMixture_H 50 template<
class ThermoType>
138 return "singleStepReactingMixture<" + ThermoType::typeName() +
'>';
const List< int > & specieProd() const
Return the list to indicate if specie is produced/consumed.
const dimensionedScalar s() const
Return the Stoichiometric oxygen-fuel mass ratio.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const dimensionedScalar qFuel() const
Return the heat of combustion [J/Kg].
A list of keyword definitions, which are a keyword followed by any number of values (e...
Single step reacting mixture.
virtual ~singleStepReactingMixture()
Destructor.
tmp< volScalarField > fres(const label index) const
Return the list of components residual.
label inertIndex_
Inert specie index.
void massAndAirStoichRatios()
Calculate air/fuel and oxygen/fuel ratio.
static word typeName()
Return the instantiated type name.
dimensionedScalar s_
Stoichiometric oxygen-fuel mass ratio.
label fuelIndex() const
Return the fuel specie index.
scalarList specieStoichCoeffs_
Stoichiometric coefficient for the reaction.
label fuelIndex_
Fuel specie index.
A class for handling words, derived from string.
List< int > specieProd_
List to indicate if specie is produced/consumed.
label inertIndex() const
Return the inert specie index.
const scalarList & Yprod0() const
Return the list of products mass concentrations.
PtrList< volScalarField > fres_
List of components residual.
void calculateMaxProducts()
Calculate maximum products at stoichiometric mixture.
const List< scalar > & specieStoichCoeffs() const
Return the stoichiometric coefficient for the reaction.
void read(const dictionary &)
Read dictionary.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Mesh data needed to do the Finite Volume discretisation.
scalarList Yprod0_
Mass concentrations at stoichiometric mixture for fres.
const dimensionedScalar stoicRatio() const
Return the stoichiometric air-fuel mass ratio.
ThermoType thermoType
The type of thermo package this mixture is instantiated for.
A class for managing temporary objects.
dimensionedScalar qFuel_
Heat of combustion [J/Kg].
dimensionedScalar stoicRatio_
Stoichiometric air-fuel mass ratio.
void fresCorrect()
Calculates the residual for all components.
void calculateqFuel()
Calculate qFuel.