Source_terms

Functions

butler_volmer_conc(target, X, z, j0, c_ref, ...)

Calculates the rate, slope and intercept of the Butler-Volmer kinetic model based on concentration to be used in mass transfer algorithms.

butler_volmer_voltage(target, X, z, j0, ...)

Calculates the rate, slope and intercept of the Butler-Volmer kinetic model based on voltage to be used in electron conduction algorithms.

charge_conservation(target, phase, p_alg, ...)

Applies the source term on the charge conservation equation when solving for ions transport.

exponential(target, X[, A1, A2, A3, A4, A5, A6])

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

general_symbolic(target, eqn, x, **kwargs)

A general function to interpret a sympy equation and evaluate the linear components of the source term.

linear(target, X[, A1, A2])

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

logarithm(target, X[, A1, A2, A3, A4, A5, A6])

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

natural_exponential(target, X[, A1, A2, A3, ...])

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

natural_logarithm(target, X[, A1, A2, A3, ...])

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

power_law(target, X[, A1, A2, A3])

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

standard_kinetics(target, X, prefactor, exponent)

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