<?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: Instability modeling air and solids</title>
		<link>http://www.k-wave.org/forum/topic/instability-modeling-air-and-solids</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 23:37:03 +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/instability-modeling-air-and-solids" rel="self" type="application/rss+xml" />

		<item>
			<title>bencox on "Instability modeling air and solids"</title>
			<link>http://www.k-wave.org/forum/topic/instability-modeling-air-and-solids#post-8530</link>
			<pubDate>Fri, 13 May 2022 14:51:54 +0000</pubDate>
			<dc:creator>bencox</dc:creator>
			<guid isPermaLink="false">8530@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi bwalker000,&#60;/p&#62;
&#60;p&#62;Your first plan of making the material properties of air larger, which as you say doesn't change much acoustically, is a trick we've used in the past. That's probably the best option, if you have to model such an interface. If the interface is planar it would be worth thinking about whether you can use an image source to model the reflection. &#60;/p&#62;
&#60;p&#62;If you want to you can set the time steps yourself using the &#60;code&#62;setTime&#38;#39; method of&#60;/code&#62;kWaveGrid', eg.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;kgrid = kWaveGrid(Nx, dx);&#38;#39;&#60;/code&#62;&#60;/pre&#62;
kgrid.setTime(Nt, dt)'&#60;/p&#62;
&#60;p&#62;Best wishes&#60;br /&#62;
Ben
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bwalker000 on "Instability modeling air and solids"</title>
			<link>http://www.k-wave.org/forum/topic/instability-modeling-air-and-solids#post-8520</link>
			<pubDate>Tue, 26 Apr 2022 22:19:43 +0000</pubDate>
			<dc:creator>bwalker000</dc:creator>
			<guid isPermaLink="false">8520@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;I am modeling the reflections from a piece of plastic in air. When I use the following material properties the simulation is unstable and diverges.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;% source / reflector (PLA)
c_plastic = 2730;   % [m/s]         According to Olympus NDT
rho_plastic = 1190; % [kg / m^3]    According to ONDA Tables

c_air = 345;        % [m/s]         According to ONDA Tables
rho_air = 1.293;    % [kg / m^3]    According to ONDA Tables&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;However, if I increase the density of the air by a factor of ten, then the simulation is stable:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;% source / reflector (PLA)
c_plastic = 2730;   % [m/s]         According to Olympus NDT
rho_plastic = 1190; % [kg / m^3]    According to ONDA Tables

c_air = 345;        % [m/s]         According to ONDA Tables
rho_air = 10*1.293;    % [kg / m^3]    According to ONDA Tables&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This isn't a bad workaround since the speed of sound stays the same and the reflection coefficient largely stays the same (huge).&#60;/p&#62;
&#60;p&#62;Alternatively I can reduce the density of the plastic and get a stable solution:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;c_plastic = 2730;   % [m/s]         According to Olympus NDT
%rho_plastic = 1190; % [kg / m^3]    According to ONDA Tables
rho_plastic = 1/10*1190; % [kg / m^3]    According to ONDA Tables

c_air = 345;        % [m/s]         According to ONDA Tables
rho_air = 1.293;    % [kg / m^3]    According to ONDA Tables&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;My suspicion is that the temporal sampling rate is somehow not properly determined for materials with these extreme mismatches. I would suspect that this can be overridden to resolve the issue. Can anyone comment on this hypothesis or tell me how to do an override of the temporal sampling rate?&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
