<?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: Meshing complicated geometry</title>
		<link>http://www.k-wave.org/forum/topic/meshing-complicated-geometry</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 22:25:09 +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/meshing-complicated-geometry" rel="self" type="application/rss+xml" />

		<item>
			<title>Filip Vaverka on "Meshing complicated geometry"</title>
			<link>http://www.k-wave.org/forum/topic/meshing-complicated-geometry#post-6944</link>
			<pubDate>Mon, 01 Jul 2019 10:49:49 +0000</pubDate>
			<dc:creator>Filip Vaverka</dc:creator>
			<guid isPermaLink="false">6944@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Although we don't have pipeline for mesh discretization at this point, I did some experiments in this direction.&#60;br /&#62;
My workflow is following:&#60;br /&#62;
1) Convert mesh to *.obj format so that each part uses material with different name (parts have to be closed - &#34;water-tight&#34; meshes). (It's definitely possible to use some better format here)&#60;br /&#62;
2) I use my own Python script which takes *.obj file and extracts mesh with specified material name from it. (effectively splitting the *.obj file into parts by material)&#60;br /&#62;
3) I use another Python script to take each part and &#34;voxelize&#34; it using VTK. Then I create 3D array and fill in material propreties corresponding to &#34;voxelized&#34; mesh into it (one by one).&#60;br /&#62;
4) Finally generated 3D array can be stored in HDF5 and loaded into MATLAB where it can be processed as usual.&#60;/p&#62;
&#60;p&#62;I should be able to provide example scripts for parsing *.obj files and &#34;voxelization&#34; using VTK, but it would still take some work to store voxelized results so they can be loaded in MATLAB.&#60;/p&#62;
&#60;p&#62;Filip Vaverka
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "Meshing complicated geometry"</title>
			<link>http://www.k-wave.org/forum/topic/meshing-complicated-geometry#post-6918</link>
			<pubDate>Tue, 25 Jun 2019 09:02:58 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">6918@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Firdaus,&#60;/p&#62;
&#60;p&#62;We don't have anything working out the box at this point. You could also look &#60;a href=&#34;http://www.k-wave.org/forum/topic/importing-data-from-other-software#post-6253&#34;&#62;here&#60;/a&#62; and &#60;a href=&#34;http://www.k-wave.org/forum/topic/import-a-part-from-cad#post-5971&#34;&#62;here&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>firdaus on "Meshing complicated geometry"</title>
			<link>http://www.k-wave.org/forum/topic/meshing-complicated-geometry#post-6878</link>
			<pubDate>Sat, 08 Jun 2019 23:34:58 +0000</pubDate>
			<dc:creator>firdaus</dc:creator>
			<guid isPermaLink="false">6878@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I'd like to simulate a complicated geometry based on a CAD drawing. What is the best way to prepare the CAD drawing and to do the meshing for k-wave simulation? Any step by step explanation?&#60;/p&#62;
&#60;p&#62;Thanks.&#60;/p&#62;
&#60;p&#62;Firdaus
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
