|
rizer.cantera_ext
C++ Cantera 1-D plasma extension (custom Domain1D models and solvers)
|
Reverse of a forward two-temperature-plasma reaction: More...
#include <PlasmaRates.h>
Public Member Functions | |
| ReverseTwoTemperaturePlasmaRate ()=default | |
| ReverseTwoTemperaturePlasmaRate (const Cantera::AnyMap &node, const Cantera::UnitStack &rate_units) | |
| Construct from a YAML/AnyMap rate node. | |
| std::unique_ptr< Cantera::MultiRateBase > | newMultiRate () const override |
| const std::string | type () const override |
| void | setParameters (const Cantera::AnyMap &node, const Cantera::UnitStack &rate_units) override |
| Set the rate parameters from a YAML/AnyMap rate node. | |
| double | evalFromStruct (const ReverseTwoTempData &shared_data) const |
| Evaluate the reverse rate \( k_{rev}(T) = k_{fwd}(T)/K_{eq}(T) \) at the tagged temperature. | |
| Public Member Functions inherited from Cantera::ReactionRate | |
| virtual const string | subType () const |
| AnyMap | parameters () const |
| const Units & | conversionUnits () const |
| virtual void | setRateUnits (const UnitStack &rate_units) |
| virtual void | check (const string &equation) |
| virtual void | validate (const string &equation, const Kinetics &kin) |
| size_t | rateIndex () const |
| void | setRateIndex (size_t idx) |
| virtual void | setContext (const Reaction &rxn, const Kinetics &kin) |
| double | eval (double T) |
| double | eval (double T, double extra) |
| double | eval (double T, span< const double > extra) |
| bool | valid () const |
| bool | compositionDependent () |
| void | setCompositionDependence (bool comp_dep) |
Protected Member Functions | |
| void | getParameters (Cantera::AnyMap &node) const override |
Protected Attributes | |
| std::string | m_forward_equation |
| Equation string of the forward reaction this rate reverses [-]. | |
| std::string | m_T = "Tg" |
| Which temperature tags this reaction ("Te" or "Tg"); informational, kept for YAML round-trip [-]. | |
| size_t | m_idx = Cantera::npos |
| Cached index of the forward reaction in the shadow kinetics' reaction list [-]. | |
| Protected Attributes inherited from Cantera::ReactionRate | |
| AnyMap | m_input |
| size_t | m_rate_index |
| bool | m_valid |
| bool | m_composition_dependent_rate |
| Units | m_conversion_units |
Reverse of a forward two-temperature-plasma reaction:
\[ k_{rev}(T) = \frac{k_{fwd}(T)}{K_{eq}(T)} \]
at T = Tg or Te (the T: tag), from the shadow.
Definition at line 234 of file PlasmaRates.h.
|
default |
| rizer::ReverseTwoTemperaturePlasmaRate::ReverseTwoTemperaturePlasmaRate | ( | const Cantera::AnyMap & | node, |
| const Cantera::UnitStack & | rate_units ) |
Construct from a YAML/AnyMap rate node.
| node | YAML/AnyMap node for this reaction's rate block (holds "forward_equation", "T"). |
| rate_units | Unit context passed through to ReactionRate::setParameters. |
Definition at line 308 of file PlasmaRates.cpp.
| double rizer::ReverseTwoTemperaturePlasmaRate::evalFromStruct | ( | const ReverseTwoTempData & | shared_data | ) | const |
Evaluate the reverse rate \( k_{rev}(T) = k_{fwd}(T)/K_{eq}(T) \) at the tagged temperature.
| shared_data | Shared per-reaction-type data holding the shadow solution and cached kf/Keq at Tg, Te. |
Definition at line 347 of file PlasmaRates.cpp.
|
overrideprotectedvirtual |
Reimplemented from Cantera::ReactionRate.
Definition at line 331 of file PlasmaRates.cpp.
|
overridevirtual |
Reimplemented from Cantera::ReactionRate.
Definition at line 315 of file PlasmaRates.cpp.
|
overridevirtual |
Set the rate parameters from a YAML/AnyMap rate node.
| node | YAML/AnyMap node for this reaction's rate block (holds "forward_equation", "T"). |
| rate_units | Unit context passed through to ReactionRate::setParameters. |
Reimplemented from Cantera::ReactionRate.
Definition at line 321 of file PlasmaRates.cpp.
|
inlineoverridevirtual |
Implements Cantera::ReactionRate.
Definition at line 249 of file PlasmaRates.h.
|
protected |
Equation string of the forward reaction this rate reverses [-].
Definition at line 271 of file PlasmaRates.h.
|
mutableprotected |
Cached index of the forward reaction in the shadow kinetics' reaction list [-].
Definition at line 277 of file PlasmaRates.h.
|
protected |
Which temperature tags this reaction ("Te" or "Tg"); informational, kept for YAML round-trip [-].
Definition at line 274 of file PlasmaRates.h.