nonlinextract
algorithm
- draws a non linear cut through the flame front through the whole domain
- following the gradient of the variable defining the flame front
- and extracts a 1d profile from the 2d field of a user defined variable along the cut
- nonlinextract is intended to prepare nonlincut in order to consider
only a user defined part of the cut (for example the part inside the flame front) - nonlinextract does not plot the cut, the figure below is only for explanation,the plot will be done in nonlincut
syntax
[XX,YY,VV]=nonlinextract(XMIN,XMAX,YMIN,YMAX,NX,NY,variable,XS,YS,fdefine,DL,X,Y)
example for input
[XX,YY,VV]=nonlinextract(0.0,0.01,0.0,0.01,401,401,temperature,0.0052,0.0044,fdefine,0.0001,X,Y)
input arguments
Name | description |
---|---|
X,Y | vectors defining the rectangular domain |
XMIN,XMAX,YMIN,YMAX | boundaries of domain |
variable | variable to be extracted along the cut |
XS,YS | coordinates of starting point of the cut |
fdefine | variable defining flamefront and gradient for the direction of the cut |
output arguments
Name | description |
---|---|
XX,YY | coordinates of the cut |
VV | values of variable along the cut |
matlab tools required
- interp2