<?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: Thermoacoustic Simulation</title>
		<link>http://www.k-wave.org/forum/topic/thermoacoustic-simulation-1</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 00:49:16 +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/thermoacoustic-simulation-1" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "Thermoacoustic Simulation"</title>
			<link>http://www.k-wave.org/forum/topic/thermoacoustic-simulation-1#post-4342</link>
			<pubDate>Tue, 25 Feb 2014 14:13:01 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">4342@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Abhishek,&#60;/p&#62;
&#60;p&#62;Yes, k-Wave does &#60;em&#62;not&#60;/em&#62; model the propagation of light or EM waves, so you will need to use another software program to do this. For example, to model light propagation you could take a look at the codes &#60;a href=&#34;http://omlc.ogi.edu/software/mc/&#34;&#62;here&#60;/a&#62;, or for EM modelling you could try &#60;a href=&#34;https://www.cst.com/&#34;&#62;CST&#60;/a&#62; or &#60;a href=&#34;http://www.ansys.com/Products/Simulation+Technology/Electromagnetics/Signal+Integrity/ANSYS+HFSS&#34;&#62;HFSS&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>patil.abhishek32 on "Thermoacoustic Simulation"</title>
			<link>http://www.k-wave.org/forum/topic/thermoacoustic-simulation-1#post-4328</link>
			<pubDate>Wed, 19 Feb 2014 15:40:06 +0000</pubDate>
			<dc:creator>patil.abhishek32</dc:creator>
			<guid isPermaLink="false">4328@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Prof Brad,&#60;/p&#62;
&#60;p&#62;I will definitely look for the Time Varying Source problems.....&#60;/p&#62;
&#60;p&#62;And i did not understand about the different package. Do u mean to say that only k-wave would not be possible to solve ?? or anything else ??&#60;/p&#62;
&#60;p&#62;Please clarify....&#60;/p&#62;
&#60;p&#62;I will try out the Time Varying Source and come back to you for sure..&#60;/p&#62;
&#60;p&#62;Thank u&#60;/p&#62;
&#60;p&#62;Abhishek
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "Thermoacoustic Simulation"</title>
			<link>http://www.k-wave.org/forum/topic/thermoacoustic-simulation-1#post-4327</link>
			<pubDate>Wed, 19 Feb 2014 13:45:34 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">4327@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Patil,&#60;/p&#62;
&#60;p&#62;The k-Wave Toolbox currently only includes &#60;em&#62;acoustic&#60;/em&#62; models, and thus can only be used to model the acoustic part of photoacoustics and thermoacoustics, i.e., after the absorbed light or electromagnetic energy has been converted in acoustic pressure. If you want to model the propagation of EM waves, you'll have to use another package I'm afraid. &#60;/p&#62;
&#60;p&#62;Regarding the forward and inverse acoustic problems for thermoacoustics, these are the same as in photoacoustics. However, in the thermoacoustic case, you may need to consider the length of the EM pulse. In this case, you could take a look a the Time Varying Source Problems examples.&#60;/p&#62;
&#60;p&#62;Sorry for the confusion,&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>patil.abhishek32 on "Thermoacoustic Simulation"</title>
			<link>http://www.k-wave.org/forum/topic/thermoacoustic-simulation-1#post-4326</link>
			<pubDate>Wed, 19 Feb 2014 12:38:57 +0000</pubDate>
			<dc:creator>patil.abhishek32</dc:creator>
			<guid isPermaLink="false">4326@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Respected Sir,&#60;/p&#62;
&#60;p&#62;I would like to somethings about k wave. Since I am doing thermo-acoustic emission can i have more than three properties for the propagation medium ?? (except sound speed, Alpha coeff and alpha power). I would also like to add some more parameters like Heat capacity at const. Pressure or realtive permitivity and permeability.&#60;/p&#62;
&#60;p&#62;Secondly I did not find the examples on thermo acoustics. All the examples are based on the reconstruction.&#60;/p&#62;
&#60;p&#62;I would also like to know that how do i define the microwave energy as the source(Just by defining the frequency and magnitude)&#60;/p&#62;
&#60;p&#62;Thank you in advance
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "Thermoacoustic Simulation"</title>
			<link>http://www.k-wave.org/forum/topic/thermoacoustic-simulation-1#post-4324</link>
			<pubDate>Tue, 18 Feb 2014 09:32:22 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">4324@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Patil,&#60;/p&#62;
&#60;p&#62;k-Wave is a versatile tool for modelling in photoacoustics and thermoacoustics, but there is some learning required to get the most out of it.  There are many examples in the k-Wave toolbox relevant to forward simulation and image reconstruction in thermoacoustics. You can find these examples in the MATLAB help browser by selecting “k-Wave Toolbox” from the contents page. In versions of MATLAB prior to 2012b, the help browser is opened by clicking on the blue question mark icon ￼on the menu bar. In MATLAB 2012b (and later), the documentation is accessed by selecting “Help” from the ribbon bar, and then clicking on “Supplemental Software”. There is also a lot of information in the &#60;a href=&#34;http://www.k-wave.org/documentation.php&#34;&#62;k-Wave manual&#60;/a&#62; that you may find helpful.&#60;/p&#62;
&#60;p&#62;If you have any specific questions related to your simulations, e.g., error messages you don't understand, or a specific scenario you're having trouble implementing, please let us know.&#60;/p&#62;
&#60;p&#62;Kind regards,&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>patil.abhishek32 on "Thermoacoustic Simulation"</title>
			<link>http://www.k-wave.org/forum/topic/thermoacoustic-simulation-1#post-4322</link>
			<pubDate>Tue, 18 Feb 2014 06:36:31 +0000</pubDate>
			<dc:creator>patil.abhishek32</dc:creator>
			<guid isPermaLink="false">4322@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Prof. Ben,&#60;/p&#62;
&#60;p&#62;Thank you for your quick response. I read the post on the forum that discussed about thermo-acoustic signal and its simulation. It was of great help. But i would like to know if there's any problem with this code(i have tried it but m not sure  its correct or not). Also I am not sure how to decide the sensors not picking up the source signal(I mean the sensor should pick up thermo-acoustic rather than the microwave itself)...&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;clear all;

% create the computational grid
Nx = 128;           % number of grid points in the x (row) direction
Ny = 128;           % number of grid points in the y (column) direction
dx = 50e-3/Nx;    	% grid point spacing in the x direction [m]
dy = dx;            % grid point spacing in the y direction [m]
kgrid = makeGrid(Nx, dx, Ny, dy);

% define the properties of the propagation medium
medium.sound_speed = 1540;  % [m/s]
medium.alpha_coeff = 0.003660;  % [dB/(MHz^y cm)]
medium.alpha_power = 1.5 ; 

% create the time array
 [kgrid.t_array dt] = makeTime(kgrid, medium.sound_speed);

% define a single source point
source.p_mask = zeros(Nx, Ny);
source.p_mask(end - Nx/4, Ny/2) = 1;

% define a time varying sinusoidal source
source_freq = 2.45e9;   % [Hz]
source_mag = 0.25;         % [Pa]
gruneisen = 0.11;
pulsewidth = 1e-6;
t_offset = 5e-6;
gaussian = exp(-((kgrid.t_array-t_offset)/pulsewidth).^2)/(pulsewidth*sqrt(pi));
source.p = source_mag*gruneisen*gaussian;

% filter the source to remove high frequencies not supported by the grid
source.p = filterTimeSeries(kgrid, medium, source.p);

% define a single sensor point
sensor.mask = zeros(Nx, Ny);
sensor.mask(Nx/4, Ny/2) = 1;

% define the acoustic parameters to record
sensor.record = {&#38;#39;p&#38;#39;, &#38;#39;p_final&#38;#39;};

% % run the simulation
sensor_data = kspaceFirstOrder2D(kgrid, medium, source, sensor);

% plot the final wave-field
figure;
imagesc(kgrid.y_vec*1e3, kgrid.x_vec*1e3, sensor_data.p_final + source.p_mask + sensor.mask, [-1 1]);
colormap(getColorMap);
ylabel(&#38;#39;x-position [mm]&#38;#39;);
xlabel(&#38;#39;y-position [mm]&#38;#39;);
axis image;

% plot the simulated sensor data
figure;
[t_sc, scale, prefix] = scaleSI(max(kgrid.t_array(:)));

subplot(2, 1, 1), plot(kgrid.t_array*scale, source.p, &#38;#39;k-&#38;#39;);
xlabel([&#38;#39;Time [&#38;#39; prefix &#38;#39;s]&#38;#39;]);
ylabel(&#38;#39;Signal Amplitude&#38;#39;);
axis tight;
title(&#38;#39;Input Pressure Signal&#38;#39;);

subplot(2, 1, 2), plot(kgrid.t_array*scale, sensor_data.p, &#38;#39;r-&#38;#39;);
xlabel([&#38;#39;Time [&#38;#39; prefix &#38;#39;s]&#38;#39;]);
ylabel(&#38;#39;Signal Amplitude&#38;#39;);
axis tight;
title(&#38;#39;Sensor Pressure Signal&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;thank you in advance
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bencox on "Thermoacoustic Simulation"</title>
			<link>http://www.k-wave.org/forum/topic/thermoacoustic-simulation-1#post-4320</link>
			<pubDate>Mon, 17 Feb 2014 15:17:01 +0000</pubDate>
			<dc:creator>bencox</dc:creator>
			<guid isPermaLink="false">4320@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Dear Patil, &#60;/p&#62;
&#60;p&#62;The acoustic modelling of microwave-induced thermoacoustics is the same as photoacoustics (except you may need to take into account the length of your excitation pulse). A good place to start is to run some of the examples in the toolbox, and to read the manual, which is on the documentation page.&#60;/p&#62;
&#60;p&#62;If you have any specific k-Wave related questions, please post them here and we'll endeavour to answer them.&#60;/p&#62;
&#60;p&#62;Best wishes,&#60;br /&#62;
Ben
&#60;/p&#62;</description>
		</item>
		<item>
			<title>patil.abhishek32 on "Thermoacoustic Simulation"</title>
			<link>http://www.k-wave.org/forum/topic/thermoacoustic-simulation-1#post-4317</link>
			<pubDate>Mon, 17 Feb 2014 14:11:16 +0000</pubDate>
			<dc:creator>patil.abhishek32</dc:creator>
			<guid isPermaLink="false">4317@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Respected Sir,&#60;/p&#62;
&#60;p&#62;I m doing my Master's Thesis on the topic microwave induced Thermo acoustical emission. I would like to know how do I start the simulation. Actually I am new to k-wave and i would like to know how to simulate equations using k-wave. It would be very helpful.&#60;/p&#62;
&#60;p&#62;Please help.&#60;/p&#62;
&#60;p&#62;Thank u
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
