<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-GB;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I prefer H5Part based data over VTK files for particles.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><a href="https://hpcforge.org/scm/browser.php?group_id=14">https://hpcforge.org/scm/browser.php?group_id=14</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Browse tree and see vtkH5PartReader and vtkH5PartWriter.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">see wiki link on top right of page and also google H5Part for some other info.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">JB<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> vtkusers-bounces@vtk.org [mailto:vtkusers-bounces@vtk.org]
<b>On Behalf Of </b>Andrew Parker<br>
<b>Sent:</b> 15 June 2012 15:00<br>
<b>To:</b> Lubos Brieda<br>
<b>Cc:</b> vtkusers@vtk.org<br>
<b>Subject:</b> Re: [vtkusers] Any more for Particle/Meshless formats<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Ok thanks for that, just looking to get as many people's views as possible - be interesting to see what others say....<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Cheers,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Andy<o:p></o:p></p>
<div>
<p class="MsoNormal">On 15 June 2012 13:55, Lubos Brieda &lt;<a href="mailto:lbrieda@yahoo.com" target="_blank">lbrieda@yahoo.com</a>&gt; wrote:<o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Andy, I second George's response below. I have used the same approach when developing a VTK-based visualization program capVTE which was used to visualize animated rarefied
 gas / plasma simulation flows. It worked fine.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<div>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">
<hr size="1" width="100%" align="center">
</span></div>
<p class="MsoNormal"><b><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"> Andrew Parker &lt;<a href="mailto:andy.john.parker@googlemail.com" target="_blank">andy.john.parker@googlemail.com</a>&gt;<br>
<b>To:</b> George Zagaris &lt;<a href="mailto:george.zagaris@kitware.com" target="_blank">george.zagaris@kitware.com</a>&gt;
<br>
<b>Cc:</b> <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>
<br>
<b>Sent:</b> Friday, June 15, 2012 8:52 AM<br>
<b>Subject:</b> Re: [vtkusers] Any more for Particle/Meshless formats</span><o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">Hi,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Just wanted to see if there were any more comments/input into the best way to read and write particle/meshless based formats for vtk and then subsequently paraview?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Anybody who has used vtk/paraview for lagrangian/SPH/DEM etc type approaches please feel free to chime-in indicating the best approach for constantly updating node positions, no associated connectivity, and unsteady data associated with
 those nodes as a function of space and time.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Questions are: &nbsp;Which vtk file format and mesh format for the above.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Cheers again,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Andy<o:p></o:p></p>
<div>
<p class="MsoNormal">On 14 June 2012 16:34, George Zagaris &lt;<a href="mailto:george.zagaris@kitware.com" target="_blank">george.zagaris@kitware.com</a>&gt; wrote:<o:p></o:p></p>
<p class="MsoNormal">Yes, you are right. In what I described, you would need a file for<br>
each time-step. I don't know of an already implemented reader/writer<br>
that would allow you to store multiple time-steps in a single file. I<br>
cc'ed the list in case someone else has more ideas on this.<br>
<br>
Best,<br>
George<br>
<br>
On Thu, Jun 14, 2012 at 11:19 AM, Andrew Parker<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">&lt;<a href="mailto:andy.john.parker@googlemail.com" target="_blank">andy.john.parker@googlemail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; Thanks for that, I had this as my first idea but I'm right in thinking that<br>
&gt; would require one file for every new position of particles? &nbsp;Is there no way<br>
&gt; to have that file store multiple position each associated with a time step<br>
&gt; all in one file? &nbsp;I'm guessing that's not a&nbsp;vtkUnstructuredGrid?? &nbsp;Is there<br>
&gt; such a file?<br>
&gt;<br>
&gt; Cheers,<br>
&gt; Andy<br>
&gt;<br>
&gt;<br>
&gt; On 14 June 2012 15:59, George Zagaris &lt;<a href="mailto:george.zagaris@kitware.com" target="_blank">george.zagaris@kitware.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; One possibility is to store the particles in a vtkUnstructuredGrid<br>
&gt;&gt; where each cell is a VTK_VERTEX or you could have a single cell that<br>
&gt;&gt; is of type VTK_POLY_VERTEX. Then, you can attach PointData (vectors or<br>
&gt;&gt; scalars, etc.) as normal and read/write *.vtu files.<br>
&gt;&gt;<br>
&gt;&gt; Best,<br>
&gt;&gt; George<br>
&gt;&gt;<br>
&gt;&gt; On Thu, Jun 14, 2012 at 5:31 AM, Andrew Parker<br>
&gt;&gt; &lt;<a href="mailto:andy.john.parker@googlemail.com" target="_blank">andy.john.parker@googlemail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Hi,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Could I ask for a bit of help. &nbsp;I'd like to visualise particle based<br>
&gt;&gt; &gt; flows.<br>
&gt;&gt; &gt; &nbsp;My requirements are to be able to write(and read) a &nbsp;vtk style file<br>
&gt;&gt; &gt; that<br>
&gt;&gt; &gt; paraview and read and animate. &nbsp;I would like the file to have scalar and<br>
&gt;&gt; &gt; or<br>
&gt;&gt; &gt; vectors associated with each particle, there to be a relevant time step<br>
&gt;&gt; &gt; per<br>
&gt;&gt; &gt; &quot;slot&quot; in the file, and that each time step the particle positions are<br>
&gt;&gt; &gt; updated and hence move. &nbsp;I would like an animation to show the particles<br>
&gt;&gt; &gt; moving, as a function of the new positions in the file, and not<br>
&gt;&gt; &gt; inspecting a<br>
&gt;&gt; &gt; vector field in the file and integrating to determine a new position.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Any help really appreciated,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Cheers again,<br>
&gt;&gt; &gt; Andy<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Visit other Kitware open-source projects at<br>
&gt;&gt; &gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt;&gt; &gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; &gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt; __________________________________<br>
&gt;<br>
&gt; &nbsp;&nbsp; Dr Andrew Parker<br>
&gt;<br>
&gt; &nbsp;&nbsp; Em@il:&nbsp; <a href="mailto:andrew.parker@cantab.net" target="_blank">andrew.parker@cantab.net</a><br>
&gt;<br>
&gt;<o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<p class="MsoNormal">__________________________________<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp;&nbsp; Dr Andrew Parker<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp;&nbsp; <a href="mailto:Em@il" target="_blank">Em@il</a>:&nbsp; <a href="mailto:andrew.parker@cantab.net" target="_blank">
andrew.parker@cantab.net</a><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<p>__________________________________<o:p></o:p></p>
<p>&nbsp;&nbsp; Dr Andrew Parker<o:p></o:p></p>
<p>&nbsp;&nbsp; <a href="mailto:Em@il" target="_blank">Em@il</a>:&nbsp; <a href="mailto:andrew.parker@cantab.net" target="_blank">
andrew.parker@cantab.net</a><o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>