<?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: Sound propegation in a tube</title>
		<link>http://www.k-wave.org/forum/topic/sound-propegation-in-a-tube</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 09:42:43 +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/sound-propegation-in-a-tube" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "Sound propegation in a tube"</title>
			<link>http://www.k-wave.org/forum/topic/sound-propegation-in-a-tube#post-5355</link>
			<pubDate>Wed, 13 Jan 2016 16:22:13 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">5355@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi tomk2006,&#60;/p&#62;
&#60;p&#62;Is the wavelength much larger than the dimensions of the tube such that the wave propagation could be assumed to be planar? If so, you could run the simulations in 1D, which would significantly improve the computation time. &#60;/p&#62;
&#60;p&#62;Otherwise, the only option at the moment is to use different material properties as you have done. Something to keep in mind is that if you try to define a circle on a discrete Cartesian grid, you will get staircasing errors. To minimise this, you might need to use a reasonable number of grid points per wavelength. If you want to simulate perfectly hard or soft boundaries, you could also look at &#60;a href=&#34;http://www.k-wave.org/forum/topic/room-enclouse-acoustic-simulation&#34;&#62;this post&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;Regarding your other questions: (2) For the time step, you can define this yourself by setting kgrid.t_array (see Section 3.2 in the k-Wave manual). Keep in mind the stability conditions (see Section 2.7 in the manual). (3) Yes, you can create more complicated signals by adding them. (4) Yes, the sample rate of the recorded signal is 1/kgrid.dt.&#60;/p&#62;
&#60;p&#62;Something else to consider is that the correction factor used in the k-space scheme in k-Wave defaults to the maximum sound speed. I would override this using the &#60;code&#62;medium.sound_speed_ref&#60;/code&#62; input and set it to the sound speed in the tube. This will minimise the numerical dispersion.&#60;/p&#62;
&#60;p&#62;Hope that helps,&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tomk2006 on "Sound propegation in a tube"</title>
			<link>http://www.k-wave.org/forum/topic/sound-propegation-in-a-tube#post-5335</link>
			<pubDate>Sat, 28 Nov 2015 15:42:58 +0000</pubDate>
			<dc:creator>tomk2006</dc:creator>
			<guid isPermaLink="false">5335@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Fix: I meant a point sensor, and a rectangular source
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tomk2006 on "Sound propegation in a tube"</title>
			<link>http://www.k-wave.org/forum/topic/sound-propegation-in-a-tube#post-5334</link>
			<pubDate>Sat, 28 Nov 2015 12:58:06 +0000</pubDate>
			<dc:creator>tomk2006</dc:creator>
			<guid isPermaLink="false">5334@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;I'm trying to simulate sound propegation inside a metal tube filled with air, with a rectangle source, and a point source (speaker and a microphone). I know that boundery conditions are not possible in K-wave, so I created a series of spherical sections that makes the tube, then placed the source and sensor in the tube.&#60;br /&#62;
In the slit example provided in the package, you have created an object with higher density and speed of sound (times 20), to simulate the slit.&#60;br /&#62;
I try to use the same method to simulate the increased density of the tube, and the speed of sound in it. A few question that I have regarding that topic:&#60;/p&#62;
&#60;p&#62;1)Is this the best way to simulate the conditions mentioned above using k-wave?&#60;/p&#62;
&#60;p&#62;2)If so, taking into account that sound speed is ~ 18 time in steel than in air, the calculation time length will be multipled by ~ 18 (since dt is propertional to max speed of sound). Since i'm not intrested in the way the sound propegated through the tube, I only care that the refrections and absorption stay the same, is there a way to go around this?&#60;/p&#62;
&#60;p&#62;3)in a later stage I would like to include the harmonic of my frequency. can I do this simply by setting sensor.p =sin(w_1*t_grid) +sin(2w*t_grid)? &#60;/p&#62;
&#60;p&#62;4) To make the spectral analysis I'm using FFT. is the rate of sample for the detector 1/dt?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
