flameindex
algorithm
- calculates (Takeno) flame index to distinguish between premixed and non-premixed type of flame
- for pos. index flame is of premixed type;
for neg. index flame is of non-premixed type; - optionally plots flame front and contours of flame index
syntax
[in,inn]=flameindex(X,Y,Y_H2,Y_O2,fdefine,level,s)
example for input
[in,inn]=flameindex(X,Y,Y_H2,Y_O2,Y_H2O2,0.5,'rel')
input arguments
Name | description |
---|---|
X,Y | vectors defining the rectangular domain necessary input arguments |
Y_H2,Y_O2 | mass fractions of H2 and O2 necessary input arguments |
fdefine | matrix of the variable defining the flame optional input argument, necessary only for the plot |
level | isovalue of fdefine defining the flame front optional input argument, necessary only for the plot |
s | switch, s='abs' for absolut values of level s='rel' for relativ values of level optional input argument, necessary only for the plot |
output arguments
Name | description |
---|---|
in | matrix of flame index |
inn | matrix of normalized flame index |
plot | isolevel of flame front in the field of flame index optional output |
matlab tools required
- contour,gradient