Hello,

I have a series of particle data  files that I have written using the VTK XML 
PolyData file format (.vtp, I guess). I can use those to display the actual 
particles just fine with glyphs, but I'd like to also see a pathline being 
displayed for particles. I am therefore trying to use the 'Particle Pathline' 
filter.

The particles are simulated in a flow field, where new particles come in and 
older particles leave the system at every timestep. I therefore also have a 
'point data' array called "ParticleID" which tags a unique ID to each particle 
(starting with a zero index). It is defined as such:

<PointData>
  <DataArray type="Int32" Name="ParticleID" NumberOfComponents="1" 
format="ascii">
    ...
  </DataArray>
... other arrays...
</PointData>

When I try to use this array as the "Id Channel Array" in the filter, however, 
I get no output whatsoever from the filter. I think the rest of the file is 
correct because the filter DOES generate pathlines when I leave the "Id Channel 
Filter" to "Global or Local IDs", but the paths get messed up as soon as some 
particles start leaving the domain (as they should, I guess).

What am I doing wrong? Do I need to define this 'ParticleID' array differently?

Thank you for your help,

Charles Boivin

_______________________________________________
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