<?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: Ultrasound speed in water</title>
		<link>http://www.k-wave.org/forum/topic/ultrasound-speed-in-water</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 22:34:33 +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/ultrasound-speed-in-water" rel="self" type="application/rss+xml" />

		<item>
			<title>vilppus on "Ultrasound speed in water"</title>
			<link>http://www.k-wave.org/forum/topic/ultrasound-speed-in-water#post-4596</link>
			<pubDate>Wed, 25 Jun 2014 07:12:37 +0000</pubDate>
			<dc:creator>vilppus</dc:creator>
			<guid isPermaLink="false">4596@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Thanks Andrew. That did the trick. Now I get a speed value of 1506 m/s. This was my first simulation so I wasn't used to the &#34;matrix-notation&#34; of coordinates used here (also in Matlab). When I initially noticed my x and y coordinates where wrong, I remembered to change all the values expect the division by dx. That should have been divided by dy.&#60;/p&#62;
&#60;p&#62;Thanks also for the tip about the size of the computational grid. I expanded my grid to 284 x 284 points, plus 40 for the PML, so it's 324x324 which has a prime factor of 3. Computational time pretty much stayed the same because of the increase in grid and time points. Nevertheless it's good to keep that in mind in the future.&#60;/p&#62;
&#60;p&#62;I'm sure that I'm going to ask more questions but I hope that they won't be as trivial as this.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ouelletn on "Ultrasound speed in water"</title>
			<link>http://www.k-wave.org/forum/topic/ultrasound-speed-in-water#post-4594</link>
			<pubDate>Tue, 24 Jun 2014 14:18:48 +0000</pubDate>
			<dc:creator>ouelletn</dc:creator>
			<guid isPermaLink="false">4594@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Looking at the grid you have defined there is a mistake in the code. You have 160 grid points of water before the steel, which is .6250 of the total grid(1.875mm water). You seem to have mixed up the x and y dimensions at some point in your code. This accounts for the dependency mentioned exactly.&#60;/p&#62;
&#60;p&#62;On a side note, your grid should be redefined. As you have stated that the PML is outside the computational grid, the grid is expanded before computation to add in the PML dimensions, this will result in a calculation grid that is not efficient with the fft(multiples of prime numbers).&#60;/p&#62;
&#60;p&#62;-Andrew
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vilppus on "Ultrasound speed in water"</title>
			<link>http://www.k-wave.org/forum/topic/ultrasound-speed-in-water#post-4591</link>
			<pubDate>Tue, 24 Jun 2014 08:39:27 +0000</pubDate>
			<dc:creator>vilppus</dc:creator>
			<guid isPermaLink="false">4591@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;I have been studying k-Wave and I have a problem. My simulation is pretty straightforward at the moment. I have a transducer and a steel block (width 1 mm). There is 2 mm of water in between of the transducer and steel. The transducer is also the receiver. I detect the initial signal and the reflected one. When I calculate the speed of sound in water from the simulation data (from maximum peak to maximum) I get approximately 1600 m/s. I have set the speed to 1500 m/s. I don't know what's wrong. If I only have water I get speed value of 1507 m/s.&#60;/p&#62;
&#60;p&#62;I have tried many things to fix this. I have tried to adjust the CFL value, no change. I have increased the number of calculation points even up to 1024 x 1024, no change. I have also changed the properties of steel to closer water, no change. Can anyone look at my code and come up with a solution. Link: &#60;a href=&#34;https://www.dropbox.com/s/o5klnd3ul218hk7/speedofsound.zip&#34; rel=&#34;nofollow&#34;&#62;https://www.dropbox.com/s/o5klnd3ul218hk7/speedofsound.zip&#60;/a&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
