linextract
algorithm
- draws linear cut normal to flame front through the whole domain
- and extracts a 1d profile from the 2d field of a user defined variable along the cut
- linextract is intended to prepare lincut in order to consider
- only a user defined part of the cut (for example the part inside the flame front)
- linextract does not plot the cut, the figure below is only for explanation,
- the plot will be done in lincut
syntax
[XX,YY,VV]=linextract(XMIN,XMAX,YMIN,YMAX,variable,XS,YS,NXS,NYS,DL,X,Y)
example for input
[XX,YY,VV]=linextract(0.0,0.01,0.0,0.01,temperature,0.0052,0.0044,-0.7627,0.6468,0.00005,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 |
NXS,NYS | components of normal vector defining the direction of the cut |
DL | steps between two iterations |
output arguments
Name | description |
---|---|
XX,YY | coordinates of the cut |
VV | values of variable along the cut |
matlab tools required
- interp2