mixfracspec3
algorithm
- calculates mixture fractions of H2-flames in a 3d field based on H2, O2, N2
- according to formula f_i=(Z(i)-Z(i)_2)/(Z(i)_1-Z(i)_2)
where Z(i) is the element mass fraction of the element i, and the subscripts 1 and 2 refer to the fuel and oxidant streams.
syntax
[f_H,f_O,f_N]=mixfracspec3(X,Y,Z,Y_H_,Y_H2_,Y_H2O_,Y_H2O2_,Y_HO2_,Y_O_,Y_O2_,Y_OH_,Y_N2_)
input arguments
X,Y |
vectors defining the rectangular domain |
Y_m |
mass fraction of molecule m |
output arguments
f_H |
matrix of mixture fraction based on H2 |
f_O |
matrix of mixture fraction based on O2 |
f_N |
matrix of mixture fraction based on N2 |