reacprogco2_2d
algorithm
- calculates reaction progress variables of a 2d field
- based on mass fraction of CO2
- c = (CO2-CO2_unburnt) / (CO2 burnt - CO2_unburnt)
- calculates surface density function (sdf) of a 2d field
- calculates mean values of surface density function conditioned on
- plots contours of reaction progress variable
- plots sdf vs. c
syntax
[c,sdf,mv]=reacprogco2_2d(X,Y,CO2)
example for input
[c,sdf,mv]=reacprog2_2d(X,Y,CO2)
input arguments
Name | description |
---|---|
X,Y | vectors defining the rectangular domain |
CO2 | matrix of mass fraction of CO2 |
output arguments
Name | description |
---|---|
c | matrix of reaction progress variable |
sdf | matrix of surface density function, (absolut garadient of reaction progress variable) |
mv | mean values of sdf conditioned on c |
plots |
matlab tools required
- contour
- fdefvar