Fipy and Cantera
From charlesreid1
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.
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.