<?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: Acoustic wave propagation in Air-Solid</title>
		<link>http://www.k-wave.org/forum/topic/acoustic-wave-propagation-in-air-solid</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 15:01:20 +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/acoustic-wave-propagation-in-air-solid" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "Acoustic wave propagation in Air-Solid"</title>
			<link>http://www.k-wave.org/forum/topic/acoustic-wave-propagation-in-air-solid#post-6832</link>
			<pubDate>Wed, 10 Apr 2019 12:44:25 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">6832@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Sumo,&#60;/p&#62;
&#60;p&#62;Take a look &#60;a href=&#34;http://www.k-wave.org/forum/topic/simulation-of-ultrasonic-testing-borehole-in-solid#post-6473&#34;&#62;at this post&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;Let me know if you're still stuck.&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sumo on "Acoustic wave propagation in Air-Solid"</title>
			<link>http://www.k-wave.org/forum/topic/acoustic-wave-propagation-in-air-solid#post-6788</link>
			<pubDate>Mon, 18 Mar 2019 15:05:07 +0000</pubDate>
			<dc:creator>Sumo</dc:creator>
			<guid isPermaLink="false">6788@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I am trying to simulate a acoustic wave propagation in heterogeneous media(air-solid) with time varying source (consisting of multiple frequencies). The air is considered to be inviscid and medium don't have any absorption coefficient. While using the code-snippet below- I am getting a values inside the solid at the center, though the wave has not reached there yet. I don't know whether the solution is coming out to be unstable or there are some problem with my parameters. Could you please help me with that?&#60;/p&#62;
&#60;p&#62;% create the computational grid&#60;br /&#62;
Nx = 128;           % number of grid points in the x (row) direction&#60;br /&#62;
Ny = 128;           % number of grid points in the y (column) direction&#60;br /&#62;
dx = 0.1e-3;        % grid point spacing in the x direction [m]&#60;br /&#62;
dy = 0.1e-3;        % grid point spacing in the y direction [m]&#60;br /&#62;
kgrid = kWaveGrid(Nx, dx, Ny, dy);&#60;/p&#62;
&#60;p&#62;% define the properties of the upper layer of the propagation medium&#60;br /&#62;
medium.sound_speed_compression = 343* ones(Nx, Ny);   % [m/s]&#60;br /&#62;
medium.sound_speed_shear       = zeros(Nx, Ny);         % [m/s]&#60;br /&#62;
medium.density                 = 1.225 * ones(Nx, Ny);   % [kg/m^3]&#60;/p&#62;
&#60;p&#62;% define the properties of the lower layer of the propagation medium&#60;br /&#62;
medium.sound_speed_compression(Nx/2:end, :) = 3000;     % [m/s]&#60;br /&#62;
medium.sound_speed_shear(Nx/2:end, :)       = 800;      % [m/s]&#60;br /&#62;
medium.density(Nx/2:end, :)                 = 1200;     % [kg/m^3]&#60;/p&#62;
&#60;p&#62;% create the time array&#60;br /&#62;
cfl   = 0.1;    % Courant-Friedrichs-Lewy number&#60;br /&#62;
t_end = 1e-3;   % [s]&#60;br /&#62;
kgrid.makeTime(max(medium.sound_speed_compression(:)), cfl, t_end);&#60;/p&#62;
&#60;p&#62;%Time varying source&#60;br /&#62;
source.s_mask = zeros(Nx, Ny);&#60;br /&#62;
source.s_mask(Nx/4, Ny/2) = 1;&#60;/p&#62;
&#60;p&#62;% define a time varying sinusoidal source&#60;br /&#62;
source_freq1 = 1e5;   % [Hz]&#60;br /&#62;
source_freq2 = 5e5;   % [Hz]&#60;/p&#62;
&#60;p&#62;source.sxx = 0.2*sin(2 * pi * source_freq1 * kgrid.t_array)+0.8*sin(2 * pi * source_freq2 * kgrid.t_array);&#60;br /&#62;
source.syy = 0.2*sin(2 * pi * source_freq1 * kgrid.t_array)+0.8*sin(2 * pi * source_freq2 * kgrid.t_array);&#60;/p&#62;
&#60;p&#62;% define a sensor&#60;br /&#62;
 sensor.mask = zeros(Nx, Ny);&#60;br /&#62;
 sensor.mask(end-Nx/4, Ny/2) = 1;&#60;br /&#62;
%&#60;br /&#62;
% % define the acoustic parameters to record&#60;br /&#62;
 sensor.record = {'p', 'p_final'};&#60;/p&#62;
&#60;p&#62;% define a custom display mask showing the position of the interface from&#60;br /&#62;
% the fluid side&#60;br /&#62;
display_mask = false(Nx, Ny);&#60;br /&#62;
display_mask(Nx/2 - 1, :) = 1;&#60;/p&#62;
&#60;p&#62;% define input arguments&#60;br /&#62;
input_args = { 'PlotPML', true,...&#60;br /&#62;
     'DataCast', 'gpuArray-single'};&#60;/p&#62;
&#60;p&#62;% run the simulation&#60;br /&#62;
sensor_data = pstdElastic2D(kgrid, medium, source, sensor, input_args{:});&#60;/p&#62;
&#60;p&#62;% reorder the simulation data&#60;br /&#62;
sensor_data_reordered = reorderSensorData(kgrid, sensor, sensor_data);
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
