[vtkusers] Best Particle Based file format
George Zagaris
george.zagaris at kitware.com
Thu Jun 14 11:34:37 EDT 2012
Yes, you are right. In what I described, you would need a file for
each time-step. I don't know of an already implemented reader/writer
that would allow you to store multiple time-steps in a single file. I
cc'ed the list in case someone else has more ideas on this.
Best,
George
On Thu, Jun 14, 2012 at 11:19 AM, Andrew Parker
<andy.john.parker at googlemail.com> wrote:
> Hi,
>
> Thanks for that, I had this as my first idea but I'm right in thinking that
> would require one file for every new position of particles? Is there no way
> to have that file store multiple position each associated with a time step
> all in one file? I'm guessing that's not a vtkUnstructuredGrid?? Is there
> such a file?
>
> Cheers,
> Andy
>
>
> On 14 June 2012 15:59, George Zagaris <george.zagaris at kitware.com> wrote:
>>
>> 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
>> >
>
>
>
>
> --
>
> __________________________________
>
> Dr Andrew Parker
>
> Em at il: andrew.parker at cantab.net
>
>
More information about the vtkusers
mailing list