<?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; User Favorites: Guillermo Roa</title>
		<link><a href='http://www.k-wave.org/forum/profile/guillermo-roa'>guillermo-roa</a></link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 23:08:59 +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/profile/" rel="self" type="application/rss+xml" />

		<item>
			<title>biaojiang on "Nondestructive Testing (NDT) using ultrasound propagation"</title>
			<link>http://www.k-wave.org/forum/topic/nondestructive-testing-ndt-using-ultrasound-propagation#post-6313</link>
			<pubDate>Tue, 06 Mar 2018 16:14:20 +0000</pubDate>
			<dc:creator>biaojiang</dc:creator>
			<guid isPermaLink="false">6313@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hello, all,&#60;/p&#62;
&#60;p&#62;   I tried to simulate NDT also. When the impedence contrast is too large, like Aluminum or steel, even putting it in water (immersion mode), and set CFL=0.1 (default is 0.3), the k-Wave results are still not as expected. So I can only reduce the material sound speed and density so that they are not too bigger than those of water, then the results are OK.&#60;/p&#62;
&#60;p&#62;Best&#60;br /&#62;
Biao
&#60;/p&#62;</description>
		</item>
		<item>
			<title>RAHUL2011 on "Nondestructive Testing (NDT) using ultrasound propagation"</title>
			<link>http://www.k-wave.org/forum/topic/nondestructive-testing-ndt-using-ultrasound-propagation#post-125</link>
			<pubDate>Thu, 24 Mar 2011 09:37:30 +0000</pubDate>
			<dc:creator>RAHUL2011</dc:creator>
			<guid isPermaLink="false">125@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;hello friends,&#60;br /&#62;
i am trying to simulate ultrasound in aluminum using focused probe.&#60;br /&#62;
i wanted to know that is it possible to include elastic properties of material using k-wave toolbox.&#60;br /&#62;
because if it is not included shear wave will not be visualized ....&#60;/p&#62;
&#60;p&#62;plzzz help
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Guillermo Roa on "Nondestructive Testing (NDT) using ultrasound propagation"</title>
			<link>http://www.k-wave.org/forum/topic/nondestructive-testing-ndt-using-ultrasound-propagation#post-95</link>
			<pubDate>Sat, 29 Jan 2011 19:48:50 +0000</pubDate>
			<dc:creator>Guillermo Roa</dc:creator>
			<guid isPermaLink="false">95@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi again;&#60;/p&#62;
&#60;p&#62;I ran my example successfully, i'm still having problems posting images, so here are the url's:&#60;/p&#62;
&#60;p&#62;1) The model:&#60;br /&#62;
The model was a cross-section of a concrete column measuring 20 cm on each side, 8 reinforcements of steel and 1 inch of diameter were disposed, a PML of 20 pixels were defined all around the column:&#60;br /&#62;
link: &#60;a href=&#34;http://img163.imageshack.us/i/modelod.jpg/&#34; rel=&#34;nofollow&#34;&#62;http://img163.imageshack.us/i/modelod.jpg/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;2) The Source:&#60;br /&#62;
because in the faces x and z and along them the ultrasound source is going to be fired, i considered two sources and i set them just in the border of the column, one on the x face and the other on the Z face;&#60;br /&#62;
The ultrasound has a freq of 2 MHz and magnitude 0.4&#60;/p&#62;
&#60;p&#62;3) The sensors:&#60;br /&#62;
Two sensors were disposed of the same size and oposite to the two sources.&#60;/p&#62;
&#60;p&#62;4) Simulation results:&#60;br /&#62;
Those are the images resulting from the reconstruction using time reversal&#60;/p&#62;
&#60;p&#62;link 2: &#60;a href=&#34;http://img218.imageshack.us/i/resultado1d.jpg/&#34; rel=&#34;nofollow&#34;&#62;http://img218.imageshack.us/i/resultado1d.jpg/&#60;/a&#62;&#60;br /&#62;
link 3: &#60;a href=&#34;http://img89.imageshack.us/i/resultado2.jpg/&#34; rel=&#34;nofollow&#34;&#62;http://img89.imageshack.us/i/resultado2.jpg/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;5) Image processing:&#60;/p&#62;
&#60;p&#62;Finally i filtered the image from time reversal in order to identify the reinforcements&#60;/p&#62;
&#60;p&#62;link 4: &#60;a href=&#34;http://img211.imageshack.us/i/filtroident.jpg/&#34; rel=&#34;nofollow&#34;&#62;http://img211.imageshack.us/i/filtroident.jpg/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;so i'll wait further comments about my example;&#60;/p&#62;
&#60;p&#62;Thanks;&#60;/p&#62;
&#60;p&#62;Kind regards
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Guillermo Roa on "Nondestructive Testing (NDT) using ultrasound propagation"</title>
			<link>http://www.k-wave.org/forum/topic/nondestructive-testing-ndt-using-ultrasound-propagation#post-93</link>
			<pubDate>Wed, 05 Jan 2011 01:57:14 +0000</pubDate>
			<dc:creator>Guillermo Roa</dc:creator>
			<guid isPermaLink="false">93@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi;&#60;/p&#62;
&#60;p&#62;In the last code that i posted i improved a few things:&#60;/p&#62;
&#60;p&#62;* dx and dz values were defined as (speed_of_sound/freq)/2&#60;br /&#62;
* i set the mask sensor just in the border of the column, with 3 sensors as you can see in the step 3 of my preview post&#60;br /&#62;
* the source of the ultrasound pulse were set just in the border of the column&#60;/p&#62;
&#60;p&#62;With those changes the simulation ran with better results.&#60;/p&#62;
&#60;p&#62;Now, i have a few questions:&#60;/p&#62;
&#60;p&#62;1) It is possible to make an image reconstruction of the medium with the data acquired  by the sensors in the way that those were set in the code?&#60;br /&#62;
2) It is possible to use the algorithm of the toolbox (either fft or time-reversal) in order to obtain an approximation image for the medium?&#60;/p&#62;
&#60;p&#62;I appreciate your help, thanks;&#60;/p&#62;
&#60;p&#62;Guillermo
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "Nondestructive Testing (NDT) using ultrasound propagation"</title>
			<link>http://www.k-wave.org/forum/topic/nondestructive-testing-ndt-using-ultrasound-propagation#post-92</link>
			<pubDate>Tue, 04 Jan 2011 03:49:55 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">92@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Guillermo, did you manage to run your example successfully or are you still having problems?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Guillermo Roa on "Nondestructive Testing (NDT) using ultrasound propagation"</title>
			<link>http://www.k-wave.org/forum/topic/nondestructive-testing-ndt-using-ultrasound-propagation#post-89</link>
			<pubDate>Sat, 01 Jan 2011 20:09:02 +0000</pubDate>
			<dc:creator>Guillermo Roa</dc:creator>
			<guid isPermaLink="false">89@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;thanks for fix the images.&#60;/p&#62;
&#60;p&#62;I apreciate for your comments about the code and your suggestions for my questions. &#60;/p&#62;
&#60;p&#62;kind regards;&#60;/p&#62;
&#60;p&#62;Guillermo
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Guillermo Roa on "Nondestructive Testing (NDT) using ultrasound propagation"</title>
			<link>http://www.k-wave.org/forum/topic/nondestructive-testing-ndt-using-ultrasound-propagation#post-85</link>
			<pubDate>Wed, 08 Dec 2010 01:56:48 +0000</pubDate>
			<dc:creator>Guillermo Roa</dc:creator>
			<guid isPermaLink="false">85@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Sorry about the images; those are the url's following the order of my post: &#60;/p&#62;
&#60;p&#62;1)http://img255.imageshack.us/i/step1q0.jpg/&#60;br /&#62;
2)http://img37.imageshack.us/i/step2u.jpg/&#60;br /&#62;
3)http://img52.imageshack.us/i/step3pn.jpg/&#60;br /&#62;
4)http://img17.imageshack.us/i/step4v0.jpg/&#60;br /&#62;
5)http://img525.imageshack.us/i/step5y.jpg/&#60;/p&#62;
&#60;p&#62;by the way, i've tried to found you on facebook but i don't see the picture that you show on your page...&#60;/p&#62;
&#60;p&#62;[ADMIN EDIT: I've fixed your links above, for imageshack you need to use the direct link to the image to embed them in forum]
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bencox on "Nondestructive Testing (NDT) using ultrasound propagation"</title>
			<link>http://www.k-wave.org/forum/topic/nondestructive-testing-ndt-using-ultrasound-propagation#post-84</link>
			<pubDate>Wed, 08 Dec 2010 01:45:28 +0000</pubDate>
			<dc:creator>bencox</dc:creator>
			<guid isPermaLink="false">84@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;On your point (1), the dx and dz are the pixel dimensions measured in metres, but they must also be smaller than half the shortest wavelength.&#60;/p&#62;
&#60;p&#62;Your pictures don't seem to have appeared on the forum. Can you try and put them on again?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Ben
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Guillermo Roa on "Nondestructive Testing (NDT) using ultrasound propagation"</title>
			<link>http://www.k-wave.org/forum/topic/nondestructive-testing-ndt-using-ultrasound-propagation#post-83</link>
			<pubDate>Sun, 05 Dec 2010 19:14:01 +0000</pubDate>
			<dc:creator>Guillermo Roa</dc:creator>
			<guid isPermaLink="false">83@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Thanks for the answer;&#60;/p&#62;
&#60;p&#62;respect your points:&#60;/p&#62;
&#60;p&#62;1) i took note for the data dx and dz; in the help, it says that dx and dz are the dimensions of each pixel of the matrix given in Meters. But now with your help i know that it corresponds to the wavelenght, changing this value the simulation improves its result.&#60;/p&#62;
&#60;p&#62;2) You confirm my fear, the contrast between the two mediums is quite large, but i can not change the enviroment medium (air).&#60;/p&#62;
&#60;p&#62;3) setting the correct values of dx and dz, the source and waves are now visibles.&#60;/p&#62;
&#60;p&#62;4) hehehe excuse me, but english is not my mother language, i used the expression 'crash into the section' trying to explain that it seems that the column resonates.&#60;/p&#62;
&#60;p&#62;Now, i made a few changes in the model to simulate:&#60;/p&#62;
&#60;p&#62;a) i don't need that the waves that comes into the column can go out. I can define a square mask sensor just in the border of the structure and make the measurement of the waves at this point.&#60;/p&#62;
&#60;p&#62;So i made another code lines and the results of the simulation are quite better;&#60;/p&#62;
&#60;p&#62;I send you the images step by step about what i´m doing (i feels i'm talking with a strong broken english and images are better that 1000 words hehehe) also the new code:&#60;/p&#62;
&#60;p&#62;step 1:&#60;/p&#62;
&#60;p&#62;MODEL IDEA:&#60;br /&#62;
I set only three lines for the square sensor mask, in order to avoid measuring the initial pressure.&#60;br /&#62;
&#60;img src=&#34;http://img255.imageshack.us/img255/8146/step1q0.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62;Step 2:&#60;/p&#62;
&#60;p&#62;MODEL IN CODE LINES:&#60;br /&#62;
&#60;img src=&#34;http://img37.imageshack.us/img37/2272/step2u.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62;Step 3:&#60;/p&#62;
&#60;p&#62;SIMULATE&#60;br /&#62;
&#60;img src=&#34;http://img52.imageshack.us/img52/5687/step3pn.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62;Step 4:&#60;/p&#62;
&#60;p&#62;WHAT I CAN SEE (INTERPRETATE THE WAVES)&#60;br /&#62;
&#60;img src=&#34;http://img525.imageshack.us/img525/9813/step5y.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62;Step 5: (Question 1)&#60;/p&#62;
&#60;p&#62;MESUREMENT OF THE SIGNAL WITH SENSORS&#60;br /&#62;
How can i interpretate this graphic?&#60;/p&#62;
&#60;p&#62;&#60;img src=&#34;http://img17.imageshack.us/img17/3840/step4v0.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62;Finally i send you the code, i appreciate further comments and suggestions, thank you.&#60;/p&#62;
&#60;p&#62;%% hacer la grilla (make the grid)&#60;br /&#62;
Nx=200; % pixeles en x (columna)&#60;br /&#62;
Nz=200; % pixeles en z (fila)&#60;br /&#62;
dx=0.1715e-3; %from 343/2e6&#60;br /&#62;
dz=0.1715e-3;&#60;br /&#62;
kgrid = makeGrid(Nx, dx, Nz, dz);&#60;br /&#62;
%% modelo a simular (model of mediums)&#60;/p&#62;
&#60;p&#62;% % % % % % % % % % % % % % % % %&#60;br /&#62;
% ' - - - - - - - - - - - - - ' %&#60;br /&#62;
% ' 0 0 0 0 0 0 0 0 0 0 0 0 0 ' %&#60;br /&#62;
% ' 0 0 0 0 0 0 0 0 0 0 0 0 0 ' %&#60;br /&#62;
% ' 0 0 + + 0 0 0 0 0 + + 0 0 ' %&#60;br /&#62;
% ' 0 0 + + 0 0 0 0 0 + + 0 0 ' %&#60;br /&#62;
% ' 0 0 0 0 0 0 0 0 0 0 0 0 0 ' %&#60;br /&#62;
% ' 0 0 0 0 0 0 0 0 0 0 0 0 0 ' %&#60;br /&#62;
% ' 0 0 0 0 0 0 0 0 0 0 0 0 0 ' %&#60;br /&#62;
% ' 0 0 0 0 0 0 0 0 0 0 0 0 0 ' %&#60;br /&#62;
% ' 0 0 0 0 0 0 0 0 0 0 0 0 0 ' %&#60;br /&#62;
% ' 0 0 + + 0 0 0 0 0 + + 0 0 ' %&#60;br /&#62;
% ' 0 0 + + 0 0 0 0 0 + + 0 0 ' %&#60;br /&#62;
% ' 0 0 0 0 0 0 0 0 0 0 0 0 0 ' %&#60;br /&#62;
% ' 0 0 0 0 0 0 0 0 0 0 0 0 0 ' %&#60;br /&#62;
% % % % % % % % S % % % % % % % %&#60;br /&#62;
% % % % % % % % % % % % % % % % % &#60;/p&#62;
&#60;p&#62;% %=air (density: 1.18 Kg/m3) (speed of sound 343 m/s)&#60;br /&#62;
% 0=concrete (density 2800 kg/m3) (speed of sound 4000 m/s)&#60;br /&#62;
% +=steel (density 7850 kg/m3) (speed of sound 5100 m/s)&#60;br /&#62;
% ' sensors&#60;br /&#62;
% S source of sound&#60;br /&#62;
%% construct the medium&#60;br /&#62;
%% speed of sound (air %)&#60;br /&#62;
medium.sound_speed = 343*ones(Nz, Nx); % [m/s]&#60;br /&#62;
%% speed of sound (concrete 0)&#60;br /&#62;
medium.sound_speed(Nz/8:(7*Nz/8),Nz/8:(7*Nz/8)) = 4000;   % [m/s]&#60;br /&#62;
%% speed of sound (4 reinforcements, steel +)&#60;br /&#62;
medium.sound_speed((2*Nz/8):(3*Nz/8),(2*Nz/8):(3*Nz/8)) = 5100;   % [m/s]&#60;br /&#62;
medium.sound_speed((2*Nz/8):(3*Nz/8),(5*Nz/8):(6*Nz/8)) = 5100;   % [m/s]&#60;br /&#62;
medium.sound_speed((5*Nz/8):(6*Nz/8),(2*Nz/8):(3*Nz/8)) = 5100;   % [m/s]&#60;br /&#62;
medium.sound_speed((5*Nz/8):(6*Nz/8),(5*Nz/8):(6*Nz/8)) = 5100;   % [m/s]&#60;br /&#62;
%% density (air %)&#60;br /&#62;
medium.density = 1.18*ones(Nz, Nx);     % [kg/m^3]&#60;br /&#62;
%% density (concrete 0)&#60;br /&#62;
medium.density(Nz/8:(7*Nz/8),Nz/8:(7*Nz/8)) = 2800;     % [kg/m^3]&#60;br /&#62;
%% density (4 reinforcements, steel +)&#60;br /&#62;
medium.density((2*Nz/8):(3*Nz/8),(2*Nz/8):(3*Nz/8)) = 7850;     % [kg/m^3]&#60;br /&#62;
medium.density((2*Nz/8):(3*Nz/8),(5*Nz/8):(6*Nz/8)) = 7850;     % [kg/m^3]&#60;br /&#62;
medium.density((5*Nz/8):(6*Nz/8),(2*Nz/8):(3*Nz/8)) = 7850;     % [kg/m^3]&#60;br /&#62;
medium.density((5*Nz/8):(6*Nz/8),(5*Nz/8):(6*Nz/8)) = 7850;     % [kg/m^3]&#60;br /&#62;
%% set the sensor mask -'&#60;br /&#62;
sensor.mask = zeros(kgrid.Nz, kgrid.Nx);&#60;br /&#62;
sensor.mask(Nz/8, Nz/8:(7*Nz/8)) = 1;&#60;br /&#62;
sensor.mask(Nz/8:(7*Nz/8),Nz/8) = 1;&#60;br /&#62;
sensor.mask(Nz/8:(7*Nz/8),(7*Nz/8)) = 1;&#60;br /&#62;
%% source of ultrasound, S&#60;br /&#62;
[kgrid.t_array dt] = makeTime(kgrid, medium.sound_speed);&#60;br /&#62;
% fuente de ultrasonido (source)&#60;br /&#62;
source.p_mask = zeros(Nz, Nx);&#60;br /&#62;
source.p_mask(176,100) = 5;&#60;br /&#62;
% señal (signal)&#60;br /&#62;
source_freq = 2e6;&#60;br /&#62;
source_mag = 4;&#60;br /&#62;
source.p = source_mag*sin(2*pi*source_freq*kgrid.t_array);&#60;br /&#62;
% suavizar fuente (smooth)&#60;br /&#62;
source.p = filterTimeSeries(kgrid, medium, source.p);&#60;br /&#62;
%% simular (run simulation)&#60;br /&#62;
[sensor_data p_final] = kspaceFirstOrder2D(kgrid, medium, source, sensor,'PlotLayout', true);&#60;br /&#62;
%% visualizar (visualization)&#60;br /&#62;
figure;&#60;br /&#62;
imagesc(sensor_data, [-1, 1]);&#60;br /&#62;
colormap(getColorMap);&#60;br /&#62;
ylabel('Sensor Position');&#60;br /&#62;
xlabel('Time Step');&#60;br /&#62;
colorbar;&#60;/p&#62;
&#60;p&#62;[ADMIN EDIT: fixed image links]
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bencox on "Nondestructive Testing (NDT) using ultrasound propagation"</title>
			<link>http://www.k-wave.org/forum/topic/nondestructive-testing-ndt-using-ultrasound-propagation#post-82</link>
			<pubDate>Fri, 03 Dec 2010 11:28:08 +0000</pubDate>
			<dc:creator>bencox</dc:creator>
			<guid isPermaLink="false">82@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Guillermo,&#60;/p&#62;
&#60;p&#62;There are a few separate issues here.&#60;/p&#62;
&#60;p&#62;1) A frequency of 2MHz has a wavelength in air of 343/2e6 = 0.17 mm so for the grid to support this frequency dx and dz must be half this size at most (there must be at least 2 points per wavelength).&#60;/p&#62;
&#60;p&#62;2) There is a very large contrast between air and concrete. Fourier-based methods such as k-Wave are very good when everything is smooth and the contrasts are not too big - the code was originally designed for modelling ultrasound in biological tissue where the contrasts are low - but for a large contrast they can accumulate oscillatory errors due to the fact that steep edges cannot be represented very well by a small number of Fourier components. Smoothing the density and sound_speed using the smooth function (which happens automatically in version 0.2) and keeping the timestep small by setting a small value for CFL in makeTime will help reduce this, but not eliminate when the contrast is this severe. Unfortunately your example is almost the worse case possible for k-Wave. Could you put your column in water? That should work better (although the contrast is still quite large).&#60;/p&#62;
&#60;p&#62;3) The default scaling is fixed in version 0.2, so adjust your source magnitude so you can see the wave, or use the 'PlotScale' option in kspaceFirstOrder2D. The amplitude of the wave in the air and in the concrete will be quite different because of their different material properties. The pressure (which is what k-Wave plots) will be higher in the concrete because the density is so much greater.&#60;/p&#62;
&#60;p&#62;4) I'm not sure what you mean by 'crash into the section' but any waves that do penetrate the concrete will become trapped in there because the transmission coefficient from concrete to air will be so low (less than 1% transmission I would guess, but you can calculate it simply enough). &#60;/p&#62;
&#60;p&#62;Thank you for using k-Wave and I'm sorry that it perhaps isn't the best tool for your particular example.&#60;/p&#62;
&#60;p&#62;Kind regards,&#60;/p&#62;
&#60;p&#62;Ben
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Guillermo Roa on "Nondestructive Testing (NDT) using ultrasound propagation"</title>
			<link>http://www.k-wave.org/forum/topic/nondestructive-testing-ndt-using-ultrasound-propagation#post-81</link>
			<pubDate>Thu, 02 Dec 2010 21:51:16 +0000</pubDate>
			<dc:creator>Guillermo Roa</dc:creator>
			<guid isPermaLink="false">81@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Good day;&#60;/p&#62;
&#60;p&#62;I'm Ingeneering student and nowadays I'm working on my Bachelor's thesis.&#60;br /&#62;
I need to do a simulation of the ultrasound propagation across a square section (2D) that represents a column of concrete with its reinforcements in order to generate an image reconstruction of the column based on the ultrasound propagation.&#60;/p&#62;
&#60;p&#62;I began to use the K-WAVE toolbox, the first step, like the examples, is to &#34;construct&#34; the k-grid and to define the medium properties (speed of sound and density).&#60;/p&#62;
&#60;p&#62;The medium in my case is composed by: air (that represents the enviroment and where the source of the ultrasound is going to be set), concrete (square section of the column) and steel (square or circular sections that are allowed into the square section of the column representing the reinforcements) giving a model for a Heterogeneous Propagation Medium.&#60;/p&#62;
&#60;p&#62;As i said, i started defining the medium, i set a simple model avoiding the reinforcements, only the air and in its middle a concrete section were defined with the following data:  concrete density: 2730(kg/m3)&#60;br /&#62;
                 concrete (speed of sound): 4000(m/s)&#60;br /&#62;
                 air density: 1.18(kg/m3)&#60;br /&#62;
                 air (speed of sound): 343(m/s)&#60;/p&#62;
&#60;p&#62; The medium in my case is composed by: 1.air (that represents the enviroment), 2.concrete (square section of the column) and 3.steel (square or circular sections that represents the reinforcements are allowed into the square section of the column).&#60;/p&#62;
&#60;p&#62;As i said, i started setting the properties of the medium, in this first attemp, i set only air as enviroment and concrete with stone as the column, avoiding the reinforcement.&#60;/p&#62;
&#60;p&#62;Then i set the ultrasound source and the sensors, then i started the simulation.&#60;/p&#62;
&#60;p&#62;So, here´s my problem, when the simulation starts, the source of ultrasound doesn´t appear, and in other cases, the waves of sound enter into the square section but they don´t go out, instead, they began to crash into the section.&#60;/p&#62;
&#60;p&#62;I apreciate that you help me with this problem or telling me what is wrong. I send you the code, thank you!!&#60;/p&#62;
&#60;p&#62;'%% crear k grid&#60;br /&#62;
Nx=200;&#60;br /&#62;
Nz=200;&#60;br /&#62;
dx=1;&#60;br /&#62;
dz=1;&#60;br /&#62;
kgrid = makeGrid(Nx, dx, Nz, dz);&#60;br /&#62;
%% grid of air (enviroment) (speed of sound)&#60;br /&#62;
for i=1:Nz&#60;br /&#62;
    for j=1:Nx-150&#60;br /&#62;
        medium.sound_speed(i,j) = 343;&#60;br /&#62;
    end&#60;br /&#62;
end&#60;br /&#62;
for i=1:Nz-150&#60;br /&#62;
    for j=Nx-150:Nx&#60;br /&#62;
        medium.sound_speed(i,j) = 343;&#60;br /&#62;
    end&#60;br /&#62;
end&#60;br /&#62;
for i=Nz-49:Nz&#60;br /&#62;
    for j=Nx-150:Nx&#60;br /&#62;
        medium.sound_speed(i,j) = 343;&#60;br /&#62;
    end&#60;br /&#62;
end&#60;br /&#62;
for i=Nz-150:Nz&#60;br /&#62;
    for j=Nx-49:Nx&#60;br /&#62;
        medium.sound_speed(i,j) = 343;&#60;br /&#62;
    end&#60;br /&#62;
end&#60;br /&#62;
%% grid of the square section (concrete (4000) and stone (3700)) (speed of sound)&#60;br /&#62;
for i=Nz-149:Nz-50&#60;br /&#62;
    for j=Nx-149:Nx-50&#60;br /&#62;
        if rem((i+j),2)~=0&#60;br /&#62;
            medium.sound_speed(i,j) = 4000;&#60;br /&#62;
        end&#60;br /&#62;
    end&#60;br /&#62;
end&#60;/p&#62;
&#60;p&#62;for i=Nz-149:Nz-50&#60;br /&#62;
    for j=Nx-149:Nx-50&#60;br /&#62;
        if rem((i+j),2)==0&#60;br /&#62;
            medium.sound_speed(i,j) = 3700;&#60;br /&#62;
        end&#60;br /&#62;
   end&#60;br /&#62;
end&#60;br /&#62;
%% grid of air (enviroment) (density)&#60;br /&#62;
for i=1:Nz&#60;br /&#62;
    for j=1:Nx-150&#60;br /&#62;
        medium.density(i,j) = 1.18;&#60;br /&#62;
    end&#60;br /&#62;
end&#60;br /&#62;
for i=1:Nz-150&#60;br /&#62;
    for j=Nx-150:Nx&#60;br /&#62;
        medium.density(i,j) = 1.18;&#60;br /&#62;
    end&#60;br /&#62;
end&#60;br /&#62;
for i=Nz-49:Nz&#60;br /&#62;
    for j=Nx-150:Nx&#60;br /&#62;
        medium.density(i,j) = 1.18;&#60;br /&#62;
    end&#60;br /&#62;
end&#60;br /&#62;
for i=Nz-150:Nz&#60;br /&#62;
    for j=Nx-49:Nx&#60;br /&#62;
        medium.density(i,j) = 1.18;&#60;br /&#62;
    end&#60;br /&#62;
end&#60;br /&#62;
%% grid of the square section (concrete (2800) and stone (2500)) (density)&#60;br /&#62;
for i=Nz-149:Nz-50&#60;br /&#62;
    for j=Nx-149:Nx-50&#60;br /&#62;
        if rem((i+j),2)~=0&#60;br /&#62;
            medium.density(i,j) = 2800;&#60;br /&#62;
        end&#60;br /&#62;
    end&#60;br /&#62;
end&#60;/p&#62;
&#60;p&#62;for i=Nz-149:Nz-50&#60;br /&#62;
    for j=Nx-149:Nx-50&#60;br /&#62;
        if rem((i+j),2)==0&#60;br /&#62;
            medium.density(i,j) = 2500;&#60;br /&#62;
        end&#60;br /&#62;
   end&#60;br /&#62;
end&#60;br /&#62;
%% sensors&#60;br /&#62;
sensor_radius = 90;&#60;br /&#62;
num_sensor_points = 500;&#60;br /&#62;
sensor.mask = makeCartCircle(sensor_radius, num_sensor_points);&#60;br /&#62;
%% ultrasonido&#60;br /&#62;
[kgrid.t_array dt] = makeTime(kgrid, medium.sound_speed);&#60;/p&#62;
&#60;p&#62;% source of ultrasound&#60;br /&#62;
source.p_mask = zeros(Nz, Nx);&#60;br /&#62;
source.p_mask(152, 100) = 1;&#60;/p&#62;
&#60;p&#62;% signal&#60;br /&#62;
source_freq = 2e6;&#60;br /&#62;
source_mag = 250;&#60;br /&#62;
source.p = source_mag*sin(2*pi*source_freq*kgrid.t_array);&#60;/p&#62;
&#60;p&#62;% smooth the source&#60;br /&#62;
%source.p = filterTimeSeries(kgrid, medium, source.p);&#60;/p&#62;
&#60;p&#62;% run the simulation&#60;br /&#62;
[sensor_data p_final] = kspaceFirstOrder2D(kgrid, medium, source, sensor,'PlotLayout', true);&#60;/p&#62;
&#60;p&#62;figure;&#60;br /&#62;
imagesc(sensor_data, [-1, 1]);&#60;br /&#62;
colormap(getColorMap);&#60;br /&#62;
ylabel('Sensor Position');&#60;br /&#62;
xlabel('Time Step');&#60;br /&#62;
colorbar;'
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
