lincutcrest
algorithm
- draws a linear cut normal to the crestline between user defined boundaries of flame
- the flame front is defined as crestline of a variable
- 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]=lincutcrest(X,Y,XS,YS,NXS,NYS,varbound,variable,dl,CREST,s,iso1,iso2)
example for input
[XMIN,XMAX,YMIN,YMAX,XX1,YY1,VV1,VV2,VVG]=lincutcrest(X,Y,0.0045,0.0024,0.9701,-0.24,temperature,density,0.0001,CREST,'abs',[],900)
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 |
varbound | variable defining the boundaries of the flame front |
variable | variable to be extracted along the cut |
CREST | coordinates of the crestline defining the flame front |
s | switch (choose iso1,iso2 is rel. or absolut) optional input argument, only necessary for iso1 and iso2 |
iso1, iso2 | isolevels defining boundaries of flame front optional input arguments |
output arguments
Name | description |
---|---|
XMIN,XMAX,YMIN,YMAX | coordinates of intersection cut – 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 |