35 #ifndef singleStepCombustion_H 36 #define singleStepCombustion_H 46 namespace combustionModels
117 const word& modelType,
120 const word& combustionProperties
void calculateMaxProducts()
Calculate maximum products at stoichiometric mixture.
volScalarField wFuel_
Fuel consumption rate.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dimensionedScalar s_
Stoichiometric oxygen-fuel mass ratio.
dimensionedScalar stoicRatio_
Stoichiometric air-fuel mass ratio.
label fuelIndex() const
Return the fuel specie index.
const basicSpecieMixture & mixture_
Reference to the mixture.
scalarList Yprod0_
Mass concentrations at stoichiometric mixture for fres.
Base-class for multi-component fluid thermodynamic properties.
singleStepCombustion(const word &modelType, const fluidReactionThermo &thermo, const compressibleMomentumTransportModel &turb, const word &combustionProperties)
Construct from components.
PtrList< volScalarField > fres_
List of components residual.
Specialisation of basicMixture for a mixture consisting of a number for molecular species...
const dimensionedScalar & s() const
Return the Stoichiometric oxygen-fuel mass ratio.
const scalarList & Yprod0() const
Return the list of products mass concentrations.
Reaction base-class holding the specie names and coefficients.
void calculateqFuel()
Calculate qFuel.
bool semiImplicit_
Semi-implicit (true) or explicit (false) treatment.
A class for handling words, derived from string.
virtual tmp< fvScalarMatrix > R(volScalarField &Y) const
Fuel consumption rate matrix.
const List< scalar > & specieStoichCoeffs() const
Return the stoichiometric coefficient for the reaction.
label fuelIndex_
Fuel specie index.
scalarList specieStoichCoeffs_
Stoichiometric coefficient for the reaction.
Base class for combustion models.
const reaction & singleReaction() const
Return the single step reaction.
dimensionedScalar qFuel_
Heat of combustion [J/Kg].
const dimensionedScalar & stoicRatio() const
Return the stoichiometric air-fuel mass ratio.
void operator=(const singleStepCombustion &)=delete
Disallow default bitwise assignment.
const basicSpecieMixture & mixture() const
Return the mixture.
virtual bool read()
Update properties from given dictionary.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
tmp< volScalarField > fres(const label index) const
Return the list of components residual.
PtrList< volScalarField > & Y
const dimensionedScalar & qFuel() const
Return the heat of combustion [J/Kg].
virtual ~singleStepCombustion()
Destructor.
Base class for combustion models using basicSpecieMixture.
List< int > specieProd_
List to indicate if specie is produced/consumed.
A class for managing temporary objects.
reaction reaction_
The single-step reaction.
virtual tmp< volScalarField > Qdot() const
Heat release rate [kg/m/s^3].
void fresCorrect()
Calculates the residual for all components.
void massAndAirStoichRatios()
Calculate air/fuel and oxygen/fuel ratio.
Abstract base class for turbulence models (RAS, LES and laminar).
const List< int > & specieProd() const
Return the list to indicate if specie is produced/consumed.
const fluidReactionThermo & thermo() const
Return const access to the thermo.