hi everybody,
I want to perform a simulation in which i have two mediums of different acoustic impedances.
I want to see the beam profile when a sound wave from a single (large) round ultrasound transducer will emit and recieve the beam. What will be the beam behaviour at the interface of the two media.(in case of refraction i mean)
k-Wave
A MATLAB toolbox for the time-domain
simulation of acoustic wave fields
Medium properties
(6 posts) (2 voices)-
Posted 4 years ago #
-
Hi viku361,
You could take a look at the Snell's Law And Critical Angle Reflection Example as a starting point. Open this in the MATLAB help browser to run and edit the code.
Brad.
Posted 4 years ago # -
hi brad,
I want to form an interface which will be formed by two different mediums. And that interface can be tilted. How will i form the interface? Please suggest me @ vivekraj361@gmail.comPosted 4 years ago # -
Hi viku361,
The medium properties are just MATLAB matrices, so you can define them using any way you like. One way to make a tilted half space would be:
% draw line line = makeLine(50, 50, [20, 1], [40, 50]); % find where line starts in each column [line_start, ~] = find(line); % fill it in for ind = 1:50 line(line_start(ind):end, ind) = 1; end % plot figure; imagesc(line);
Note, there are almost certainly more efficient ways to do this.
Brad.
Posted 4 years ago # -
Hello Sir, How can I create a spherical interface for two heterogeneous mediums?
Posted 4 years ago #
Reply
You must log in to post.