<?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: Simulation Time</title>
		<link>http://www.k-wave.org/forum/topic/simulation-time</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 23:27: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/simulation-time" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "Simulation Time"</title>
			<link>http://www.k-wave.org/forum/topic/simulation-time#post-7084</link>
			<pubDate>Fri, 18 Oct 2019 19:09:52 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">7084@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Michael,&#60;/p&#62;
&#60;p&#62;If the screen goes black, it's likely an instability. Unfortunately, the stability criterion for the elastic model means that with high absorption values, you need to use a small CFL. You can try minimising the simulation time by switching to single precision, reducing the size of your domain if possible, using different hardware, etc.&#60;/p&#62;
&#60;p&#62;Hope that helps,&#60;/p&#62;
&#60;p&#62;Brad
&#60;/p&#62;</description>
		</item>
		<item>
			<title>genny_p on "Simulation Time"</title>
			<link>http://www.k-wave.org/forum/topic/simulation-time#post-7026</link>
			<pubDate>Wed, 28 Aug 2019 13:00:09 +0000</pubDate>
			<dc:creator>genny_p</dc:creator>
			<guid isPermaLink="false">7026@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Michael,&#60;/p&#62;
&#60;p&#62;I had a similar problem with a black screen forming (mine was due to some instability) when I increased the attenuation coefficients. I wonder if we are facing the same problem. In my case, I found the whether the simulation goes black is highly sensitive to the grid spacing. Increasing dx seemed to make the simulation more stable (as with increasing the cfl number), but then I couldn't confirm convergenge. I tried putting the parameters you supplied in the Shear Waves And Critical Angle Reflection Example and everything seems to run fine, even with the higher attenuation coefficients, so perhaps something else in your code is different (grid spacing/size probably considering the longer simulation time). Can you post your complete code (or a big enough subset of it to reproduce the problem) so I can see if your problem seems similar to mine?  &#60;/p&#62;
&#60;p&#62;I posted my code at &#60;a href=&#34;http://www.k-wave.org/forum/topic/instability-in-shear-wave-absorption-simulation&#34; rel=&#34;nofollow&#34;&#62;http://www.k-wave.org/forum/topic/instability-in-shear-wave-absorption-simulation&#60;/a&#62; a few months ago, and am still searching for a solution. Perhaps you can try increasing the grid spacing in your simulation and see if a coarser grid helps your simulation like mine (though this would only confirm we are facing the same problem, and still need a solution to confirm for convergence).&#60;/p&#62;
&#60;p&#62;Best,&#60;br /&#62;
Genny
&#60;/p&#62;</description>
		</item>
		<item>
			<title>elliotP on "Simulation Time"</title>
			<link>http://www.k-wave.org/forum/topic/simulation-time#post-7025</link>
			<pubDate>Tue, 27 Aug 2019 18:23:23 +0000</pubDate>
			<dc:creator>elliotP</dc:creator>
			<guid isPermaLink="false">7025@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I have a question about the relationship between elastic simulation time and coefficients.&#60;br /&#62;
For instance, when I use below constants:&#60;br /&#62;
-----------------------------------------&#60;br /&#62;
% water&#60;br /&#62;
cp1 = 1540;           % compressional wave speed [m/s]&#60;br /&#62;
cs1 = 0;              % shear wave speed [m/s]&#60;br /&#62;
rho1 = 1000;          % density [kg/m^3]&#60;br /&#62;
alpha0_p1 = 0;        % compressional wave absorption [dB/(MHz^2 cm)]&#60;br /&#62;
alpha0_s1 = 0;        % shear wave absorption [dB/(MHz^2 cm)]&#60;br /&#62;
% skull&#60;br /&#62;
cp2 = 3000;           % compressional wave speed [m/s]&#60;br /&#62;
cs2 = 1500;           % shear wave speed [m/s]&#60;br /&#62;
rho2 = 1850;          % density [kg/m^3]&#60;br /&#62;
alpha0_p2 = 3;      % compressional wave absorption [dB/(MHz^2 cm)]&#60;br /&#62;
alpha0_s2 = 6;      % shear wave absorption [dB/(MHz^2 cm)]&#60;br /&#62;
% create the time array&#60;br /&#62;
cfl                 = 0.13;&#60;br /&#62;
t_end               = 40e-6;&#60;br /&#62;
-----------------------------------------&#60;br /&#62;
estimated simulation time 1hours 15min 41.4135s...&#60;br /&#62;
-----------------------------------------&#60;/p&#62;
&#60;p&#62;When I change the skull's attenuation values to alpha0_p2 = 8.83, alpha0_s2 = 19.5 (belongs to your paper(Modeling power law absorption and dispersion in viscoelastic solids using a split-field&#60;br /&#62;
and the fractional Laplacian)). Unfortunately, simulation gives a black screen. I think I have to change the cfl number. But, when I decrease the cfl coefficient, simulation time takes much longer.&#60;br /&#62;
How can I minimize the simulation time under these circumstances?&#60;/p&#62;
&#60;p&#62;Best,&#60;br /&#62;
Michael
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
