<?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: pstdelastic2D simulation</title>
		<link>http://www.k-wave.org/forum/topic/pstdelastic2d-simulation</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Thu, 14 May 2026 20:14: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/pstdelastic2d-simulation" rel="self" type="application/rss+xml" />

		<item>
			<title>masud407 on "pstdelastic2D simulation"</title>
			<link>http://www.k-wave.org/forum/topic/pstdelastic2d-simulation#post-8864</link>
			<pubDate>Fri, 21 Jul 2023 20:56:32 +0000</pubDate>
			<dc:creator>masud407</dc:creator>
			<guid isPermaLink="false">8864@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;I have calculated the Sxx, Syy, and Sxz for a 2D space having Nx=88 and Ny=108 grids. The calculation comes from the pressure and velocity data from the simulation using kSpaceOrder. The stresses have the dimensions same as (Nx,Ny). Now I need to use these stress data for the elastic simulation using pstdElastic2D.&#60;/p&#62;
&#60;p&#62;As I want to have the result for the entire space, I made sensor.mask=ones(Nx,Ny) as well as source.s_mask=ones(Nx,Ny) as I want to use the Sxx,Sxy, and Sxy (having the same dimensions). However, when I tried to run it, I got the following error: &#34;The number of time series in source.sxx (etc) must match the number of source elements in source.s_mask&#34; &#60;/p&#62;
&#60;p&#62;I checked the example_ewp_shear_wave_snells_law example, where tone burst were used for Sxx, Syy. If I use the toneburst, then it runs for me too, but how I can use the calculated Sxx, Syy, Sxy (obtained from kSpaceOrder) as an input of pstdElastic2D. What should be the dimension of those stresses?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
