<?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: Noisy acoustic waves in heterogenous medium</title>
		<link>http://www.k-wave.org/forum/topic/noisy-acoustic-waves-in-heterogenous-medium</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 03:49:32 +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/noisy-acoustic-waves-in-heterogenous-medium" rel="self" type="application/rss+xml" />

		<item>
			<title>Farzin on "Noisy acoustic waves in heterogenous medium"</title>
			<link>http://www.k-wave.org/forum/topic/noisy-acoustic-waves-in-heterogenous-medium#post-8033</link>
			<pubDate>Sun, 31 Jan 2021 17:57:58 +0000</pubDate>
			<dc:creator>Farzin</dc:creator>
			<guid isPermaLink="false">8033@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Thank you for the informative hint and the reference.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "Noisy acoustic waves in heterogenous medium"</title>
			<link>http://www.k-wave.org/forum/topic/noisy-acoustic-waves-in-heterogenous-medium#post-8030</link>
			<pubDate>Wed, 27 Jan 2021 23:31:58 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">8030@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Farzin,&#60;/p&#62;
&#60;p&#62;By default, the reference sound speed used in the k-space operator is set to the maximum to make the simulation unconditionally stable. However, because most of the medium is 1500 m/s in your simulation, this means dispersion errors accumulate. Try setting &#60;code&#62;medium.sound_speed_ref = 1500&#60;/code&#62; (or alternatively reduce the size of the time step) and it should solve the problem. See &#60;a href=&#34;http://www.k-wave.org/papers/2012-Treeby-JASA.pdf&#34;&#62;here&#60;/a&#62; (Sec V.A) if you want to read more.&#60;/p&#62;
&#60;p&#62;Brad
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Farzin on "Noisy acoustic waves in heterogenous medium"</title>
			<link>http://www.k-wave.org/forum/topic/noisy-acoustic-waves-in-heterogenous-medium#post-8026</link>
			<pubDate>Mon, 25 Jan 2021 11:57:08 +0000</pubDate>
			<dc:creator>Farzin</dc:creator>
			<guid isPermaLink="false">8026@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Dear Brad,&#60;/p&#62;
&#60;p&#62;Thank you for your response. The attached codes are a simplified example in MATLAB.&#60;/p&#62;
&#60;p&#62;Farzin&#60;/p&#62;
&#60;p&#62;P.S. The output figure: &#60;a href=&#34;https://i.ibb.co/MR2KDCZ/transducer-ct-pt.png&#34; rel=&#34;nofollow&#34;&#62;https://i.ibb.co/MR2KDCZ/transducer-ct-pt.png&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Nz                      = 560;&#60;br /&#62;
Nr                      = 125;&#60;br /&#62;
kgrid                   = kWaveGrid(Nz, 1e-04, Nr, 1e-4);&#60;br /&#62;
source.p0               = zeros (Nz, Nr);&#60;br /&#62;
source.p0(30:100,1:50)  = 1;&#60;br /&#62;
sensor.mask             = [520;1;530;95];&#60;br /&#62;
medium.sound_speed      = 1500 * ones(Nz, Nr);&#60;br /&#62;
medium.density          = 1000 * ones(Nz, Nr);&#60;br /&#62;
sensor_data_hom         = kspaceFirstOrderAS(kgrid, medium, source, sensor);&#60;/p&#62;
&#60;p&#62;medium.sound_speed(520:end,:)   = 2200;&#60;br /&#62;
medium.density(520:end,:)       = 1780;&#60;br /&#62;
sensor_data_het         = kspaceFirstOrderAS(kgrid, medium, source, sensor);&#60;/p&#62;
&#60;p&#62;figure('Name','Trace from center of transducer');&#60;br /&#62;
plot(kgrid.t_array*1e6,squeeze(sensor_data_hom(1).p(1, 1, :)), 'r-');&#60;br /&#62;
xlabel('Time (us)');&#60;br /&#62;
ylabel('Pressure');&#60;br /&#62;
hold on&#60;br /&#62;
plot(kgrid.t_array*1e6,squeeze(sensor_data_het(1).p(1, 1, :)), 'b-');&#60;br /&#62;
legend('Homogenous', 'Heterogeneous');&#60;br /&#62;
axis tight;&#60;br /&#62;
hold off
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "Noisy acoustic waves in heterogenous medium"</title>
			<link>http://www.k-wave.org/forum/topic/noisy-acoustic-waves-in-heterogenous-medium#post-8022</link>
			<pubDate>Sun, 24 Jan 2021 18:16:42 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">8022@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Farzin,&#60;/p&#62;
&#60;p&#62;Can you post some more details (or preferably a simple example) of what you mean?&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Farzin on "Noisy acoustic waves in heterogenous medium"</title>
			<link>http://www.k-wave.org/forum/topic/noisy-acoustic-waves-in-heterogenous-medium#post-8019</link>
			<pubDate>Fri, 22 Jan 2021 17:49:24 +0000</pubDate>
			<dc:creator>Farzin</dc:creator>
			<guid isPermaLink="false">8019@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;I am trying to simulate the photoacoustic signals detected by an ultrasound transducer. The 2D axisymmetric geometry consists of the carrier medium, water, and a transducer. I fed pressure as an initial value to k-wave. &#60;/p&#62;
&#60;p&#62;While running the solver, the acoustic waves look similar to the literature in the case of a homogenous medium. However, after adding the second medium, i.e., the transducer's physical properties, the propagating acoustic waves get noisy. &#60;/p&#62;
&#60;p&#62;I appreciate any help in this regard.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
