35 #ifndef singleStepCombustion_H 36 #define singleStepCombustion_H 46 namespace combustionModels
53 template<
class ReactionThermo,
class ThermoType>
120 const word& modelType,
121 const ReactionThermo&
thermo,
123 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.
virtual const ReactionThermo & thermo() const
Return const access to the thermo package.
dimensionedScalar stoicRatio_
Stoichiometric air-fuel mass ratio.
label fuelIndex() const
Return the fuel specie index.
const multiComponentMixture< ThermoType > & mixture_
scalarList Yprod0_
Mass concentrations at stoichiometric mixture for fres.
const dimensionedScalar stoicRatio() const
Return the stoichiometric air-fuel mass ratio.
PtrList< volScalarField > fres_
List of components residual.
autoPtr< Reaction< ThermoType > > reaction_
The single-step reaction.
const scalarList & Yprod0() const
Return the list of products mass concentrations.
void calculateqFuel()
Calculate qFuel.
label inertIndex_
Inert specie index.
bool semiImplicit_
Semi-implicit (true) or explicit (false) treatment.
A class for handling words, derived from string.
const List< scalar > & specieStoichCoeffs() const
Return the stoichiometric coefficient for the reaction.
Foam::multiComponentMixture.
label inertIndex() const
Return the inert specie index.
const dimensionedScalar qFuel() const
Return the heat of combustion [J/Kg].
label fuelIndex_
Fuel specie index.
scalarList specieStoichCoeffs_
Stoichiometric coefficient for the reaction.
const multiComponentMixture< ThermoType > & mixture() const
Thermo model wrapper for combustion models.
dimensionedScalar qFuel_
Heat of combustion [J/Kg].
virtual tmp< volScalarField > Qdot() const
Heat release rate [kg/m/s^3].
const Reaction< ThermoType > & reaction() const
Return the single step reaction.
void operator=(const singleStepCombustion &)=delete
Disallow default bitwise assignment.
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.
const dimensionedScalar s() const
Return the Stoichiometric oxygen-fuel mass ratio.
PtrList< volScalarField > & Y
virtual ~singleStepCombustion()
Destructor.
singleStepCombustion(const word &modelType, const ReactionThermo &thermo, const compressibleMomentumTransportModel &turb, const word &combustionProperties)
Construct from components.
Base class for combustion models using multiComponentMixture.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
List< int > specieProd_
List to indicate if specie is produced/consumed.
A class for managing temporary objects.
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.
virtual tmp< fvScalarMatrix > R(volScalarField &Y) const
Fuel consumption rate matrix.