flamehot

algorithm

  • defines a certain region of a user defined variable var1 to consider,
    for example the region were burning takes place
  • cuts off the values out off that region
    for example the region of low heat release

  • plots the reduced (burning) region

  • calculates the values of a second user defined variable var2 only in the reduced region of var1
    flamehot 

syntax

[var1red,var2red]=flamehot(var1,hval,lval,s,var2) 

 

example for input

[heatred,tempred]=flamehot(heat,1,0.4,'rel',temperature) 

 

input arguments

Name description
var1 matrix of variable defining the burning region
havl highest value of var1 you want to accept
values higher than hval are cutt off
lval lowest value of var1 you want to accept
values lower than lval are cutt off
var2 matrix of variable you want to consider in the reduced region of var1
s switch s='abs' for absolut values of hval and lval
s='rel' for relative values of hval and lval

output arguments

Name description
var1red vector containing values of reduced field of var1
var2red vector containing values of var2 in the field of var1red
plot reduced field of var1,
black line:boundaries of var1red

matlab tools required

  • find

corresponding 3d tools

Letzte Änderung: 24.02.2015 - Ansprechpartner: Dominique Thevenin