Python Examples#
See also
To find examples covering a specific topic, see the index of example tags.
If you’re just getting started with Cantera, see our Python Tutorial for an introduction to the Cantera Python interface.
Thermodynamics#

Equilibrium with charged species and multiple condensed phases

Adiabatic flame temperature including solid carbon formation
Kinetics#

Jet-stirred reactor temperature and species profiles
Transport#
Reactor networks#

Continuously stirred tank reactor with periodic behavior

Integrating constant pressure ignition using SciPy

Constant-pressure, adiabatic kinetics simulation with sensitivity analysis

Acceleration of reactor integration using a sparse preconditioned solver

Soot precursor formation with time-varying mass flow rate

Plug flow reactor modeled as a chain of well stirred reactors

Diesel-type internal combustion engine simulation with gaseous fuel

Ignition delay time using the Redlich-Kwong real gas model

One-dimensional packed-bed, catalytic-membrane reactor

Reactor cascade model for reactive flows in inert porous media
1D reacting flows#

Detached flat flame stabilized at a stagnation point

Burner-stabilized flame with imposed temperature profile

Scaling of diffusion flames with pressure and strain rate