<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>k-Wave User Forum &#187; Topic: Volume rate of heat deposition as divergence of intensity</title>
		<link>http://www.k-wave.org/forum/topic/volume-rate-of-heat-deposition-as-divergence-of-intensity</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Thu, 14 May 2026 23:25:18 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.k-wave.org/forum/search.php</link>
		</textInput>
		<atom:link href="http://www.k-wave.org/forum/rss/topic/volume-rate-of-heat-deposition-as-divergence-of-intensity" rel="self" type="application/rss+xml" />

		<item>
			<title>Manuel Vielma on "Volume rate of heat deposition as divergence of intensity"</title>
			<link>http://www.k-wave.org/forum/topic/volume-rate-of-heat-deposition-as-divergence-of-intensity#post-8692</link>
			<pubDate>Wed, 11 Jan 2023 00:26:48 +0000</pubDate>
			<dc:creator>Manuel Vielma</dc:creator>
			<guid isPermaLink="false">8692@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;In equation 6 of their recent (October 2022) paper [1], Kleparnik, Zemcik, Treeby and Jaros define the volume rate of heat deposition, Q, as&#60;/p&#62;
&#60;p&#62;Q = -div(I_avg) = - d(Ix_avg)/dx - d(Iy_avg)/dy - d(Iz_avg)/dz     (1),&#60;/p&#62;
&#60;p&#62;(the second equality has been introduced by me for explicitness). This is in line with early expressions such as e.g. the one given by Nyborg in [2].&#60;/p&#62;
&#60;p&#62;To my knowledge, eq. (1) is not used in any of the k-wave examples. When I use it to compare with the temperature output that other expressions, such as&#60;/p&#62;
&#60;p&#62;Q = p^2/(density*sound_speed)           (2)   -- plane wave approximation&#60;br /&#62;
or&#60;br /&#62;
Q = alpha_np * abs(I_avg)               (3),&#60;/p&#62;
&#60;p&#62;lead to in example_diff_focused_ultrasound_heating, I get very different results -- the ones given by (1) seem particularly odd. More precisely, what I am doing is running this example for the different Qs shown below:&#60;/p&#62;
&#60;p&#62;============================&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;% Heating By A Focused Ultrasound Transducer

[...]

% set the sensor mask to cover the entire grid
sensor.mask = ones(Nx, Ny);
sensor.record = {&#38;#39;p&#38;#39;, &#38;#39;p_max_all&#38;#39;, &#38;#39;I_avg&#38;#39;}; %Include I_avg in recorded data

[...]

% =========================================================================
% CALCULATE HEATING
% =========================================================================

% convert the absorption coefficient to nepers/m
alpha_np = db2neper(medium.alpha_coeff, medium.alpha_power) * ...
    (2 * pi * freq).^medium.alpha_power;

% extract the pressure amplitude at each position
p = extractAmpPhase(sensor_data.p, 1/kgrid.dt, freq);

% reshape the data, and calculate the volume rate of heat deposition
p = reshape(p, Nx, Ny);

%Q = alpha_np .* p.^2 ./ (medium.density .* medium.sound_speed);  % Plane wave approximation

I_avg_x = reshape(sensor_data.Ix_avg, Nx,Ny);
I_avg_y = reshape(sensor_data.Iy_avg, Nx,Ny);

%Q = alpha_np .* sqrt(I_avg_x.^2 + I_avg_y.^2);

Q = -divergence(I_avg_x, I_avg_y);

[...]&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;====================================&#60;/p&#62;
&#60;p&#62;MY QUESTION IS: how should eq. (1) be used in a thermal simulation in k-wave? Any idea why seemingly inconsistent answers are obtained when using it in the aforementioned example?&#60;/p&#62;
&#60;p&#62;This post mentions the gradient (?) of the intensity, but no further details are provided: &#60;a href=&#34;http://www.k-wave.org/forum/topic/doubts-converting-pressure-into-heat-deposition&#34; rel=&#34;nofollow&#34;&#62;http://www.k-wave.org/forum/topic/doubts-converting-pressure-into-heat-deposition&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Many thanks in advance for any clarification you may provide.&#60;/p&#62;
&#60;p&#62;Manuel&#60;br /&#62;
______________________________&#60;/p&#62;
&#60;p&#62;[1] Kleparnik, P., Zemcik, P., Treeby, B. E., &#38;amp; Jaros, J. (2022). On-the-Fly Calculation of Time-Averaged Acoustic Intensity in Time-Domain Ultrasound Simulations Using a k-Space Pseudospectral Method. IEEE transactions on ultrasonics, ferroelectrics, and frequency control, 69(10), 2917–2929. &#60;a href=&#34;https://doi.org/10.1109/TUFFC.2022.3199173&#34; rel=&#34;nofollow&#34;&#62;https://doi.org/10.1109/TUFFC.2022.3199173&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;[2] Nyborg (1981). Heat generation by ultrasound in a relaxing medium. The Journal of the Acoustical Society of America 70, 310 (1981); &#60;a href=&#34;https://doi.org/10.1121/1.386778&#34; rel=&#34;nofollow&#34;&#62;https://doi.org/10.1121/1.386778&#60;/a&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
