<?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: source term</title>
		<link>http://www.k-wave.org/forum/topic/source-term</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 00:47:19 +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/source-term" rel="self" type="application/rss+xml" />

		<item>
			<title>bencox on "source term"</title>
			<link>http://www.k-wave.org/forum/topic/source-term#post-1173</link>
			<pubDate>Tue, 15 Jan 2013 10:51:44 +0000</pubDate>
			<dc:creator>bencox</dc:creator>
			<guid isPermaLink="false">1173@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Chao,&#60;/p&#62;
&#60;p&#62;kspaceFirstOrder_scaleSourceTerms takes into account the fact that you are inputting the source over a finite region, a voxel, and a finite time, dt.&#60;/p&#62;
&#60;p&#62;To check your simulation is set up to give you the same units out that you put in, turn off the absorption and propagate a plane wave which won't spread geometrically. You may want to turn off the PML at the edges perpendicular to the wave so it is truly modelled as 1D.&#60;/p&#62;
&#60;p&#62;Kind regards,&#60;/p&#62;
&#60;p&#62;Ben
&#60;/p&#62;</description>
		</item>
		<item>
			<title>huangchao on "source term"</title>
			<link>http://www.k-wave.org/forum/topic/source-term#post-1172</link>
			<pubDate>Sun, 13 Jan 2013 03:14:27 +0000</pubDate>
			<dc:creator>huangchao</dc:creator>
			<guid isPermaLink="false">1172@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Dr. Cox,&#60;/p&#62;
&#60;p&#62;Actually, I am trying to use the kspaceFirstOrder3D function to simulate the wave propagation governed by the wave equation (∇^2 - 1/c(r)^2∂^2/∂t^2)p(r,t) = -s(r,t) subjecting to p(r,0)=0, ∂p/∂t&#124;t=0 = 0, where the source term s(r,t) is given and it's obviously not in the unit of pressure, although I called it pressure source in the original post.&#60;/p&#62;
&#60;p&#62;After studying the k-Wave user manual, I found that the above s(r,t) is corresponding to ∂S_M/∂t in Eq. (2.9) provided there is no velocity soureces. Also, in k-Wave, the source.p is scaled to be unit of S_M so that it can be added in the equation of mass conservation.&#60;/p&#62;
&#60;p&#62;So to simulate the above inhomogeneous wave equation in my case, I need to integrate s(r,t) first and set the integral values to source.p, then comment the line kspaceFirstOrder_scaleSourceTerms, after that the simulation results from kspaceFirstOrder3D should be consistent to the above wave equation. Is this right?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Chao
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bencox on "source term"</title>
			<link>http://www.k-wave.org/forum/topic/source-term#post-1171</link>
			<pubDate>Sat, 12 Jan 2013 21:16:31 +0000</pubDate>
			<dc:creator>bencox</dc:creator>
			<guid isPermaLink="false">1171@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Chao,&#60;/p&#62;
&#60;p&#62;Probably quickest if you have a look in the k-Wave manual (under documentation). I think Section 2.3 (and surrounding sections) answers your question. If not, please post again.&#60;/p&#62;
&#60;p&#62;Happy New Year too!&#60;/p&#62;
&#60;p&#62;Ben
&#60;/p&#62;</description>
		</item>
		<item>
			<title>huangchao on "source term"</title>
			<link>http://www.k-wave.org/forum/topic/source-term#post-1170</link>
			<pubDate>Fri, 11 Jan 2013 20:49:09 +0000</pubDate>
			<dc:creator>huangchao</dc:creator>
			<guid isPermaLink="false">1170@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Dr. Cox and Dr. Treeby,&#60;/p&#62;
&#60;p&#62;I am trying to use the kspaceFirstOrder3D function to simulate wave propagation in media with varying sound speed and with a time varying pressure source term s(r,t) and zero initial conditions. So I wonder using kspaceFirstOrder3D is equivalent to solve which of the following 2nd order wave equations:&#60;/p&#62;
&#60;p&#62;1. (∂^2/∂t^2 - c(r)^2∇^2)p(r,t) = s(r,t) subjects to p(r,0)=0, ∂p/∂t&#124;t=0 = 0;&#60;/p&#62;
&#60;p&#62;2. (∇^2 - 1/c(r)^2∂^2/∂t^2)p(r,t) = -s(r,t) subjects to p(r,0)=0, ∂p/∂t&#124;t=0 = 0;&#60;/p&#62;
&#60;p&#62;Also, are the following settings for the input structure source correct for my case?&#60;br /&#62;
source.p0=0;&#60;br /&#62;
source.p=s;&#60;br /&#62;
source.p_mask=s_mask;&#60;br /&#62;
source.p_mode='additive';&#60;/p&#62;
&#60;p&#62;Thanks a lot for your time and Happy New Year!&#60;/p&#62;
&#60;p&#62;Best,&#60;br /&#62;
Chao
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
