<?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: Transition from sound in liquids to solids</title>
		<link>http://www.k-wave.org/forum/topic/transition-from-sound-in-liquids-to-solids</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 09:43:06 +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/transition-from-sound-in-liquids-to-solids" rel="self" type="application/rss+xml" />

		<item>
			<title>mavheart on "Transition from sound in liquids to solids"</title>
			<link>http://www.k-wave.org/forum/topic/transition-from-sound-in-liquids-to-solids#post-5350</link>
			<pubDate>Fri, 18 Dec 2015 01:02:20 +0000</pubDate>
			<dc:creator>mavheart</dc:creator>
			<guid isPermaLink="false">5350@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Brad,&#60;/p&#62;
&#60;p&#62;thank you for your help :)&#60;/p&#62;
&#60;p&#62;Marvin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "Transition from sound in liquids to solids"</title>
			<link>http://www.k-wave.org/forum/topic/transition-from-sound-in-liquids-to-solids#post-5339</link>
			<pubDate>Tue, 01 Dec 2015 11:31:52 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">5339@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Marvin,&#60;/p&#62;
&#60;p&#62;It seems to be a plot scale issue. With auto plot scaling, the limits are constantly adjusted, so it looks like there are waves remnant in your grid after the pulse reaches the PML, even though these are very small.&#60;/p&#62;
&#60;p&#62;If you change your code to &#60;code&#62;&#38;#39;PlotScale, [-1, 1]&#60;/code&#62; it should work as expected. Also, I would advise using a slightly fatter PML (perhaps 20 grid points).&#60;/p&#62;
&#60;p&#62;Hope that helps,&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mavheart on "Transition from sound in liquids to solids"</title>
			<link>http://www.k-wave.org/forum/topic/transition-from-sound-in-liquids-to-solids#post-5326</link>
			<pubDate>Tue, 24 Nov 2015 22:19:57 +0000</pubDate>
			<dc:creator>mavheart</dc:creator>
			<guid isPermaLink="false">5326@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Brad,&#60;/p&#62;
&#60;p&#62;the new version does not seem to solve the issue. I would be glad if you took a look at my code :)&#60;/p&#62;
&#60;p&#62;Best regards,&#60;br /&#62;
Marvin&#60;/p&#62;
&#60;p&#62;clear all;&#60;/p&#62;
&#60;p&#62;DATA_CAST = 'double';&#60;br /&#62;
MASK_PLANE = 'xy';&#60;br /&#62;
USE_STATISTICS = true;&#60;/p&#62;
&#60;p&#62;PML_X_SIZE = 10;&#60;br /&#62;
PML_Y_SIZE = 10;&#60;/p&#62;
&#60;p&#62;Nx = 100;&#60;br /&#62;
Ny = 100;&#60;/p&#62;
&#60;p&#62;c_water		= 1500;	% [m/s]&#60;br /&#62;
c_plastic	= 2230;	% [m/s]&#60;br /&#62;
c_poly		= 1560;	% [m/s]&#60;br /&#62;
c_air		= 343;	% [m/s] @ 20°C&#60;/p&#62;
&#60;p&#62;rho_water	= 998; 	% [kg/m^3]&#60;br /&#62;
rho_plastic	= 1330;	% [kg/m^3]&#60;br /&#62;
rho_poly	= 1100;	% [kg/m^3]&#60;br /&#62;
rho_air		= 1.22;	% [kg/m^3]&#60;/p&#62;
&#60;p&#62;freq = 15e3;	% [Hz]&#60;/p&#62;
&#60;p&#62;lambda = c_water/freq;&#60;/p&#62;
&#60;p&#62;x = 1;&#60;/p&#62;
&#60;p&#62;dx = x/Nx;                  % [m]&#60;br /&#62;
dy = dx;                    % [m]&#60;/p&#62;
&#60;p&#62;kgrid = makeGrid(Nx, dx, Ny, dy);&#60;/p&#62;
&#60;p&#62;tr_pos = [round(0.5*Nx), round(0.5*Ny)];&#60;br /&#62;
tr_rad = 10.8e-2/(2);&#60;/p&#62;
&#60;p&#62;tr_pos_abs = [tr_pos(1)*dx, tr_pos(2)*dy]&#60;/p&#62;
&#60;p&#62;ITC = makeDisc(Nx, Ny, tr_pos(1), tr_pos(2), round(tr_rad/dx));&#60;/p&#62;
&#60;p&#62;medium.sound_speed_compression	= c_water*ones(Nx, Ny);&#60;br /&#62;
medium.sound_speed_shear	= zeros(Nx, Ny);&#60;br /&#62;
medium.density 			= rho_water*ones(Nx, Ny);&#60;/p&#62;
&#60;p&#62;t_end = 10e-4;                  % [s]&#60;/p&#62;
&#60;p&#62;kgrid.t_array = makeTime(kgrid, c_water*1.5);&#60;/p&#62;
&#60;p&#62;delta_t = kgrid.t_array(2) - kgrid.t_array(1);&#60;/p&#62;
&#60;p&#62;ncycles = 2;&#60;/p&#62;
&#60;p&#62;input_signal = toneBurst(1/delta_t, freq, ncycles);&#60;/p&#62;
&#60;p&#62;source.sxx = input_signal;&#60;br /&#62;
source.syy = input_signal;&#60;/p&#62;
&#60;p&#62;source.s_mask = ITC;&#60;/p&#62;
&#60;p&#62;sensor.mask = zeros(Nx, Ny);&#60;br /&#62;
sensor.mask(50, 100) = 1;&#60;/p&#62;
&#60;p&#62;input_args = {'PlotScale', 'auto','PMLSize', [PML_X_SIZE, PML_Y_SIZE],...&#60;br /&#62;
     'DataCast', DATA_CAST, 'DataRecast', true,'PlotPML', true};&#60;/p&#62;
&#60;p&#62;sensor_data = pstdElastic2D(kgrid, medium, source, sensor, input_args{:});
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "Transition from sound in liquids to solids"</title>
			<link>http://www.k-wave.org/forum/topic/transition-from-sound-in-liquids-to-solids#post-5321</link>
			<pubDate>Tue, 24 Nov 2015 15:20:50 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">5321@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Marvin,&#60;/p&#62;
&#60;p&#62;That certainly sounds suspicious. If you post your code, I can take a look.&#60;/p&#62;
&#60;p&#62;Also, have you updated to k-Wave version 1.1.1? This corrected a bug in the &#60;code&#62;pstdElastic&#60;/code&#62;codes that might affect stability. &#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mavheart on "Transition from sound in liquids to solids"</title>
			<link>http://www.k-wave.org/forum/topic/transition-from-sound-in-liquids-to-solids#post-5314</link>
			<pubDate>Tue, 17 Nov 2015 23:26:33 +0000</pubDate>
			<dc:creator>mavheart</dc:creator>
			<guid isPermaLink="false">5314@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Brad!&#60;/p&#62;
&#60;p&#62;Thank you for your reply. I used a test simulation in 2D to have a look at the behaviour of pstdElastic for liquids before applying it to more complex volumes and I encountered a problem:&#60;/p&#62;
&#60;p&#62;I put a stress source (disc) into a grid of water. Then I created a burst signal and applied it to the source like this:&#60;/p&#62;
&#60;p&#62;source.sxx = input_signal;&#60;br /&#62;
source.syy = input_signal;&#60;/p&#62;
&#60;p&#62;It looked like it would work fine - I was trying to achieve homogenous radiation - but as the pressure waves reached the corners of my grid, everything inside the medium but the PML seemed to explode, reaching high pressure values. Is there a way to mess up your PML so that this happens? I tried turning it off and it was a completely different result.&#60;/p&#62;
&#60;p&#62;Thanks for your help!&#60;/p&#62;
&#60;p&#62;Marvin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "Transition from sound in liquids to solids"</title>
			<link>http://www.k-wave.org/forum/topic/transition-from-sound-in-liquids-to-solids#post-5289</link>
			<pubDate>Fri, 23 Oct 2015 10:04:11 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">5289@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Marvin,&#60;/p&#62;
&#60;p&#62;To do this, you can use the &#60;code&#62;pstdElastic&#60;/code&#62; functions and set the shear properties in the fluid part of the domain to zero. There is an example of this included in the toolbox (see &#60;a href=&#34;http://www.k-wave.org/documentation/example_ewp_layered_medium.php&#34;&#62;here&#60;/a&#62;).&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mavheart on "Transition from sound in liquids to solids"</title>
			<link>http://www.k-wave.org/forum/topic/transition-from-sound-in-liquids-to-solids#post-5283</link>
			<pubDate>Thu, 22 Oct 2015 20:43:55 +0000</pubDate>
			<dc:creator>mavheart</dc:creator>
			<guid isPermaLink="false">5283@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hello!&#60;/p&#62;
&#60;p&#62;I'm interested in sound propagation from liquid to solid and vice versa.&#60;br /&#62;
I understand the new functions pstdElastic are meant for solids while kSpaceFirstOrder is meant for liquids. Is there a way built in to have those simulations interact in a way that allows for pressure or stress waves to travel from one to the other?&#60;/p&#62;
&#60;p&#62;Thank you very much for this powerful toolbox!&#60;/p&#62;
&#60;p&#62;Marvin Willam
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
