[Paraview] visualize traced particles

Cory Quammen cory.quammen at kitware.com
Wed Jun 8 10:45:43 EDT 2016


David,

Sure, this is possible. To view pathlines, you'll need to either write
a kind of file reader, probably a python Programmable Source, or
convert your file into a format ParaView can read, such as an XML
polydata file. The pathlines can be stored as vtkPolyLine cells in a
vtkPolyData.

If you just want to view the particles, you can likely read the file
directly using the CSV reader. Assuming your data is in the format

x y z t

the file will be read as a table. You'll need to convert the table to
points using the Table to Points filter. Choose the X, Y, and Z
columns for your data. The time column will be added as a variable
associated with the point.

HTH,
Cory

On Thu, Jun 2, 2016 at 5:26 PM, David Larsson <david.larsson at sth.kth.se> wrote:
> Dear Paraview community,
>
>
> in an external program, I've traced particles inside a 3D(+time) flow field
> and extracted each particles spatial position (x,y,z) in time.
>
>
> I have this data saved in an ascii-output where each particle position (with
> time) is simply written out.
>
>
> Now to my question: is there any convenient way of visualizing these
> pathlines in paraview? Can I load and look at that kind of data in a direct
> way? Or can you even visualize how the particle progresses in space over
> time?
>
>
> Thanks for your help.
>
>
> /David
>
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>



-- 
Cory Quammen
R&D Engineer
Kitware, Inc.


More information about the ParaView mailing list