linextract3
algorithm
- draws linear cut normal to flame front through the whole domain
- and extracts a 1d profile from the 3d field of a user defined variable along the cut
- linextract3 is intended to prepare lincut3 in order to consider
only a user defined part of the cut (for example the part inside the flame front) - linextract3 does not plot the cut, the figure below is only for explanation,
the plot will be done in lincut3
syntax
[XXX,YYY,ZZZ,VVV]=linextract3(XMIN,XMAX,YMIN,YMAX,ZMIN,ZMAX,variable,XS,YS,ZS,NXS,NYS,NZS,DL,X,Y,Z)
example for input
[XXX,YYY,ZZZ,VVV]=linextract3(0.0,0.005,0.0,0.005,0.0,0.005,TEMP,0.0022,0.0026,0.0017,0.7638,0.0841,0.6344,X,Y,Z)
input arguments
X,Y,Z |
vectors defining the rectangular domain |
XMIN,XMAX,YMIN,YMAX,ZMIN,ZMAX |
boundaries of domain |
variable |
variable to be extracted along the cut |
XS,YS,ZS |
coordinates of starting point of the cut |
NXS,NYS,NYS |
components of normal vector defining the direction of the cut |
DL |
steps between two iterations |
output arguments
XXX,YYY,ZZZ |
coordinates of the cut |
VVV |
values of variable along the cut |
matlab tools required
- interp3