From charlesreid1

Revision as of 22:39, 20 December 2013 by Admin (talk | contribs)

Cantera Evaluation of Properties

Some notes, from an algorithmic perspective, on hooking up Cantera with a finite-volume solver for computing solutions:

Fipy and Cantera/Algorithm Notes

0D Reaction

A Fipy script that will solve an ODE of the form:

$ \frac{d C_j }{dt} = \sum_{i=1}^{N_{rxns}} r_{ij} $

where the reaction source terms are computed by Cantera.

Fipy and Cantera/0D Reaction

1D Diffusion

A 1D diffusion problem solved by Fipy, with diffusion coefficients computed by Cantera. Illustrates how to solve a variable-diffusivity problem and sweep over the solution.

Fipy and Cantera/1D Diffusion