Hi,<div><br></div><div>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?</div><div><br></div><div>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.</div>
<div><br></div><div>Questions are: Which vtk file format and mesh format for the above.</div><div><br></div><div>Cheers again,</div><div>Andy<br><br><div class="gmail_quote">On 14 June 2012 16:34, George Zagaris <span dir="ltr"><<a href="mailto:george.zagaris@kitware.com" target="_blank">george.zagaris@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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<br>
<div class="HOEnZb"><div class="h5"><<a href="mailto:andy.john.parker@googlemail.com">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">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">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">andrew.parker@cantab.net</a><br>
><br>
><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><p>__________________________________</p><p> Dr Andrew Parker</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></p>
<br>
</div>