Python Examples#

See also

To find examples covering a specific topic, see the index of example tags.

Thermodynamics#

Mixing using Quantity objects

Mixing using Quantity objects

Critical state properties

Critical state properties

Sound speeds

Sound speeds

Rankine cycle

Rankine cycle

Isentropic, adiabatic flow

Isentropic, adiabatic flow

Sound speeds (with units)

Sound speeds (with units)

Rankine cycle (with units)

Rankine cycle (with units)

Isentropic, adiabatic flow (with units)

Isentropic, adiabatic flow (with units)

Vapor Dome

Vapor Dome

Equivalence ratio

Equivalence ratio

Surface with coverage-dependent thermo

Surface with coverage-dependent thermo

Kinetics#

Viewing a reaction path diagram

Viewing a reaction path diagram

Mechanism reduction

Mechanism reduction

Extracting a sub-mechanism

Extracting a sub-mechanism

Blowers-Masel reaction rates

Blowers-Masel reaction rates

Custom reaction rates

Custom reaction rates

Transport#

Porous media transport using the dusty gas model

Porous media transport using the dusty gas model

Parallelizing transport property calculations

Parallelizing transport property calculations

Reactor networks#

Constant-pressure, adiabatic kinetics simulation

Constant-pressure, adiabatic kinetics simulation

Mixing two streams

Mixing two streams

Integrating constant pressure ignition using SciPy

Integrating constant pressure ignition using SciPy

Constant-pressure, adiabatic kinetics simulation with sensitivity analysis

Constant-pressure, adiabatic kinetics simulation with sensitivity analysis

Plug flow reactor with surface chemistry

Plug flow reactor with surface chemistry

Reactors separated by a moving piston

Reactors separated by a moving piston

Continuously stirred tank reactor with periodic behavior

Continuously stirred tank reactor with periodic behavior

Soot precursor formation with time-varying mass flow rate

Soot precursor formation with time-varying mass flow rate

Combustor residence time

Combustor residence time

Using ExtensibleReactor to implement wall inertia

Using ExtensibleReactor to implement wall inertia

Acceleration of reactor integration using a sparse preconditioned solver

Acceleration of reactor integration using a sparse preconditioned solver

Reactors with walls and heat transfer

Reactors with walls and heat transfer

Plug flow reactor modeled as a chain of well stirred reactors

Plug flow reactor modeled as a chain of well stirred reactors

Plug flow reactor modeling approaches

Plug flow reactor modeling approaches

Diesel-type internal combustion engine simulation with gaseous fuel

Diesel-type internal combustion engine simulation with gaseous fuel

Ignition delay time using the Redlich-Kwong real gas model

Ignition delay time using the Redlich-Kwong real gas model

Reactor cascade model for reactive flows in inert porous media

Reactor cascade model for reactive flows in inert porous media

1D reacting flows#

Burner-stabilized flame including ionized species

Burner-stabilized flame including ionized species

Laminar flame speed sensitivity analysis

Laminar flame speed sensitivity analysis

Burner-stabilized flame

Burner-stabilized flame

Freely-propagating flame with charged species

Freely-propagating flame with charged species

Opposed-flow premixed strained flame

Opposed-flow premixed strained flame

Laminar flame speed calculation

Laminar flame speed calculation

Detached flat flame stabilized at a stagnation point

Detached flat flame stabilized at a stagnation point

Counterflow diffusion flame

Counterflow diffusion flame

Burner-stabilized flame with imposed temperature profile

Burner-stabilized flame with imposed temperature profile

Symmetric premixed twin flame

Symmetric premixed twin flame

Saving, loading, and restarting 1D calculations

Saving, loading, and restarting 1D calculations

Diffusion flame extinction strain rate

Diffusion flame extinction strain rate

Scaling of diffusion flames with pressure and strain rate

Scaling of diffusion flames with pressure and strain rate

Surface chemistry#

Growth of diamond film using CVD

Growth of diamond film using CVD

Plug flow reactor: silicon nitride deposition

Plug flow reactor: silicon nitride deposition

Catalytic combustion of methane on platinum

Catalytic combustion of methane on platinum

Lithium-ion battery

Lithium-ion battery

Solid oxide fuel cell using elementary kinetics

Solid oxide fuel cell using elementary kinetics

Multiphase#

Equilibrium with charged species and multiple condensed phases

Equilibrium with charged species and multiple condensed phases

Adiabatic flame temperature including solid carbon formation

Adiabatic flame temperature including solid carbon formation

Gallery generated by Sphinx-Gallery