<?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: How to determine grid point spacing</title>
		<link>http://www.k-wave.org/forum/topic/how-to-determine-grid-point-spacing</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 23:35: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/how-to-determine-grid-point-spacing" rel="self" type="application/rss+xml" />

		<item>
			<title>bencox on "How to determine grid point spacing"</title>
			<link>http://www.k-wave.org/forum/topic/how-to-determine-grid-point-spacing#post-390</link>
			<pubDate>Fri, 16 Mar 2012 11:35:29 +0000</pubDate>
			<dc:creator>bencox</dc:creator>
			<guid isPermaLink="false">390@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Chao,&#60;/p&#62;
&#60;p&#62;If you replace your &#38;lt; signs with &#38;lt;= signs, then I think you are proving that when the maximum frequency supported by the grid, fmax_grid = c * kmax / 2pi = c / (2 *dx), equals the maximum frequency supported temporally, fmax_time = fs/2 = 1/(2 * dt), then necessarily dx = c * dt.&#60;/p&#62;
&#60;p&#62;Of course, that need not be the case. You can sample in time much more often than dx / c if you want to, but if you're using a time-varying source you need to make sure that the grid can support the frequencies that are in your input signal. It is probably a good idea to have a somewhat oversampled source, ie. the highest frequency in the time-varying source is rather less than fs/2.&#60;/p&#62;
&#60;p&#62;A final point is that for an initial value problem when the medium is homogeneous you can take as large a timestep as you like and it will be exact. (This is the whole point of the k-space method, as opposed to simply a pseudospectral time domain (although as you get close to the edges of the domain the PML will need smaller timesteps to be effective.)&#60;/p&#62;
&#60;p&#62;Ben
&#60;/p&#62;</description>
		</item>
		<item>
			<title>huangchao on "How to determine grid point spacing"</title>
			<link>http://www.k-wave.org/forum/topic/how-to-determine-grid-point-spacing#post-388</link>
			<pubDate>Fri, 16 Mar 2012 02:49:00 +0000</pubDate>
			<dc:creator>huangchao</dc:creator>
			<guid isPermaLink="false">388@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Dr. Cox and Dr. Treeby,&#60;/p&#62;
&#60;p&#62;Given the grid point spacing 'dx' and sound speed 'c' (assume c is constant), the time step 'dt' should satisfy the following condition&#60;/p&#62;
&#60;p&#62;dt &#38;lt; dx/c             (1)&#60;/p&#62;
&#60;p&#62;So I am wondering what's the condition for the grid point spacing 'dx' given time step 'dt' and sound speed 'c'. In other words, how to determine the maximum dx given 'dt' and 'c'.&#60;/p&#62;
&#60;p&#62;My thoughts are dx&#38;lt;λ_min/2, where λ_min is the minimum acoustic wavelength, i.e. λ_min=c/f_max, where f_max is the maximum frequency of the acoustic wave. If the acoustic wave is wide band, and we neglect absorption and transducer frequency response, then f_max=f_s/2, where f_s=1/dt is the sampling rate.&#60;/p&#62;
&#60;p&#62;Put it together, we have&#60;/p&#62;
&#60;p&#62;dx &#38;lt; λ_min/2 = c/(2*f_max) = c/f_s = c*dt              (2)&#60;/p&#62;
&#60;p&#62;But this conclusion contradicts (1). I don't know where the problem is.&#60;/p&#62;
&#60;p&#62;Thanks in advanced!&#60;/p&#62;
&#60;p&#62;Best,&#60;br /&#62;
Chao
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
