Hi,
I am trying to calculate the flame height and tilt for the excelsior particles on the sloped test bed (say 15 degrees). My question is that what should be the reference height for my case to be able to capture the correct tilt and height from the beginning of the test bed to the end (considering the fact that the height of the test bed changes)? here is the code I am trying to use for my case (in this case I use 0.8 as the reference height):
---flame height and tilt angle-----
&DEVC ID='HRR', Z_ID='z', XBP=-1.9,-1.9,0.5,0.5,0.1,2.4, QUANTITY='HRRPUV',
SPATIAL_STATISTIC='VOLUME INTEGRAL', DX=2.0, DY=1, DZ=0.05, POINTS=44,
STATISTICS_START=2. /
&CTRL ID='H', FUNCTION_TYPE='PERCENTILE', INPUT_ID='HRR', PERCENTILE=0.97 /
&DEVC ID='x_max', XB=-1.9,0.0,0.0,1.0,0.80,0.82, QUANTITY='TEMPERATURE',
SPATIAL_STATISTIC='MAXLOC X' /
&DEVC ID='y_max', XB=-1.9,0.0,0.0,1.0,0.80,0.82, QUANTITY='TEMPERATURE',
SPATIAL_STATISTIC='MAXLOC Y' /
&DEVC ID='z_max', XB=-1.9,0.0,0.0,1.0,0.00,2.4, QUANTITY='TEMPERATURE',
SPATIAL_STATISTIC='MAXLOC Z' /
&DEVC ID='x_center', XB=-1.9,0.0,0.0,1.0,0.80,0.82, QUANTITY='HRRPUV',
SPATIAL_STATISTIC='MAXLOC X' /
&DEVC ID='y_center', XB=-1.9,0.0,0.0,1.0,0.80,0.82, QUANTITY='HRRPUV',
SPATIAL_STATISTIC='MAXLOC Y' /
&DEVC ID='z_center', XB=-1.9,0.0,0.0,1.0,0.00,2.4, QUANTITY='
HRRPUV ',
SPATIAL_STATISTIC='MAXLOC Z' /
&CTRL ID='x3', FUNCTION_TYPE='SUBTRACT', INPUT_ID='x_max','x_center' /
&CTRL ID='y3', FUNCTION_TYPE='SUBTRACT', INPUT_ID='y_max','y_center' /
&CTRL ID='x2', FUNCTION_TYPE='POWER', INPUT_ID='x3','CONSTANT', CONSTANT=2 /
&CTRL ID='y2', FUNCTION_TYPE='POWER', INPUT_ID='y3','CONSTANT', CONSTANT=2 /
&CTRL ID='r2', FUNCTION_TYPE='SUM', INPUT_ID='x2','y2' /
&CTRL ID='r', FUNCTION_TYPE='POWER', INPUT_ID='r2','CONSTANT', CONSTANT=0.5 /
&CTRL ID='rr', FUNCTION_TYPE='DIVIDE', INPUT_ID='r','CONSTANT', CONSTANT=0.8 /
&CTRL ID='tilt_rad', FUNCTION_TYPE='ATAN', INPUT_ID='rr' /
&CTRL ID='tilt_deg', FUNCTION_TYPE='MULTIPLY', INPUT_ID='tilt_rad','CONSTANT',
CONSTANT=57.296 /
&CTRL ID='cos_theta', FUNCTION_TYPE='COS', INPUT_ID='tilt_rad' /
&CTRL ID='L', FUNCTION_TYPE='DIVIDE', INPUT_ID='H','cos_theta' /
&DEVC ID='L_F', CTRL_ID='L', XYZ=-1.9,0.5,0, QUANTITY='CONTROL VALUE',
TEMPORAL_STATISTIC='RUNNING AVERAGE', STATISTICS_START=2, UNITS='m' /
&DEVC ID='tilt', CTRL_ID='tilt_deg', XYZ=-1.9,0.5,0, QUANTITY='CONTROL VALUE',
TEMPORAL_STATISTIC='RUNNING AVERAGE', STATISTICS_START=2, UNITS='deg' /
&DEVC ID='F_H', CTRL_ID='H', XYZ=-1.9,0.5,0, QUANTITY='CONTROL VALUE',
TEMPORAL_STATISTIC='RUNNING AVERAGE', STATISTICS_START=2, UNITS='m' /
Thanks.