The CounterFlowDiffusionFlame (CFDF) code is able to perform more general cases of npflame_init for multiple species fuel and oxidizer streams. The stoichiometric mixture fraction in the CFDF code uses the Bilger definition of mixture fraction, using the conservation of elements C, H, and O. This method is used in the python module, but not the MATLAB npflame_init function. Also, the CFDF code uses the fuel stream density to calculate the fuel stream velocity and the oxidizer stream density to calculate the oxidizer stream velocity, where as the npflame_init code uses the fuel density for both velocity calculations. The elementMassFraction code is a MATLAB version of the python function: elemental_mass_fraction, which is needed to run the CFDF code. Update the diffflame.m example to use the more general CFDF function since the input parameters are different than the npflame_init function. This example is the same as the diffusion_flame.py sample in the Python module. |
||
|---|---|---|
| .. | ||
| cantera_demos.m | ||
| catcomb.m | ||
| conhp.m | ||
| conuv.m | ||
| diffflame.m | ||
| equil.m | ||
| flame.m | ||
| flame1.m | ||
| flame2.m | ||
| ignite.m | ||
| ignite_hp.m | ||
| ignite_uv.m | ||
| isentropic.m | ||
| periodic_cstr.m | ||
| prandtl1.m | ||
| prandtl2.m | ||
| rankine.m | ||
| reactor1.m | ||
| reactor2.m | ||
| reactor_ode.m | ||
| README | ||
| run_examples.m | ||
| surfreactor.m | ||
| test_examples.m | ||
| transport1.m | ||
| tut1.m | ||
| tut2.m | ||
| tut3.m | ||
| tut4.m | ||
| tut5.m | ||
| tut6.m | ||
| tut7.m | ||
This directory contains several short tutorials. Each one is a MATLAB script that you should first read and then execute.