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 · required

Degree of conversion

Outputs#

reaction_rate — output · Scalar · required

Reaction rate

Parameters#

coef — parameter · Scalar · required

Reaction coefficient

order — parameter · Scalar · required

Reaction order