Cantera

Previous topic

Thermodyamic Properties

Next topic

Transport Properties

This Page

Warning

This documentation is for an old version of Cantera. You can find docs for newer versions here.

Chemical Kinetics

class Cantera.Kinetics.Kinetics(kintype=-1, thrm=0, xml_phase=None, id=None, phases=[])

Kinetics managers. Instances of class Kinetics are responsible for evaluating reaction rates of progress, species production rates, and other quantities pertaining to a reaction mechanism.

Build a kinetics manager from an XML specification.

Parameters:
  • kintype – Integer specifying the type of kinetics manager to create.
  • root – Root of a CTML tree
  • id – id of the ‘kinetics’ node within the tree that contains the specification of the parameters.
activationEnergies()

Activation energies in Kelvin for all reactions.

advanceCoverages(dt)
clear()

Delete the kinetics manager.

creationRates(phase=None)
delta_G()
delta_G0()
delta_H()
delta_H0()
delta_S()
delta_S0()
destructionRates(phase=None)
equilibriumConstants()

Equilibrium constants in concentration units for all reactions.

fwdRateConstants()

Forward rate constants for all reactions.

fwdRatesOfProgress()

Forward rates of progress of the reactions.

isReversible(i)

True (1) if reaction number i is reversible, and false (0) otherwise.

kin_index()
kineticsSpeciesIndex(name, phase)

The index of a species.

Parameters:
  • name – species name
  • phase – phase name

Kinetics managers for heterogeneous reaction mechanisms maintain a list of all species in all phases. The order of the species in this list determines the ordering of the arrays of production rates. This method returns the index for the specified species of the specified phase, and is used to locate the entry for a particular species in the production rate arrays.

kineticsStart(n)

The starting location of phase n in production rate arrays.

kineticsType()

Kinetics manager type.

kinetics_hndl()
multiplier(i)
nPhases()

Number of phases.

nReactions()

Number of reactions.

netProductionRates(phase=None)
netRatesOfProgress()

Net rates of progress of the reactions.

phase(n)

Return an object representing the nth phase.

productStoichCoeff(k, i)

The stoichiometric coefficient of species k as a product in reaction i.

productStoichCoeffs()

The array of product stoichiometric coefficients. Element [k,i] of this array is the product stoichiometric coefficient of species k in reaction i.

reactantStoichCoeff(k, i)

The stoichiometric coefficient of species k as a reactant in reaction i.

reactantStoichCoeffs()

The array of reactant stoichiometric coefficients. Element [k,i] of this array is the reactant stoichiometric coefficient of species k in reaction i.

reactionEqn(i)

The equation for the specified reaction. If a list of equation numbers is given, then a list of equation strings is returned.

reactionPhaseIndex()

The phase in which the reactions take place.

reactionString(i)

Reaction string for reaction number i

reactionType(i)

Type of reaction i

revRateConstants(doIrreversible=0)

Reverse rate constants for all reactions.

revRatesOfProgress()

Reverse rates of progress of the reactions.

setMultiplier(value=0.0, reaction=-1)
sourceTerms()