[vtkusers] Best Particle Based file format
George Zagaris
george.zagaris at kitware.com
Thu Jun 14 10:59:54 EDT 2012
One possibility is to store the particles in a vtkUnstructuredGrid
where each cell is a VTK_VERTEX or you could have a single cell that
is of type VTK_POLY_VERTEX. Then, you can attach PointData (vectors or
scalars, etc.) as normal and read/write *.vtu files.
Best,
George
On Thu, Jun 14, 2012 at 5:31 AM, Andrew Parker
<andy.john.parker at googlemail.com> wrote:
> Hi,
>
> Could I ask for a bit of help. I'd like to visualise particle based flows.
> My requirements are to be able to write(and read) a vtk style file that
> paraview and read and animate. I would like the file to have scalar and or
> vectors associated with each particle, there to be a relevant time step per
> "slot" in the file, and that each time step the particle positions are
> updated and hence move. I would like an animation to show the particles
> moving, as a function of the new positions in the file, and not inspecting a
> vector field in the file and integrating to determine a new position.
>
> Any help really appreciated,
>
> Cheers again,
> Andy
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list