I am a bit confused about the equation that needs to be used for the heating rate Q. From my simulation I get the outputs: sensor_data.p
, sensor_data.ux_non_staggered
and sensor_data.uy_non_staggered
. The following code is used to get the average intensity:
ux_sgt = fourierShift(sensor_data.ux_non_staggered, 1/2)
uy_sgt = fourierShift(sensor_data.uy_non_staggered, 1/2)
Ix = sensor_data.p .* ux_sgt
Iy = sensor_data.p .* uy_sgt
I = sqrt(Ix^2+Iy^2)
I_avg = mean(I, ndims(I))
If I want to find the heat deposition Q, what is the equation that I need to use? For now I am using:
alpha_np = db2neper(alpha_coeff_p_db,alpha_power) ...
* (2 * pi * f0).^alpha_power;
Q = alpha_np .* I_avg;
However, sometimes Q=2*alpha_np*I_avg
is used. What is the case here and why?
Thanks in advance!