ContractingGeometry¶
Source: models/chemical_reactions/ContractingGeometry.py
Contracting-geometry reaction mechanism.
Maps the conversion degree \(a\) to the reaction rate
\[
f = k (1 - a)^n
\]
where \(k\) is the reaction coefficient and \(n\) is the reaction
order. \((1 - a)\) is clamped into [eps, 1 - eps] to keep
pow well-defined at the endpoints, matching the C++ model.
Inputs¶
conversion_degree—input·Scalar· requiredDegree of conversion
Outputs¶
reaction_rate—output·Scalar· requiredReaction rate
Parameters¶
coef—parameter·Scalar· requiredReaction coefficient
order—parameter·Scalar· requiredReaction order