Thanks for the suggestion.

It seems to be OK; however, I must correct what I was said before: the 
ParticleID variable start with a 1 index (not zero). Does that matter?

Should ParticleID be PointData or CellData? Does the way the polys are defined 
in the file matter here?

Thank you for your help!

Charles

From: Biddiscombe, John A. [mailto:[email protected]]
Sent: Tuesday, March 06, 2012 11:31 AM
To: Charles Boivin; [email protected]
Subject: RE: Help with Particle Pathline filter...

I just tested it on one of my particle datasets and it worked fine. Can you 
verify that your particle Ids are actually sensible? Use the spreadsheet view 
to manually inspect them.

Also check the max step distance isn't set very small (but I guess if other 
settings produce pathlines then it must be ok).

JB

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]]<mailto:[mailto:[email protected]]>
 On Behalf Of Charles Boivin
Sent: 06 March 2012 15:57
To: [email protected]<mailto:[email protected]>
Subject: [Paraview] Help with Particle Pathline filter...

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