nonlincutcrest
algorithm
- draws non linear cut through flame front between user defined boundaries
- the cut starts in coordinates of the crestline
- following the gradient of varbound
- and extracts a 1d profile from the 2d field of variable along the cut
- plots the cut and variable along the cut
syntax
[XX1,YY1,VV1,VV2,VVG]=nonlincutcrest(X,Y,XS,YS,varbound,variable,dl,CREST,s,iso1,iso2)
example for input
[XX1,YY1,VV1,VV2,VVG]=nonlincutcrest(X,Y,0.0045,0.0024,Z,density,0.0001,CREST,'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 |
dl | steps between two iterations |
varbound | variable defining boundaries of the flame front |
variable | variable to be extracted along the cut |
CREST | coordinates of crestline |
s | switch (choose level, iso1,iso2 is rel. or absolut) optional input argument, only necessary for iso1 and iso2 |
iso1, iso2 | isolevels defining boundaries of flame front (e.g. 0.9, 0.1) optional input arguments |
output arguments
Name | description |
---|---|
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 |