<?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: Free surface condition</title>
		<link>http://www.k-wave.org/forum/topic/free-surface-condition</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 06:46:29 +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/free-surface-condition" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "Free surface condition"</title>
			<link>http://www.k-wave.org/forum/topic/free-surface-condition#post-4836</link>
			<pubDate>Tue, 11 Nov 2014 18:37:50 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">4836@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Gilles,&#60;/p&#62;
&#60;p&#62;There is currently no general way in k-Wave to enforce a Dirichlet boundary condition (i.e., a pressure-release or solid-vacuum type interface), and thus generate true Rayleigh waves. However, if you're not using a stress source, one option to try is to use the &#60;code&#62;&#38;#39;dirichlet&#38;#39;&#60;/code&#62; source option, and set your source input to be zero, e.g.,&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;source.s_mask   = zeros(Nx, Ny);
source.s_mask(1:Nx/4, :) = 1;
source.sxx      = zeros(1, kgrid.Nt);
source.syy      = source.sxx;
source.sxy      = source.syy;
source.s_mode   = &#38;#39;dirichlet&#38;#39;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You could also try using very small values for the material parameters, or setting the stress to zero explicitly as explained in &#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;If you come up with a nice solution, I'd be interested to hear about it!&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>grandjean on "Free surface condition"</title>
			<link>http://www.k-wave.org/forum/topic/free-surface-condition#post-4830</link>
			<pubDate>Thu, 06 Nov 2014 16:24:14 +0000</pubDate>
			<dc:creator>grandjean</dc:creator>
			<guid isPermaLink="false">4830@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hello,&#60;br /&#62;
How to create a free-surface condition along a model's boudary so that Rayleigh waves can be generated?&#60;br /&#62;
Many thanks&#60;br /&#62;
Gilles
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
