40#ifndef singleStepReactingMixture_H
41#define singleStepReactingMixture_H
55template<
class ThermoType>
142 return "singleStepReactingMixture<" + ThermoType::typeName() +
'>';
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Single step reacting mixture.
const List< int > & specieProd() const
Return the list to indicate if specie is produced/consumed.
dimensionedScalar s_
Stoichiometric oxygen-fuel mass ratio.
void fresCorrect()
Calculates the residual for all components.
label fuelIndex_
Fuel specie index.
virtual ~singleStepReactingMixture()=default
Destructor.
scalarList Yprod0_
Mass concentrations at stoichiometric mixture for fres.
ThermoType thermoType
The type of thermo package this mixture is instantiated for.
tmp< volScalarField > fres(const label index) const
Return the list of components residual.
label inertIndex() const
Return the inert specie index.
dimensionedScalar stoicRatio_
Stoichiometric air-fuel mass ratio.
static word typeName()
Return the instantiated type name.
void calculateMaxProducts()
Calculate maximum products at stoichiometric mixture.
label fuelIndex() const
Return the fuel specie index.
const dimensionedScalar stoicRatio() const
Return the stoichiometric air-fuel mass ratio.
const List< scalar > & specieStoichCoeffs() const
Return the stoichiometric coefficient for the reaction.
void read(const dictionary &)
Read dictionary.
label inertIndex_
Inert specie index.
const dimensionedScalar s() const
Return the Stoichiometric oxygen-fuel mass ratio.
List< int > specieProd_
List to indicate if specie is produced/consumed.
PtrList< volScalarField > fres_
List of components residual.
const scalarList & Yprod0() const
Return the list of products mass concentrations.
void massAndAirStoichRatios()
Calculate air/fuel and oxygen/fuel ratio.
const dimensionedScalar qFuel() const
Return the heat of combustion [J/Kg].
scalarList specieStoichCoeffs_
Stoichiometric coefficient for the reaction.
void calculateqFuel()
Calculate qFuel.
dimensionedScalar qFuel_
Heat of combustion [J/Kg].
A class for managing temporary objects.
A class for handling words, derived from Foam::string.