intcutlin3
algorithm
- draws linear cut normal to flame front between user defined boundaries
- and extracts a 1d profile from the 3d field of a user defined variable along the cut
- plots the cut and variable along the cut
- calculates integral value of the variable along the cut
- using the toolbox tool lincut3 for the cuts
- and the matlab tool trapz for the integration
- for batch modus along surface of flame front use intcutlin3b
syntax
intvar=intcutlin3(X,Y,Z,XS,YS,ZS,NXS,NYS,NZS,fdefine,variable,dl,level,s,iso1,iso2)
example for input
intvar=intcutlin3(X,Y,Z,0.0022,0.0026,0.0017,0.7683,0.0841,0.6344,CO2,TEMP,0.0001,0.03,'abs',0.06,0.0066)
input arguments
X,Y,Z |
vectors defining the rectangular domain |
XS,YS,ZS |
coordinate of starting point of the cut |
NXS,NYS,NZS |
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 |
output arguments
intvar |
integral value of variable along the cut |
plot |
cut, |
toolbox tools required
matlab tools required
- trapz