standard_kinetics#

standard_kinetics(phase, X, prefactor, exponent)[source]#

Calculates the rate, as well as slope and intercept of the following function at the given value of X:

\[r = A X^b\]
Parameters:
  • phase (OpenPNM Phase object) – The phase object to which this model is associated (i.e. attached). This controls the length of the calculated array(s), and also provides access to other necessary properties.

  • X (str) – Name of the dictionary key on the target object pointing to the array containing values of quantity of interest

  • prefactor (str) – Name of the dictionary key on the target object pointing to the array containing values of the prefactor to be used in the source term model

  • exponent (str) – Name of the dictionary key on the target object pointing to the array containing values of the exponent to be used in the source term model

Returns:

rate_info – A dictionary containing the following three items:

Item

Description

rate

The value of the source term function at the given X.

S1

The slope of the source term function at the given X.

S2

The intercept of the source term function at the given X.

Return type:

dict

Notes

The slope and intercept provide a linearized source term equation about the current value of X as follow:

\[rate = S_{1} X + S_{2}\]