14BlowersMaselData::BlowersMaselData()
17 , m_state_mf_number(-1)
21void BlowersMaselData::update(
double T) {
23 "This method does not update the change of reaction enthalpy.");
24 ReactionData::update(T);
33 if (T != temperature) {
34 ReactionData::update(T);
37 if (changed || rho != density || mf != m_state_mf_number) {
39 m_state_mf_number = mf;
46BlowersMaselRate::BlowersMaselRate()
64 warn_user(
"BlowersMaselRate::ddTScaledFromStruct",
65 "Temperature derivative does not consider changes of reaction enthalpy.");
76 for (
const auto& sp : rxn.
products) {
Header for Blowers-Masel reaction rates.
Base class for kinetics managers and also contains the kineticsmgr module documentation (see Kinetics...
Header file for class ThermoPhase, the base class for phases with thermodynamic properties,...
Base class for Arrhenius-type Parameterizations.
std::string m_Ea_str
The string for activation energy.
std::string m_E4_str
The string for an optional 4th parameter.
double m_E4_R
Optional 4th energy parameter (in temperature units)
double m_b
Temperature exponent.
virtual void setContext(const Reaction &rxn, const Kinetics &kin) override
Set context of reaction rate evaluation.
BlowersMaselRate()
Default constructor.
double effectiveActivationEnergy_R(double deltaH_R) const
Return the effective activation energy (a function of the delta H of reaction) divided by the gas con...
double m_deltaH_R
enthalpy change of reaction (in temperature units)
double ddTScaledFromStruct(const BlowersMaselData &shared_data) const
Evaluate derivative of reaction rate with respect to temperature divided by reaction rate.
std::vector< std::pair< size_t, double > > m_stoich_coeffs
Pairs of species indices and multiplers to calculate enthalpy change.
Public interface for kinetics managers.
size_t kineticsSpeciesIndex(size_t k, size_t n) const
The location of species k of phase n in species arrays.
virtual double density() const
Density (kg/m^3).
int stateMFNumber() const
Return the State Mole Fraction Number.
doublereal temperature() const
Temperature (K).
Abstract base class which stores data about a reaction and its rate parameterization so that it can b...
Composition products
Product species and stoichiometric coefficients.
Composition reactants
Reactant species and stoichiometric coefficients.
Base class for a phase with thermodynamic properties.
virtual void getPartialMolarEnthalpies(doublereal *hbar) const
Returns an array of partial molar enthalpies for the species in the mixture.
Namespace for the Cantera kernel.
const double GasConstant
Universal Gas Constant [J/kmol/K].
void warn_user(const std::string &method, const std::string &msg, const Args &... args)
Print a user warning raised from method as CanteraWarning.
Data container holding shared data specific to BlowersMaselRate.
double recipT
inverse of temperature