mixfracspec
					
		
	
		
	algorithm
- calculates mixture fractions of H2-flames in a 2d 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]=mixfracspec(Y_H_,Y_H2_,Y_H2O_,Y_H2O2_,Y_HO2_,Y_O_,Y_O2_,Y_OH_,Y_N2_) 
 
input arguments
| Name | description | 
| Y_m | mass fraction of molecule m | 
output arguments
| Name | description | 
| 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 | 
corresponding 3d tool