Fipy and Cantera: Difference between revisions
From charlesreid1
(Created page with "=0D Reaction= A Fipy script that will solve an ODE of the form: <math> \frac{d C_j }{dt} = \sum_{i=1}^{N_{rxns}} r_{ij} </math> where the reaction source terms are computed by...") |
No edit summary |
||
| Line 1: | Line 1: | ||
=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= | =0D Reaction= | ||
Revision as of 22:39, 20 December 2013
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.