[Paraview] Help with Particle Pathline filter...

Charles Boivin charles.boivin at mayahtt.com
Tue Mar 6 13:18:05 EST 2012


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:biddisco at cscs.ch]
Sent: Tuesday, March 06, 2012 11:31 AM
To: Charles Boivin; paraview at paraview.org
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: paraview-bounces at paraview.org<mailto:paraview-bounces at paraview.org> [mailto:paraview-bounces at paraview.org]<mailto:[mailto:paraview-bounces at paraview.org]> On Behalf Of Charles Boivin
Sent: 06 March 2012 15:57
To: paraview at paraview.org<mailto:paraview at paraview.org>
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120306/47aceff8/attachment-0001.htm>


More information about the ParaView mailing list