The easiest thing to do is to write a series of VTK files. For
example, they would be named particles0.vtk, particles1.vtk etc. Each
file would be something like the example below. If you do this, you
can open the file series (which would show up as a group in the file
browser) and press play to animate. The full documentation for the VTK
file format is at http://vtk.org/VTK/img/file-formats.pdf

-berk

# vtk DataFile Version 3.0
vtk output
ASCII
DATASET POLYDATA
POINTS 3 float
-1.02799 1.46338 9.18737 -0.664569 -2.96981 -2.69093 -2.72324
-0.552718 0.738882

VERTICES 1 4
3 0 1 2

POINT_DATA 3
SCALARS Elevation float
LOOKUP_TABLE default
0.995465 0.025688 0.31188
VECTORS BrownianVectors float
-0.0320832 -0.0399305 -0.123324 0.477184 -0.0482109 0.497965
-0.0439099 0.0346265 -0.0237767

On Tue, Aug 4, 2009 at 1:25 PM, ibk<[email protected]> wrote:
> Hi Berk,
>
> from my simulation I have data (ASCII) in column with xyz, particle radii
> and one (or more) scalar property, like rotational speed. I can change the
> data structure if it is necessary.
> This data set I have for every time step I need. I am able to display this
> particle ensamble in Paraview (is very nice) but only once, static. And I
> would like to make a movie from this data sets automatically.
>
> Cheers Michal
>
>
> ----- Original Message ----- From: "Berk Geveci" <[email protected]>
> To: "ibk" <[email protected]>
> Cc: <[email protected]>
> Sent: Tuesday, August 04, 2009 6:28 PM
> Subject: Re: [Paraview] Animation
>
>
> What are animating? Particle positions? Do you have a file series with
> positions?
>
> -berk
>
> On Tue, Aug 4, 2009 at 5:51 AM, ibk<[email protected]> wrote:
>>
>> Hi all,
>> I have from one simulation datas (Particle datas, position xyz and radius
>> of
>> this particle and one scalar property). I am able to display this
>> information using paraview/Table to Point/ Glyph etc.
>> But how can I create animation automatically?
>> Many thanks for your ideas.
>>
>> Mit freundlichen Grüßen / Kind Regards / S pozdravy
>>
>> IngenieurBüro für Keramik
>> Michal Kotrč
>>
>> Bergbaustrasse 1
>> 02956 Rietschen
>>
>> Tel.: 0049-35772-18301
>> Fax.: 0049-35772-18302
>> Mobilfunk (D): 0049-163-240-1356
>>
>> Internet: www.ib-keramik.de
>> E-mail: [email protected]
>> _______________________________________________
>> 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 ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>>
>>
>
>
_______________________________________________
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 ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to