<?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: Heterogenous Medium: Setting medium.alpha_coeff  and medium.alpha_power Values</title>
		<link>http://www.k-wave.org/forum/topic/heterogenous-medium-setting-mediumalpha_coeff-and-mediumalpha_power-values</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 23:28:35 +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/heterogenous-medium-setting-mediumalpha_coeff-and-mediumalpha_power-values" rel="self" type="application/rss+xml" />

		<item>
			<title>Anthony on "Heterogenous Medium: Setting medium.alpha_coeff  and medium.alpha_power Values"</title>
			<link>http://www.k-wave.org/forum/topic/heterogenous-medium-setting-mediumalpha_coeff-and-mediumalpha_power-values#post-5372</link>
			<pubDate>Mon, 01 Feb 2016 13:31:04 +0000</pubDate>
			<dc:creator>Anthony</dc:creator>
			<guid isPermaLink="false">5372@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi benji,&#60;/p&#62;
&#60;p&#62;I found the discussion I had with Brad on this particular topic:&#60;br /&#62;
&#60;a href=&#34;http://www.k-wave.org/forum/topic/heterogeneous-alpha_power&#34; rel=&#34;nofollow&#34;&#62;http://www.k-wave.org/forum/topic/heterogeneous-alpha_power&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Best regards,&#60;br /&#62;
Anthony
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anthony on "Heterogenous Medium: Setting medium.alpha_coeff  and medium.alpha_power Values"</title>
			<link>http://www.k-wave.org/forum/topic/heterogenous-medium-setting-mediumalpha_coeff-and-mediumalpha_power-values#post-5371</link>
			<pubDate>Mon, 01 Feb 2016 11:31:38 +0000</pubDate>
			<dc:creator>Anthony</dc:creator>
			<guid isPermaLink="false">5371@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi benji,&#60;/p&#62;
&#60;p&#62;Unfortunately, alpha_power cannot be heterogeneous because it is involved in the definition of the fractional differential operators used for the absorption... (see the paper &#34;Modeling power law absorption and dispersion for acoustic propagation using the fractional Laplacian.&#34; for the formula).&#60;/p&#62;
&#60;p&#62;I don't know if there would be ways to circumvent this limitation but, with the code as it is, I don't think it is possible.&#60;/p&#62;
&#60;p&#62;About your second question, could you post a code? &#60;/p&#62;
&#60;p&#62;Best regards,&#60;br /&#62;
Anthony
&#60;/p&#62;</description>
		</item>
		<item>
			<title>benji on "Heterogenous Medium: Setting medium.alpha_coeff  and medium.alpha_power Values"</title>
			<link>http://www.k-wave.org/forum/topic/heterogenous-medium-setting-mediumalpha_coeff-and-mediumalpha_power-values#post-5367</link>
			<pubDate>Fri, 29 Jan 2016 17:29:21 +0000</pubDate>
			<dc:creator>benji</dc:creator>
			<guid isPermaLink="false">5367@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;hi,&#60;br /&#62;
first - I have exactly the same question of MO above - can medium.alpha_power be defined as a heterogeneous matrix? &#60;/p&#62;
&#60;p&#62;secondly - I have tried defining different homogeneous medium.alpha_power and medium.alpha_coeff and run a simple simulation - I keep getting exactly the same pressure profile in the sensor, independent of the loss defined (in other words - seams like the loss parameters do nothing...)&#60;/p&#62;
&#60;p&#62;How Is that possible?&#60;/p&#62;
&#60;p&#62;Thank u,&#60;br /&#62;
benji
&#60;/p&#62;</description>
		</item>
		<item>
			<title>MO_2015 on "Heterogenous Medium: Setting medium.alpha_coeff  and medium.alpha_power Values"</title>
			<link>http://www.k-wave.org/forum/topic/heterogenous-medium-setting-mediumalpha_coeff-and-mediumalpha_power-values#post-5362</link>
			<pubDate>Mon, 18 Jan 2016 17:52:26 +0000</pubDate>
			<dc:creator>MO_2015</dc:creator>
			<guid isPermaLink="false">5362@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I got a question regarding medium.alpha_power which is not really answered above. Is it possible to define this parameter as a heterogeneous matrice just like medium.alpha_coeff?&#60;/p&#62;
&#60;p&#62;Thanks in advance!&#60;/p&#62;
&#60;p&#62;Kind regards&#60;br /&#62;
MO
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "Heterogenous Medium: Setting medium.alpha_coeff  and medium.alpha_power Values"</title>
			<link>http://www.k-wave.org/forum/topic/heterogenous-medium-setting-mediumalpha_coeff-and-mediumalpha_power-values#post-4551</link>
			<pubDate>Tue, 27 May 2014 10:29:50 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">4551@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Margot,&#60;/p&#62;
&#60;p&#62;Both &#60;code&#62;medium.alpha_coeff&#60;/code&#62; and &#60;code&#62;medium.BonA&#60;/code&#62; can be defined as heterogeneous matrices. One thing to keep in mind is that if you set B/A to zero, this will turn off the material nonlinearity, but there will still be a convective nonlinearity. In other words, setting the nonlinear parameter B/A to zero is not the same as setting the coefficient of nonlinearity beta = 1 + B/2A to zero. If you want to do the latter and you are using the MATLAB code, you can modify the simulation functions to do this. For example, using V1.0 in 2D, open &#60;code&#62;kspaceFirstOrder2D&#60;/code&#62; and replace lines 808 and 809 with:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;% force the convective nonlinearity term to be zero in regions of the domain where BonA is zero
rhox = bsxfun(@times, pml_x, ( bsxfun(@times, pml_x, rhox) - dt.*rho0 .* duxdx ) ./ (1 + (medium.BonA ~= 0) .* 2*dt.*duxdx));
rhoy = bsxfun(@times, pml_y, ( bsxfun(@times, pml_y, rhoy) - dt.*rho0 .* duydy ) ./ (1 + (medium.BonA ~= 0) .* 2*dt.*duydy));&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Hope that helps,&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mgt_p on "Heterogenous Medium: Setting medium.alpha_coeff  and medium.alpha_power Values"</title>
			<link>http://www.k-wave.org/forum/topic/heterogenous-medium-setting-mediumalpha_coeff-and-mediumalpha_power-values#post-4549</link>
			<pubDate>Mon, 26 May 2014 10:31:18 +0000</pubDate>
			<dc:creator>mgt_p</dc:creator>
			<guid isPermaLink="false">4549@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;Just to check, having BonA and alpha* as matrices as not been implemented yet, right?&#60;/p&#62;
&#60;p&#62;Thanks&#60;/p&#62;
&#60;p&#62;Margot
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "Heterogenous Medium: Setting medium.alpha_coeff  and medium.alpha_power Values"</title>
			<link>http://www.k-wave.org/forum/topic/heterogenous-medium-setting-mediumalpha_coeff-and-mediumalpha_power-values#post-259</link>
			<pubDate>Mon, 21 Nov 2011 04:17:42 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">259@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Thanks for your feedback. There has also been some other discussion of this issue on the forum. In the B.03 release the absorption values must be homogeneous, however, this has been modified in B.04 to allow a heterogeneous &#60;code&#62;medium.alpha_coeff&#60;/code&#62; term.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rmurthy on "Heterogenous Medium: Setting medium.alpha_coeff  and medium.alpha_power Values"</title>
			<link>http://www.k-wave.org/forum/topic/heterogenous-medium-setting-mediumalpha_coeff-and-mediumalpha_power-values#post-257</link>
			<pubDate>Fri, 18 Nov 2011 08:38:50 +0000</pubDate>
			<dc:creator>rmurthy</dc:creator>
			<guid isPermaLink="false">257@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I am able to set medium.density and medium.sound_speed as matrices, but I encounter errors when trying to set medium.alpha_coeff and medium.alpha_power to matrices... is there a way to circumvent this? I'm trying to simulate ultrasound propagation through two adjacent tissues with very different attenuation coefficient values, so I'd like to be able to define all of those parameters to reflect that.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
