<?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: Weird results when modeling attenuation with the GPU and CPU versions</title>
		<link>http://www.k-wave.org/forum/topic/weird-results-when-modeling-attenuation-with-the-gpu-and-cpu-versions</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 22:24:15 +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/weird-results-when-modeling-attenuation-with-the-gpu-and-cpu-versions" rel="self" type="application/rss+xml" />

		<item>
			<title>djps on "Weird results when modeling attenuation with the GPU and CPU versions"</title>
			<link>http://www.k-wave.org/forum/topic/weird-results-when-modeling-attenuation-with-the-gpu-and-cpu-versions#post-8914</link>
			<pubDate>Thu, 21 Sep 2023 11:45:05 +0000</pubDate>
			<dc:creator>djps</dc:creator>
			<guid isPermaLink="false">8914@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;perhaps you could just say how the perfectly matched layers were constructed in the benchmarks?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>djps on "Weird results when modeling attenuation with the GPU and CPU versions"</title>
			<link>http://www.k-wave.org/forum/topic/weird-results-when-modeling-attenuation-with-the-gpu-and-cpu-versions#post-8850</link>
			<pubDate>Thu, 29 Jun 2023 08:32:14 +0000</pubDate>
			<dc:creator>djps</dc:creator>
			<guid isPermaLink="false">8850@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;That would be great, thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "Weird results when modeling attenuation with the GPU and CPU versions"</title>
			<link>http://www.k-wave.org/forum/topic/weird-results-when-modeling-attenuation-with-the-gpu-and-cpu-versions#post-8786</link>
			<pubDate>Fri, 02 Jun 2023 08:50:26 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">8786@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi djps,&#60;/p&#62;
&#60;p&#62;I'll tidy up all the k-Wave intercomparison code when I get a chance and move to a public GitHub repo.&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>djps on "Weird results when modeling attenuation with the GPU and CPU versions"</title>
			<link>http://www.k-wave.org/forum/topic/weird-results-when-modeling-attenuation-with-the-gpu-and-cpu-versions#post-8785</link>
			<pubDate>Wed, 31 May 2023 14:23:43 +0000</pubDate>
			<dc:creator>djps</dc:creator>
			<guid isPermaLink="false">8785@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Is there an example of how to generate the kwave results for the benchmark data, rather than download it?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>CelestineAngla on "Weird results when modeling attenuation with the GPU and CPU versions"</title>
			<link>http://www.k-wave.org/forum/topic/weird-results-when-modeling-attenuation-with-the-gpu-and-cpu-versions#post-8732</link>
			<pubDate>Thu, 16 Mar 2023 10:22:33 +0000</pubDate>
			<dc:creator>CelestineAngla</dc:creator>
			<guid isPermaLink="false">8732@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Makes sense, thank you very much for your answer !
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "Weird results when modeling attenuation with the GPU and CPU versions"</title>
			<link>http://www.k-wave.org/forum/topic/weird-results-when-modeling-attenuation-with-the-gpu-and-cpu-versions#post-8731</link>
			<pubDate>Wed, 15 Mar 2023 19:55:52 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">8731@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;If your source has a single frequency, the frequency dependent power law can be set to anything, as long as the value for alpha_coeff is adjusted accordingly to give the correct absorption in dB/cm. To avoid dispersion, you can set alpha_power to 2. This is the approach I used for the intercomparison simulations.&#60;/p&#62;
&#60;p&#62;The code used is the same one as publicly available, except for the very large 3D simulations which were done using the MPI code.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>CelestineAngla on "Weird results when modeling attenuation with the GPU and CPU versions"</title>
			<link>http://www.k-wave.org/forum/topic/weird-results-when-modeling-attenuation-with-the-gpu-and-cpu-versions#post-8730</link>
			<pubDate>Wed, 15 Mar 2023 14:41:16 +0000</pubDate>
			<dc:creator>CelestineAngla</dc:creator>
			<guid isPermaLink="false">8730@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Please, does anyone know how absorption was modeled in the benchmark configurations of the paper &#34;Benchmark problems for transcranial ultrasound simulation&#34; ?&#60;br /&#62;
Is  it possible to model absorption without dispersion with the 3D version of k-Wave optimized for high performance computing clusters ?&#60;br /&#62;
Thank you
&#60;/p&#62;</description>
		</item>
		<item>
			<title>CelestineAngla on "Weird results when modeling attenuation with the GPU and CPU versions"</title>
			<link>http://www.k-wave.org/forum/topic/weird-results-when-modeling-attenuation-with-the-gpu-and-cpu-versions#post-8704</link>
			<pubDate>Fri, 10 Feb 2023 12:06:44 +0000</pubDate>
			<dc:creator>CelestineAngla</dc:creator>
			<guid isPermaLink="false">8704@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;I have another question : in the paper &#34;Benchmark problems for transcranial ultrasound simulation:&#60;br /&#62;
Intercomparison of compressional wave models&#34; by Aubry et al., I read that you used a 3D version of k-Wave optimized for high performance computing clusters, is it based on the same C++ code as kspaceFirstOrder3DC and kspaceFirstOrder3DG ?&#60;br /&#62;
In this paper, did you modeled only absorption without dispersion ? If so, how did you do it ?&#60;/p&#62;
&#60;p&#62;Thank you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>CelestineAngla on "Weird results when modeling attenuation with the GPU and CPU versions"</title>
			<link>http://www.k-wave.org/forum/topic/weird-results-when-modeling-attenuation-with-the-gpu-and-cpu-versions#post-8701</link>
			<pubDate>Wed, 01 Feb 2023 17:49:04 +0000</pubDate>
			<dc:creator>CelestineAngla</dc:creator>
			<guid isPermaLink="false">8701@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;If the C++ code does not support alpha_mode inputs then I guess it is impossible to model a medium with absorption and without dispersion ?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>CelestineAngla on "Weird results when modeling attenuation with the GPU and CPU versions"</title>
			<link>http://www.k-wave.org/forum/topic/weird-results-when-modeling-attenuation-with-the-gpu-and-cpu-versions#post-8700</link>
			<pubDate>Wed, 01 Feb 2023 17:43:44 +0000</pubDate>
			<dc:creator>CelestineAngla</dc:creator>
			<guid isPermaLink="false">8700@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Thank you for your quick answer.&#60;/p&#62;
&#60;p&#62;I didn't know that the C++ code didn't support the alpha_mode. As I set it usually to &#34;no_dispersion&#34;, I guess this is the reason why the results are so weird (probably numerically unstable). &#60;/p&#62;
&#60;p&#62;But as the GPU version works for configurations where alpha_coeff = 0.001 for the whole computation zone, does it means that dispersion is only taken into account when alpha_coeff is set to another value for the medium of interest ? How does alpha_coeff affect the dispersion computation ?&#60;/p&#62;
&#60;p&#62;I don't know how to provide you my source field and computation zone through this forum, but I do simulations through a homogeneous medium with rho=1600kg/m3 and c=2400m/s at a frequency around 1MHz.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "Weird results when modeling attenuation with the GPU and CPU versions"</title>
			<link>http://www.k-wave.org/forum/topic/weird-results-when-modeling-attenuation-with-the-gpu-and-cpu-versions#post-8694</link>
			<pubDate>Fri, 13 Jan 2023 00:29:53 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">8694@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Could you post a small example that reproduces the problem? Note, the C++ codes don’t support the alpha_mode inputs.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>CelestineAngla on "Weird results when modeling attenuation with the GPU and CPU versions"</title>
			<link>http://www.k-wave.org/forum/topic/weird-results-when-modeling-attenuation-with-the-gpu-and-cpu-versions#post-8693</link>
			<pubDate>Thu, 12 Jan 2023 15:06:29 +0000</pubDate>
			<dc:creator>CelestineAngla</dc:creator>
			<guid isPermaLink="false">8693@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi, &#60;/p&#62;
&#60;p&#62;I have been running simulations with the kspaceFirstOrder3D solver and with the CPU and GPU versions (kspaceFirstOrder3DC and kspaceFirstOrder3DG) and it works well.&#60;/p&#62;
&#60;p&#62;But when I add attenuation to the medium (using medium.alpha_coeff), kspaceFirstOrder3D returns the expected result while the CPU and GPU versions return very weird fields that are nearly zero everywhere except around one location.&#60;/p&#62;
&#60;p&#62;Do you have any ideas on what the problem could be ?&#60;/p&#62;
&#60;p&#62;Thank you,&#60;/p&#62;
&#60;p&#62;Célestine Angla
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
