cantera/samples/matlab
KyleLinevitchJr 43bd96b5ba [Matlab] Make counterflow diffusion flame simulation more general
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.
2017-06-10 16:44:50 -04:00
..
cantera_demos.m [Doc] Adjust example docstrings to get better automatic summaries 2016-10-14 17:20:18 -04:00
catcomb.m [Doc] Adjust example docstrings to get better automatic summaries 2016-10-14 17:06:45 -04:00
conhp.m Remove execute bit from files that don't need it 2015-08-02 23:06:16 -04:00
conuv.m Remove execute bit from files that don't need it 2015-08-02 23:06:16 -04:00
diffflame.m [Matlab] Make counterflow diffusion flame simulation more general 2017-06-10 16:44:50 -04:00
equil.m General whitespace cleanup 2015-08-02 23:06:15 -04:00
flame.m General whitespace cleanup 2015-08-02 23:06:15 -04:00
flame1.m General whitespace cleanup 2015-08-02 23:06:15 -04:00
flame2.m General whitespace cleanup 2015-08-02 23:06:15 -04:00
ignite.m General whitespace cleanup 2015-08-02 23:06:15 -04:00
ignite_hp.m General whitespace cleanup 2015-08-02 23:06:15 -04:00
ignite_uv.m General whitespace cleanup 2015-08-02 23:06:15 -04:00
isentropic.m General whitespace cleanup 2015-08-02 23:06:15 -04:00
periodic_cstr.m [Doc] Adjust example docstrings to get better automatic summaries 2016-10-14 17:20:18 -04:00
prandtl1.m General whitespace cleanup 2015-08-02 23:06:15 -04:00
prandtl2.m General whitespace cleanup 2015-08-02 23:06:15 -04:00
rankine.m [Doc] Adjust example docstrings to get better automatic summaries 2016-10-14 17:20:18 -04:00
reactor1.m General whitespace cleanup 2015-08-02 23:06:15 -04:00
reactor2.m General whitespace cleanup 2015-08-02 23:06:15 -04:00
reactor_ode.m [Matlab/Samples] Move reactor ODE functions into samples directory 2014-06-16 22:00:41 +00:00
README Removed execute permission from nonexecutable files 2012-03-13 17:32:41 +00:00
run_examples.m Removed execute permission from nonexecutable files 2012-03-13 17:32:41 +00:00
surfreactor.m [Matlab] Make ReactorSurface available in Matlab 2016-06-28 14:37:59 -04:00
test_examples.m Reorganized source tree structure 2012-02-12 02:27:14 +00:00
transport1.m General whitespace cleanup 2015-08-02 23:06:15 -04:00
tut1.m General whitespace cleanup 2015-08-02 23:06:15 -04:00
tut2.m General whitespace cleanup 2015-08-02 23:06:15 -04:00
tut3.m General whitespace cleanup 2015-08-02 23:06:15 -04:00
tut4.m General whitespace cleanup 2015-08-02 23:06:15 -04:00
tut5.m General whitespace cleanup 2015-08-02 23:06:15 -04:00
tut6.m General whitespace cleanup 2015-08-02 23:06:15 -04:00
tut7.m General whitespace cleanup 2015-08-02 23:06:15 -04:00

This directory contains several short tutorials. Each one is a MATLAB
script that you should first read and then execute.