# Problem with "cloud - lagrangian" - it is missing from the Mesh part

**URL:** https://discourse.paraview.org/t/problem-with-cloud-lagrangian-it-is-missing-from-the-mesh-part/12041
**Category:** ParaView Support
**Created:** [May 8, 2023, 12:23am UTC](https://discourse.paraview.org/t/problem-with-cloud-lagrangian-it-is-missing-from-the-mesh-part/12041 "2023-05-08T00:23:58Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![ni8](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/n/41988e/32.png) [@ni8](https://discourse.paraview.org/u/ni8)
#### Post date: [May 8, 2023, 12:23am UTC](https://discourse.paraview.org/t/problem-with-cloud-lagrangian-it-is-missing-from-the-mesh-part/12041/1 "2023-05-08T00:23:58Z")

</div>

Hello!  
I downloaded ParaView 5.11.0 version and tried to visualize a case from OpenFoam 10 (\*.foam file) that includes particles. I know that I should check “cloud - lagrangian” from the Mesh Regions, and to do “Extract block” after that, but the problem is that there is no such option to check in the Mesh parts - there is no “cloud - lagrangian”. I am not at the zero time, so the particles should present in the mesh. What should I do to be able to visualize the particles?  
Thank you in advance!  
Best Regards!

---

<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 9, 2023, 9:39am UTC](https://discourse.paraview.org/t/problem-with-cloud-lagrangian-it-is-missing-from-the-mesh-part/12041/2 "2023-05-09T09:39:44Z")

</div>

Hi and welcome @ni8 !

Please share your dataset.

Best,

---

<div class="post-metadata">

### Author: ![ni8](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/n/41988e/32.png) [@ni8](https://discourse.paraview.org/u/ni8)
#### Post date: [May 11, 2023, 9:01pm UTC](https://discourse.paraview.org/t/problem-with-cloud-lagrangian-it-is-missing-from-the-mesh-part/12041/3 "2023-05-11T21:01:07Z")

</div>

Hi, Mathieu!  
Thank you for your reply!

Here is my dataset: [WeTransfer - Send Large Files & Share Photos Online - Up to 2GB Free](https://we.tl/t-b24YFHUhDS)

Thank you for your time!  
Best regards!

---

<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 12, 2023, 8:36am UTC](https://discourse.paraview.org/t/problem-with-cloud-lagrangian-it-is-missing-from-the-mesh-part/12041/4 "2023-05-12T08:36:01Z")

</div>

There is indeed no such mesh regions, why do you expect such region to be present ?

@olesenm

---

<div class="post-metadata">

### Author: ![ni8](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/n/41988e/32.png) [@ni8](https://discourse.paraview.org/u/ni8)
#### Post date: [May 12, 2023, 8:50am UTC](https://discourse.paraview.org/t/problem-with-cloud-lagrangian-it-is-missing-from-the-mesh-part/12041/5 "2023-05-12T08:50:53Z")

</div>

Hi, Mathieu!  
When this case is visualized through OpenFoam (typing paraFoam in the terminal), there is such mesh region in the Mesh part of the ParaView window, which I can check and the particles are then visualized.

But when I try to visualize them in the downloaded version of ParaView, there is no such mesh region. I am new in this and I thought that maybe there is something that I missed like some plugin for example…

Could you please recommend how could I add such mesh region, because I see that the particles are added in the simulation (in the log file during the simulation) and also in the results there is folder “lagrangian”, in which there is data for the cloud.

Sorry if my question is stupid, but as I mentioned I am new in this. 🙂

Thanks!  
Best regards!

---

<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 12, 2023, 11:36am UTC](https://discourse.paraview.org/t/problem-with-cloud-lagrangian-it-is-missing-from-the-mesh-part/12041/6 "2023-05-12T11:36:58Z")

</div>

paraFOAM provide a plugin with a completely different code than the OpenFOAM reader in ParaView.

Maybe this is a missing feature in ParaView, you can read this:

> [@I want to visualize my OpenFOAM simulation results with ParaView but I'm confused, which version should I use ?](https://discourse.paraview.org/t/i-want-to-visualize-my-openfoam-simulation-results-with-paraview-but-im-confused-which-version-should-i-use/7232):
>
> Short Answer: go to [paraview.org/download](http://paraview.org/download) download the last version of ParaView available Use it to visualize your results Long Answer: OpenFOAM ships with a script named paraFoam, which can be used to call ParaView with custom OpenFOAM-specific reader modules, as well as with the standard reader that comes with ParaView/VTK. As stated in the OpenFOAM wiki, There is almost no reason to use these particular reader modules instead of the official binary release. Also, this discourse can…

---

<div class="post-metadata">

### Author: ![ni8](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/n/41988e/32.png) [@ni8](https://discourse.paraview.org/u/ni8)
#### Post date: [May 12, 2023, 2:22pm UTC](https://discourse.paraview.org/t/problem-with-cloud-lagrangian-it-is-missing-from-the-mesh-part/12041/7 "2023-05-12T14:22:05Z")

</div>

Thank you very much for your answer, Mathieu!

I guess that these paraFoam script/modules cannot be added to the ParaView that I have and I should look for another solution of the problem, right?

Best regards!

---

<div class="post-metadata">

### Author: ![olesenm](https://discourse.paraview.org/user_avatar/discourse.paraview.org/olesenm/32/17416_2.png) [@olesenm](https://discourse.paraview.org/u/olesenm)
#### Post date: [May 17, 2023, 11:10am UTC](https://discourse.paraview.org/t/problem-with-cloud-lagrangian-it-is-missing-from-the-mesh-part/12041/8 "2023-05-17T11:10:19Z")

</div>

It sounds like your are using the `.org` flavour (from the OpenFOAM Foundation Ltd) instead of the `.com` flavour (from OpenCFD Ltd.). In the `.com` version, the cloud coordinates as “positions” (containing x,y,z, celli,…) and “coordinates” (containing the barycentric coordinates). In the `.org` version, they decided to write a “positions” file that contains the barycentric coordinates. The ParaView/VTK reader can handle a “positions” file containing x,y,z,… but _not_ the barycentric version, since this would entail creating the entire volume mesh and calculating the barycentric coordinate mapping in order to obtain the x,y,z positions to display the cloud. This is a crazy amount of work and a maintenance nightmare, which is why you might consider alternatives such as a coordinates to positions conversion utility (saw something posted on cfd-online), foamToEnsight or foamToVTK converting the clouds only, or use the `.com` version.

/mark

---

<div class="post-metadata">

### Author: ![olesenm](https://discourse.paraview.org/user_avatar/discourse.paraview.org/olesenm/32/17416_2.png) [@olesenm](https://discourse.paraview.org/u/olesenm)
#### Post date: [May 17, 2023, 11:12am UTC](https://discourse.paraview.org/t/problem-with-cloud-lagrangian-it-is-missing-from-the-mesh-part/12041/9 "2023-05-17T11:12:33Z")

</div>

_Adding_ the OpenFOAM reader modules into ParaView/VTK is definitely a non-starter. It is completely differently structured, non-parallel, would require almost all of OpenFOAM as a build dependency for VTK etc.

---

<div class="post-metadata">

### Author: ![ni8](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/n/41988e/32.png) [@ni8](https://discourse.paraview.org/u/ni8)
#### Post date: [June 27, 2023, 8:27am UTC](https://discourse.paraview.org/t/problem-with-cloud-lagrangian-it-is-missing-from-the-mesh-part/12041/10 "2023-06-27T08:27:33Z")

</div>

Dear Mark,  
Sorry for my so late response!

I just wanted to thank you very much for these detailed explanations! I use exactly the .org version as you said. I will try coordinates to positions conversion as you suggested.

Best Regards!
