# Lagrangian particle tracer

**URL:** https://discourse.paraview.org/t/lagrangian-particle-tracer/9610
**Category:** ParaView Support
**Created:** [May 11, 2022, 7:27am UTC](https://discourse.paraview.org/t/lagrangian-particle-tracer/9610 "2022-05-11T07:27:43Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![ting\_cui](https://discourse.paraview.org/user_avatar/discourse.paraview.org/ting_cui/32/9184_2.png) [@ting\_cui](https://discourse.paraview.org/u/ting_cui)
#### Post date: [May 11, 2022, 7:27am UTC](https://discourse.paraview.org/t/lagrangian-particle-tracer/9610/1 "2022-05-11T07:27:43Z")

</div>

I would like to use LPT to show the fluid particles move in lagrangian field, but I do not know how to set the properties of the source seed and surface input, could you give some examples on this problem?

---

<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: [May 11, 2022, 7:30am UTC](https://discourse.paraview.org/t/lagrangian-particle-tracer/9610/2 "2022-05-11T07:30:33Z")

</div>

Hi @ting_cui ,

There is example data and tests in the ParaView plugin source.

The matida model is tricky to use, I’m working on adding a much simpler model.

You can also use the StreamTracer as a much simpler approach.

Best,

---

<div class="post-metadata">

### Author: ![ting\_cui](https://discourse.paraview.org/user_avatar/discourse.paraview.org/ting_cui/32/9184_2.png) [@ting\_cui](https://discourse.paraview.org/u/ting_cui)
#### Post date: [May 11, 2022, 7:39am UTC](https://discourse.paraview.org/t/lagrangian-particle-tracer/9610/3 "2022-05-11T07:39:12Z")

</div>

Hi Mathieu,

Thank you o much for your information. The stream tracer is to plot the fluid stream in the domain, rather than the fluid particle trajactories.I would like to plot the lagrangian trajectories of the fluid particles. I am not sure wether the LPT can solve this or not.

---

<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: [May 11, 2022, 7:40am UTC](https://discourse.paraview.org/t/lagrangian-particle-tracer/9610/4 "2022-05-11T07:40:57Z")

</div>

The streamtracer and the LPT are very similar in their approach, so I think you should be able to have at least preliminary results with the streamtracer before trying to use the LPT.

---

<div class="post-metadata">

### Author: ![ting\_cui](https://discourse.paraview.org/user_avatar/discourse.paraview.org/ting_cui/32/9184_2.png) [@ting\_cui](https://discourse.paraview.org/u/ting_cui)
#### Post date: [May 11, 2022, 7:47am UTC](https://discourse.paraview.org/t/lagrangian-particle-tracer/9610/5 "2022-05-11T07:47:39Z")

</div>

Hi, Mathieu

I have ploted the streamtracer in the domain. It shows the fluid streamline. but i would like to show the fluid particle trajectories in the domain. The defination of the streamline and the particle trajectories are different from each other.

---

<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: [May 11, 2022, 7:49am UTC](https://discourse.paraview.org/t/lagrangian-particle-tracer/9610/6 "2022-05-11T07:49:03Z")

</div>

Do you have an integration model to implement for your particle trajectories ?

cf: [https://www.kitware.com/vtk-and-paraview-add-highly-configurable-particle-tracker/](https://www.kitware.com/vtk-and-paraview-add-highly-configurable-particle-tracker/)

---

<div class="post-metadata">

### Author: ![ting\_cui](https://discourse.paraview.org/user_avatar/discourse.paraview.org/ting_cui/32/9184_2.png) [@ting\_cui](https://discourse.paraview.org/u/ting_cui)
#### Post date: [May 11, 2022, 7:49am UTC](https://discourse.paraview.org/t/lagrangian-particle-tracer/9610/7 "2022-05-11T07:49:17Z")

</div>

i used LPT to plot the results, as you say,thay are similar.

---

<div class="post-metadata">

### Author: ![ting\_cui](https://discourse.paraview.org/user_avatar/discourse.paraview.org/ting_cui/32/9184_2.png) [@ting\_cui](https://discourse.paraview.org/u/ting_cui)
#### Post date: [May 11, 2022, 7:54am UTC](https://discourse.paraview.org/t/lagrangian-particle-tracer/9610/8 "2022-05-11T07:54:11Z")

</div>

I dont have the integration model. I only use the VTKs one.

---

<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: [May 11, 2022, 7:55am UTC](https://discourse.paraview.org/t/lagrangian-particle-tracer/9610/9 "2022-05-11T07:55:20Z")

</div>

Without an integration model to implement or data specifically crafted for existing model, there is not much you can do with the LPT.

---

<div class="post-metadata">

### Author: ![ting\_cui](https://discourse.paraview.org/user_avatar/discourse.paraview.org/ting_cui/32/9184_2.png) [@ting\_cui](https://discourse.paraview.org/u/ting_cui)
#### Post date: [May 11, 2022, 7:57am UTC](https://discourse.paraview.org/t/lagrangian-particle-tracer/9610/10 "2022-05-11T07:57:10Z")

</div>

OKThank you so much for your information.
