lincut
algorithm
- draws linear cut normal to flame front between user defined boundaries
- and extracts a 1d profile from the 2d field of a user defined variable along the cut
- plots the cut and variable extracted along the cut
syntax
[XMIN,XMAX,YMIN,YMAX,XX1,YY1,VV1,VV2,VVG]=lincut(X,Y,XS,YS,NXS,NYS,fdefine,variable,dl,level,s,iso1,iso2)
example for input
[XMIN,XMAX,YMIN,YMAX,XX1,YY1,VV1,VV2,VVG]=lincut(X,Y,0.0052,0.0044,-0.7627,0.6468,Z,temperature,0.00005,0.5,'abs',0.9,0.1)
input arguments
Name | description |
---|---|
X,Y | vectors defining the rectangular domain |
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 |
fdefine | variable defining the flame front |
variable | variable to be extracted along the cut |
level | isovalue of fdefine defining the flame front |
s | switch (choose level, iso1,iso2 is rel. or absolut) |
iso1, iso2 | isolevels defining boundaries of flame front (e.g. 0.9, 0.1) |
output arguments
Name | description |
---|---|
XMIN,XMAX,YMIN,YMAX | coordinates of intersection cut and boundaries of flame front |
XX1,YY1 | coordinates of the cut |
VV1 | values of fdefine along the cut |
VV2 | values of variable along the cut |
VVG | gradients of fdefine along the cut |
plot | cut, variable along cut |
toolbox tools required
- linextract
- flamefront