Index of Matlab Examples

This is an index of the examples included with the Cantera Matlab toolbox.

Examples

catcomb.m

Catalytic combustion of a stagnation flow on a platinum surface

conhp.m

ODE system for a constant-pressure, adiabatic reactor.

conuv.m

ODE system for a constant-volume, adiabatic reactor.

diffflame.m

An opposed-flow diffusion flame.

equil.m

a chemical equilibrium example.

flame1.m

A burner-stabilized flat flame

flame2.m

FLAME1 - An axisymmetric stagnation-point non-premixed flame

flame.m

create a flame object.

ignite.m

Zero-dimensional kinetics: adiabatic, constant pressure.

ignite_hp.m

Solves the same ignition problem as 'ignite', but uses function

ignite_uv.m

Solves the same ignition problem as 'ignite2', except

isentropic.m

isentropic, adiabatic flow example

lithium_ion_battery.m

This example file calculates the cell voltage of a lithium-ion battery

periodic_cstr.m

A CSTR with steady inputs but periodic interior state.

PFR_solver.m

This function defines the spatial derivatives for an ideal gas plug-flow

Plug_Flow_Reactor.m

General_Plug_Flow_Reactor (PFR) - to solve PFR equations for reactors

prandtl1.m

Prandtl number for an equilibrium H/O gas mixture.

prandtl2.m

Prandtl number for an equilibrium H/O gas mixture.

rankine.m

This example computes the efficiency of a simple vapor power cycle.

reactor1.m

Zero-dimensional kinetics: adiabatic, constant pressure.

reactor2.m

Zero-dimensional kinetics: adiabatic, constant volume.

reactor_ode.m

system for a generic zero-dimensional reactor.

surfreactor.m

Zero-dimensional reactor with surface chemistry