<?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</title>
		<link>http://www.k-wave.org/forum/topic/volume-rate-of-heat-deposition</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 23:32:09 +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" rel="self" type="application/rss+xml" />

		<item>
			<title>vich on "Volume rate of heat deposition"</title>
			<link>http://www.k-wave.org/forum/topic/volume-rate-of-heat-deposition#post-7071</link>
			<pubDate>Tue, 08 Oct 2019 20:25:36 +0000</pubDate>
			<dc:creator>vich</dc:creator>
			<guid isPermaLink="false">7071@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;The &#60;code&#62;source.T0&#60;/code&#62; you provided is just an example. Any initial temperature field will do, including a constant one.&#60;/p&#62;
&#60;p&#62;Since you are simulating an active heat source, you are most likely interested in &#60;code&#62;source.Q&#60;/code&#62;, the actual volume rate of heat deposition (in W/m^3) that you mentioned in the title of this thread. Running &#60;code&#62;help kWaveDiffusion&#60;/code&#62; should give you more details.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Cheng-You Lee on "Volume rate of heat deposition"</title>
			<link>http://www.k-wave.org/forum/topic/volume-rate-of-heat-deposition#post-7067</link>
			<pubDate>Sat, 05 Oct 2019 09:33:38 +0000</pubDate>
			<dc:creator>Cheng-You Lee</dc:creator>
			<guid isPermaLink="false">7067@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;I want to simulate 2D temperature distribution in water, the heating source is circle and always turn on (time-step is 3600 and dt is 1). When I set Gaussian initial temperature distribution, I confused about the equation in the example-Heat Diffusion In A Homogeneous Medium below,&#60;/p&#62;
&#60;p&#62;% set Gaussian initial temperature distribution [degC]&#60;br /&#62;
width = 4 *dx;&#60;br /&#62;
source.T0 = 37 + 5.*exp( -(kgrid.x./width).^2 - (kgrid.y./width).^2);&#60;/p&#62;
&#60;p&#62;My understanding is width can change the size of heating source in the figure, 37 is initial temperature, but how does '5' come from? I think it's related to Volume rate of heat deposition, and I want to know how to calculate when simulating in water. Is there any principle? Below is my whole programming, &#60;/p&#62;
&#60;p&#62;% create the computational grid&#60;br /&#62;
PML_size = 5;              % size of the PML in grid points&#60;br /&#62;
Nx = 235 - 2*PML_size;           % number of grid points in the x (row) direction&#60;br /&#62;
Ny = 579 - 2*PML_size;           % number of grid points in the y (column) direction&#60;br /&#62;
dx = 1e-3;          % grid point spacing in the x direction [m]&#60;br /&#62;
dy = 1e-3;          % grid point spacing in the y direction [m]&#60;br /&#62;
kgrid = kWaveGrid(Nx, dx, Ny, dy);&#60;/p&#62;
&#60;p&#62;% define medium properties&#60;br /&#62;
medium.density              = 1000;     % [kg/m^3]&#60;br /&#62;
medium.thermal_conductivity = 0.6;     % [W/(m.K)]&#60;br /&#62;
medium.specific_heat        = 4200;     % [J/(kg.K)]&#60;/p&#62;
&#60;p&#62;% set Gaussian initial temperature distribution [degC]&#60;br /&#62;
width = 25*dx;&#60;br /&#62;
source.T0 = 25 + 5.*exp( -(kgrid.x./width).^2 - (kgrid.y./width).^2);&#60;/p&#62;
&#60;p&#62;% set input args&#60;br /&#62;
input_args = {'PlotScale','auto'};&#60;/p&#62;
&#60;p&#62;% create kWaveDiffusion object&#60;br /&#62;
kdiff = kWaveDiffusion(kgrid, medium, source, [], input_args{:});&#60;/p&#62;
&#60;p&#62;% % take time steps (temperature can be accessed as kdiff.T)&#60;br /&#62;
Nt = 60*60;&#60;br /&#62;
dt = 1;&#60;br /&#62;
kdiff.takeTimeStep(Nt, dt);&#60;/p&#62;
&#60;p&#62;% plot the current temperature field&#60;br /&#62;
figure;&#60;br /&#62;
kdiff.plotTemp;&#60;/p&#62;
&#60;p&#62;% =========================================================================&#60;br /&#62;
% VISUALISATION&#60;br /&#62;
% =========================================================================&#60;/p&#62;
&#60;p&#62;figure;&#60;br /&#62;
imagesc(kgrid.y_vec * 1e3, kgrid.x_vec * 1e3, kdiff.T);&#60;br /&#62;
h = colorbar;&#60;br /&#62;
xlabel(h, '[^\circC]');&#60;br /&#62;
ylabel('x-position [mm]');&#60;br /&#62;
xlabel('y-position [mm]');&#60;br /&#62;
axis image;&#60;br /&#62;
title('Final Temperature Distribution');&#60;br /&#62;
colormap(jet);&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
