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#
![](../../_images/sphx_glr_plasma_equilibrium_thumb.png)
Equilibrium with charged species and multiple condensed phases
![](../../_images/sphx_glr_adiabatic_thumb.png)
Adiabatic flame temperature including solid carbon formation
Kinetics#
![](../../_images/sphx_glr_jet_stirred_reactor_thumb.png)
Jet-stirred reactor temperature and species profiles
Transport#
Reactor networks#
![](../../_images/sphx_glr_periodic_cstr_thumb1.png)
Continuously stirred tank reactor with periodic behavior
![](../../_images/sphx_glr_custom_thumb1.png)
Integrating constant pressure ignition using SciPy
![](../../_images/sphx_glr_sensitivity1_thumb.png)
Constant-pressure, adiabatic kinetics simulation with sensitivity analysis
![](../../_images/sphx_glr_preconditioned_integration_thumb.png)
Acceleration of reactor integration using a sparse preconditioned solver
![](../../_images/sphx_glr_fuel_injection_thumb.png)
Soot precursor formation with time-varying mass flow rate
![](../../_images/sphx_glr_surf_pfr_chain_thumb.png)
Plug flow reactor modeled as a chain of well stirred reactors
![](../../_images/sphx_glr_ic_engine_thumb.png)
Diesel-type internal combustion engine simulation with gaseous fuel
![](../../_images/sphx_glr_NonIdealShockTube_thumb.png)
Ignition delay time using the Redlich-Kwong real gas model
![](../../_images/sphx_glr_1D_packed_bed_thumb.png)
One-dimensional packed-bed, catalytic-membrane reactor
![](../../_images/sphx_glr_PorousMediaBurner_thumb.png)
Reactor cascade model for reactive flows in inert porous media
1D reacting flows#
![](../../_images/sphx_glr_stagnation_flame_thumb.png)
Detached flat flame stabilized at a stagnation point
![](../../_images/sphx_glr_flame_fixed_T_thumb.png)
Burner-stabilized flame with imposed temperature profile
![](../../_images/sphx_glr_diffusion_flame_batch_thumb.png)
Scaling of diffusion flames with pressure and strain rate