<?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: Simulating two 3MHz divergent transducers in 3D</title>
		<link>http://www.k-wave.org/forum/topic/simulating-two-3mhz-divergent-transducers-in-3d</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 00:52:46 +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/simulating-two-3mhz-divergent-transducers-in-3d" rel="self" type="application/rss+xml" />

		<item>
			<title>yguo on "Simulating two 3MHz divergent transducers in 3D"</title>
			<link>http://www.k-wave.org/forum/topic/simulating-two-3mhz-divergent-transducers-in-3d#post-3788</link>
			<pubDate>Wed, 17 Jul 2013 21:33:15 +0000</pubDate>
			<dc:creator>yguo</dc:creator>
			<guid isPermaLink="false">3788@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Wait, I think I did it!  Just took some playing around.  Thanks again!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>yguo on "Simulating two 3MHz divergent transducers in 3D"</title>
			<link>http://www.k-wave.org/forum/topic/simulating-two-3mhz-divergent-transducers-in-3d#post-3787</link>
			<pubDate>Wed, 17 Jul 2013 20:21:51 +0000</pubDate>
			<dc:creator>yguo</dc:creator>
			<guid isPermaLink="false">3787@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Ben,&#60;/p&#62;
&#60;p&#62;Thanks for your response!  I will give vector velocity sources a try.  I'm still a bit confused about the method for time series.  In the example you post, all source points in the source mask are set to a time varying input of 250kHz.  &#60;/p&#62;
&#60;p&#62;I've defined a binary source mask that places two parallel lines on the grid.  If I'm understanding correctly, in order to have one line's source input be a different frequency from the other line, I need to:&#60;br /&#62;
- figure out the indexing of my two lines in source.p, based on MATLAB's column-wise indexing&#60;br /&#62;
- create a matrix of time series for source.p that corresponds to the source point indexing&#60;/p&#62;
&#60;p&#62;Is this the right idea?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bencox on "Simulating two 3MHz divergent transducers in 3D"</title>
			<link>http://www.k-wave.org/forum/topic/simulating-two-3mhz-divergent-transducers-in-3d#post-3784</link>
			<pubDate>Tue, 16 Jul 2013 11:15:03 +0000</pubDate>
			<dc:creator>bencox</dc:creator>
			<guid isPermaLink="false">3784@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi yguo,&#60;/p&#62;
&#60;p&#62;You can define vector velocity sources, as well as pressure sources, so you can make the transmission directional. You can also apply a different time series to each source point in the grid. This is from the documentation:&#60;/p&#62;
&#60;p&#62;&#34;An initial pressure distribution can be specified by assigning a matrix (the same size as the computational grid) of arbitrary numeric values to &#60;code&#62;source.p0&#60;/code&#62;. A time varying pressure source can similarly be specified by assigning a binary matrix (i.e., a matrix of 1's and 0's with the same dimensions as the computational grid) to &#60;code&#62;source.p_mask&#60;/code&#62; where the 1's represent the grid points that form part of the source. The time varying input signals are then assigned to &#60;code&#62;source.p&#60;/code&#62;. This must be the same length as &#60;code&#62;kgrid.t_array&#60;/code&#62; and can be a single time series (in which case it is applied to all source elements), or a matrix of time series following the source elements using MATLAB's standard column-wise linear matrix index ordering. A time varying velocity source can be specified in an analogous fashion, where the source location is specified by &#60;code&#62;source.u_mask&#60;/code&#62;, and the time varying input velocity is assigned to &#60;code&#62;source.ux&#60;/code&#62;, &#60;code&#62;source.uy&#60;/code&#62;, and &#60;code&#62;source.uz&#60;/code&#62;.&#34;&#60;/p&#62;
&#60;p&#62;You change the frequency of the source by changing the time series allocated to &#60;code&#62;source.p&#60;/code&#62;, &#60;code&#62;source.ux&#60;/code&#62;, etc. See for example &#60;a href=&#34;http://www.k-wave.org/documentation/example_tvsp_homogeneous_medium_monopole.php&#34;&#62;this example&#60;/a&#62;. In fact, you're not even restricted to a single frequency, you can use any arbitrary time series you like.&#60;/p&#62;
&#60;p&#62;Good luck with your simulations!&#60;/p&#62;
&#60;p&#62;Ben
&#60;/p&#62;</description>
		</item>
		<item>
			<title>yguo on "Simulating two 3MHz divergent transducers in 3D"</title>
			<link>http://www.k-wave.org/forum/topic/simulating-two-3mhz-divergent-transducers-in-3d#post-3779</link>
			<pubDate>Mon, 15 Jul 2013 16:51:50 +0000</pubDate>
			<dc:creator>yguo</dc:creator>
			<guid isPermaLink="false">3779@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;Thank you for making this toolbox; it's been a lot of fun exploring the features.  I'm only about halfway through the tutorial now, but I figured it couldn't hurt to ask for help on my project.&#60;/p&#62;
&#60;p&#62;I'm attempting to model two single element 3MHz transducers in the shape of flattened domes (think of a circular cutout on the surface of a sphere).  They'll be angled towards each other about 30 degrees; I want to see their beam field patterns interact. I'm confident that I can create two sources in that shape and then place them in a 3D grid with a medium simulating soft tissue.&#60;/p&#62;
&#60;p&#62;However, I'm unclear about other aspects.  The sources I've tried making so far all emitting omnidirectional.  Is there a way I can limit sources to one direction, say using a vector, and have a limited degree of beam divergence?  Also, is there a way for me to change the frequency of one source?  I've only been able to program 3MHz from every source.&#60;/p&#62;
&#60;p&#62;Any insight into these questions would be very appreciated.&#60;/p&#62;
&#60;p&#62;Thank you kindly.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
