7#ifndef CT_TWOTEMPPLASMARATE_H
8#define CT_TWOTEMPPLASMARATE_H
25 virtual void update(
double T)
override;
26 virtual void update(
double T,
double Te)
override;
29 virtual void updateTe(
double Te);
83 return unique_ptr<MultiRateBase>(
87 virtual const std::string
type()
const override {
88 return "two-temperature-plasma";
Header for reaction rates that involve Arrhenius-type kinetics.
A map of string keys to values whose type can vary at runtime.
Base class for Arrhenius-type Parameterizations.
virtual void setParameters(const AnyMap &node, const UnitStack &rate_units) override
Set parameters.
double m_E4_R
Optional 4th energy parameter (in temperature units)
double m_A
Pre-exponential factor.
double m_b
Temperature exponent.
double m_Ea_R
Activation energy (in temperature units)
Public interface for kinetics managers.
A class template handling ReactionRate specializations.
Abstract base class which stores data about a reaction and its rate parameterization so that it can b...
Base class for a phase with thermodynamic properties.
Two temperature plasma reaction rate type depends on both gas temperature and electron temperature.
double evalFromStruct(const TwoTempPlasmaData &shared_data) const
Evaluate reaction rate.
virtual void setContext(const Reaction &rxn, const Kinetics &kin) override
Set context of reaction rate evaluation.
unique_ptr< MultiRateBase > newMultiRate() const override
Create a rate evaluator for reactions of a particular derived type.
double ddTScaledFromStruct(const TwoTempPlasmaData &shared_data) const
Evaluate derivative of reaction rate with respect to temperature divided by reaction rate.
double activationElectronEnergy() const
Return the electron activation energy Ea [J/kmol].
virtual const std::string type() const override
String identifying reaction rate specialization.
Namespace for the Cantera kernel.
const double GasConstant
Universal Gas Constant [J/kmol/K].
Data container holding shared data used for ReactionRate calculation.
double recipT
inverse of temperature
virtual void update(double T)
Update data container based on temperature T
double temperature
temperature
virtual void invalidateCache()
Force shared data and reaction rates to be updated next time.
Data container holding shared data specific to TwoTempPlasmaRate.
virtual bool update(const ThermoPhase &phase, const Kinetics &kin) override
Update data container based on thermodynamic phase state.
double electronTemp
electron temperature
double logTe
logarithm of electron temperature
double recipTe
inverse of electron temperature
virtual void invalidateCache() override
Force shared data and reaction rates to be updated next time.
Unit aggregation utility.