surfarea
algorithm
- calculates flame surface area
- by defining the flame surface as triangulated patch with vertices and faces
- and calculating the areas of the triangles defined by the vertices using formala of Heron
- the surface area is the sum of the areas of all triangles all over the patch
- plots the triangulated surface
syntax
[Area]=surfarea(X,Y,Z,fdefine,level,s)
example for input
[Area]=surfarea(X,Y,Z,CO2,0.03,'abs')
input arguments
X,Y,Z |
vectors defining the rectangular domain |
fdefine |
variable defining the flame front (e.g. Z,Y_radical) |
level |
isolevel of fdefine defining the flame front (e.g. 0.5) |
s |
switch (choose level, iso1,iso2 is rel. or absolut) |
output arguments
Area |
area of flame surface in cm^2 |
plot |
of triangulated surface |
matlab tools required
- patch