<?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: Mesh grid size problem</title>
		<link>http://www.k-wave.org/forum/topic/mesh-grid-size-problem</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 01:45:55 +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/mesh-grid-size-problem" rel="self" type="application/rss+xml" />

		<item>
			<title>bencox on "Mesh grid size problem"</title>
			<link>http://www.k-wave.org/forum/topic/mesh-grid-size-problem#post-5846</link>
			<pubDate>Wed, 08 Mar 2017 19:16:32 +0000</pubDate>
			<dc:creator>bencox</dc:creator>
			<guid isPermaLink="false">5846@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi William, &#60;/p&#62;
&#60;p&#62;Have you tried setting &#60;code&#62;source.p_mode&#60;/code&#62; to &#60;code&#62;&#38;#39;dirichlet&#38;#39;&#60;/code&#62;? That will force the pressure at that point to be what you have input. The default option is &#60;code&#62;&#38;#39;additive&#38;#39;&#60;/code&#62;, which adds the source to the current value of the acoustic pressure at the source point. In this latter case, the acoustic pressure amplitude at the source will grow up to a time dx / sound_speed when using a time-varying source.&#60;/p&#62;
&#60;p&#62;The reason it grows goes to the fundamentals of k-Wave. When you define a 'point' source, ie. a value at one grid point and zeros at all other grid points, then what k-Wave sees is not a single point source but rather a source function of the form sinc(\pi x / dx) sinc (\pi y / dy) centred at the 'source point'. (It is the band-limited interpolant which matches all the values defined on the grid but it varies in between the grid points. This arises because of the Fourier basis that underlies k-Wave.) It takes a time of dx / sound_speed for the main lobe of this sinc function to propagate away from the source point. &#60;/p&#62;
&#60;p&#62;If you are interested in the difference in the source pressure and the pressure at some other point in the field and want to use an additive source type, then one option is to record the pressure at the source point (ie. set one of the sensor points to be the source point). &#60;/p&#62;
&#60;p&#62;Hope that helps,&#60;br /&#62;
Ben
&#60;/p&#62;</description>
		</item>
		<item>
			<title>William Weber on "Mesh grid size problem"</title>
			<link>http://www.k-wave.org/forum/topic/mesh-grid-size-problem#post-5845</link>
			<pubDate>Fri, 03 Mar 2017 17:35:03 +0000</pubDate>
			<dc:creator>William Weber</dc:creator>
			<guid isPermaLink="false">5845@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hello&#60;/p&#62;
&#60;p&#62;I'm working on  example_tvsp_homogeneous_medium_monopole.m example.&#60;/p&#62;
&#60;p&#62;While I increase the mesh grid size ( multiplying nx and ny by 2, so dx lowers to its half) the measured acoustic pressure value also decreases to its half.&#60;/p&#62;
&#60;p&#62;Which is unexpected. Can anybody please describe the reason or offer me a way to prevent this situation. How can I compensate this effect?&#60;/p&#62;
&#60;p&#62;Thank you
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
