# particle path, wrong ordering?

**URL:** https://discourse.paraview.org/t/particle-path-wrong-ordering/16774
**Category:** ParaView Support
**Created:** [June 4, 2025, 10:37am UTC](https://discourse.paraview.org/t/particle-path-wrong-ordering/16774 "2025-06-04T10:37:27Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![otaolafr](https://discourse.paraview.org/user_avatar/discourse.paraview.org/otaolafr/32/3595_2.png) [@otaolafr](https://discourse.paraview.org/u/otaolafr)
#### Post date: [June 4, 2025, 10:37am UTC](https://discourse.paraview.org/t/particle-path-wrong-ordering/16774/1 "2025-06-04T10:37:27Z")

</div>

Hello,  
i have a multiphase simulation in OpenFOAM and would like to use particle path over it.  
I wanted to recreate the same workflow as stream line from custom source but i am getting really wrong results. I am using as vector U.air and here one can see 3 filters displayed at time step =1:  
in green: the point source from where the particle & the stream lines come from (seed source)  
in grey: tube filter over the particle path  
in blue: the stream lines with using same field (U.air) and same seed source as the particle path  
in red: a gliph of the cliped section with direction following U.air but not scaled.  
as it can be seen nor in the gliphs nor the stream lines, one can see a rotational movement (and I can confirm that this is what expected)  
nevertless the particle path (grey) looks like it is rotating (and a lot), but i think from seeing the other filters that might be an issue of association from point a to point b? between each time step?

 ![image](https://discourse.paraview.org/uploads/default/original/3X/c/8/c85203041814000b82b6699668d4c3a01d15c43e.jpeg)

I am missing something? or i am doing something wrong? (i can not share the data sadly)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [June 4, 2025, 11:07am UTC](https://discourse.paraview.org/t/particle-path-wrong-ordering/16774/2 "2025-06-04T11:07:00Z")

</div>

Which ParticleID are you using over time ?

---

<div class="post-metadata">

### Author: ![otaolafr](https://discourse.paraview.org/user_avatar/discourse.paraview.org/otaolafr/32/3595_2.png) [@otaolafr](https://discourse.paraview.org/u/otaolafr)
#### Post date: [June 4, 2025, 11:10am UTC](https://discourse.paraview.org/t/particle-path-wrong-ordering/16774/3 "2025-06-04T11:10:44Z")

</div>

particle ID?  
maybe I am getting something wrong? what i thought was to use points from the inlet patch to ‘release’ particles in paraview and then follow their path. so as input i have, for the source of the velocity the internalMesh and for the seeds, the extract block of the inlet patch.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [June 4, 2025, 11:13am UTC](https://discourse.paraview.org/t/particle-path-wrong-ordering/16774/4 "2025-06-04T11:13:39Z")

</div>

Try using the ParticleTracer + TemporalParticleToPathLines instead of ParticlePath, it lets you select the IdChannelArray.

If that doesnt work, please share your data.
