<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:"Calibri","sans-serif";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:"Calibri","sans-serif";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:"Calibri","sans-serif";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:"Calibri","sans-serif";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:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">JB<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> 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> </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> </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 <<a href="mailto:lbrieda@yahoo.com" target="_blank">lbrieda@yahoo.com</a>> wrote:<o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">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:"Arial","sans-serif""><o:p> </o:p></span></p>
</div>
<div>
<div>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-family:"Arial","sans-serif"">
<hr size="1" width="100%" align="center">
</span></div>
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif"">From:</span></b><span style="font-family:"Arial","sans-serif""> Andrew Parker <<a href="mailto:andy.john.parker@googlemail.com" target="_blank">andy.john.parker@googlemail.com</a>><br>
<b>To:</b> George Zagaris <<a href="mailto:george.zagaris@kitware.com" target="_blank">george.zagaris@kitware.com</a>>
<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> </o:p></p>
<div>
<p class="MsoNormal">Hi,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </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> </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> </o:p></p>
</div>
<div>
<p class="MsoNormal">Questions are: Which vtk file format and mesh format for the above.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </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 <<a href="mailto:george.zagaris@kitware.com" target="_blank">george.zagaris@kitware.com</a>> 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"><<a href="mailto:andy.john.parker@googlemail.com" target="_blank">andy.john.parker@googlemail.com</a>> wrote:<br>
> Hi,<br>
><br>
> Thanks for that, I had this as my first idea but I'm right in thinking that<br>
> would require one file for every new position of particles? Is there no way<br>
> to have that file store multiple position each associated with a time step<br>
> all in one file? I'm guessing that's not a vtkUnstructuredGrid?? Is there<br>
> such a file?<br>
><br>
> Cheers,<br>
> Andy<br>
><br>
><br>
> On 14 June 2012 15:59, George Zagaris <<a href="mailto:george.zagaris@kitware.com" target="_blank">george.zagaris@kitware.com</a>> wrote:<br>
>><br>
>> One possibility is to store the particles in a vtkUnstructuredGrid<br>
>> where each cell is a VTK_VERTEX or you could have a single cell that<br>
>> is of type VTK_POLY_VERTEX. Then, you can attach PointData (vectors or<br>
>> scalars, etc.) as normal and read/write *.vtu files.<br>
>><br>
>> Best,<br>
>> George<br>
>><br>
>> On Thu, Jun 14, 2012 at 5:31 AM, Andrew Parker<br>
>> <<a href="mailto:andy.john.parker@googlemail.com" target="_blank">andy.john.parker@googlemail.com</a>> wrote:<br>
>> > Hi,<br>
>> ><br>
>> > Could I ask for a bit of help. I'd like to visualise particle based<br>
>> > flows.<br>
>> > My requirements are to be able to write(and read) a vtk style file<br>
>> > that<br>
>> > paraview and read and animate. I would like the file to have scalar and<br>
>> > or<br>
>> > vectors associated with each particle, there to be a relevant time step<br>
>> > per<br>
>> > "slot" in the file, and that each time step the particle positions are<br>
>> > updated and hence move. I would like an animation to show the particles<br>
>> > moving, as a function of the new positions in the file, and not<br>
>> > inspecting a<br>
>> > vector field in the file and integrating to determine a new position.<br>
>> ><br>
>> > Any help really appreciated,<br>
>> ><br>
>> > Cheers again,<br>
>> > Andy<br>
>> ><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<br>
>> > <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:<br>
>> > <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>
><br>
><br>
><br>
><br>
> --<br>
><br>
> __________________________________<br>
><br>
> Dr Andrew Parker<br>
><br>
> Em@il: <a href="mailto:andrew.parker@cantab.net" target="_blank">andrew.parker@cantab.net</a><br>
><br>
><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> </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"> Dr Andrew Parker<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <a href="mailto:Em@il" target="_blank">Em@il</a>: <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> </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> </o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<p>__________________________________<o:p></o:p></p>
<p> Dr Andrew Parker<o:p></o:p></p>
<p> <a href="mailto:Em@il" target="_blank">Em@il</a>: <a href="mailto:andrew.parker@cantab.net" target="_blank">
andrew.parker@cantab.net</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>