# 'merge' processor data for foam reader of parallel cases to disappear processor boundaries on transparent visualization

**URL:** https://discourse.paraview.org/t/merge-processor-data-for-foam-reader-of-parallel-cases-to-disappear-processor-boundaries-on-transparent-visualization/15959
**Category:** ParaView Support
**Created:** [January 9, 2025, 10:53am UTC](https://discourse.paraview.org/t/merge-processor-data-for-foam-reader-of-parallel-cases-to-disappear-processor-boundaries-on-transparent-visualization/15959 "2025-01-09T10:53:17Z")
**Posts on this page:** 8
**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: [January 9, 2025, 10:53am UTC](https://discourse.paraview.org/t/merge-processor-data-for-foam-reader-of-parallel-cases-to-disappear-processor-boundaries-on-transparent-visualization/15959/1 "2025-01-09T10:53:17Z")

</div>

Hello,  
I have a small annoying issue with the visualization of openfoam cases when they are decomposed. If this is the case, when we only load the internalMesh and set a transparency (or also use the feature edges representation) the boundaries of the processors are shown:  
 ![image](https://discourse.paraview.org/uploads/default/original/2X/0/085b39e03d94d60c1061d36f138452a49ede541e.png)  
which are not pleasant to see and would like to not show them for my presentations. the only ‘solution’ that I have found for the moment is to load something else more than the internalMesh (such as a patch) and then use merge blocks on the foam reader filter. but would like to find out if there is any way to not need to load any patches or extra data, simply a filter (or a setting) that will make disapear the processor boundaries;  
 ![image](https://discourse.paraview.org/uploads/default/original/2X/e/ea6d48db2687d4cded119a2ae94d893bcc9b7255.png)

thanks in advance

---

<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: [January 9, 2025, 4:20pm UTC](https://discourse.paraview.org/t/merge-processor-data-for-foam-reader-of-parallel-cases-to-disappear-processor-boundaries-on-transparent-visualization/15959/2 "2025-01-09T16:20:22Z")

</div>

CleanToGrid or Clean filter should do the trick. Make sure to enable “Merge Points” property.

---

<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: [January 10, 2025, 7:43am UTC](https://discourse.paraview.org/t/merge-processor-data-for-foam-reader-of-parallel-cases-to-disappear-processor-boundaries-on-transparent-visualization/15959/3 "2025-01-10T07:43:33Z")

</div>

Hello mathieu,  
thanks for the answer, clean filter looks like it is not available when I try to do over the filter of the openfoam reader. on the other side, cleanToGrid works, and gives the expected result but I have two questions:

1. I did not find any “merge points” property in the filter, not even with the toggled advanced properties. I missunderstood something in your message? or it is missing? or it was for the clean filter?
2. any data modification that I should know about of using this filter?or that once done I can keep working with the cleanToGrid filter as if it was the filter of openfoam reader? I mean can i inject it to the my pipe line and do something like:

```auto
simfoam = OpenFOAMReader(registrationName='sim.foam', FileName=casePath, CaseType=CaseType)
if simfoam.CaseType=='Decomposed Case':
    filterToUse= CleantoGrid(registrationName='CleantoGrid1', Input=simfoam)
else:
    filterToUse=simfoam

```

thanks in advance

---

<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: [January 10, 2025, 8:09am UTC](https://discourse.paraview.org/t/merge-processor-data-for-foam-reader-of-parallel-cases-to-disappear-processor-boundaries-on-transparent-visualization/15959/4 "2025-01-10T08:09:45Z")

</div>

> clean filter looks like it is not available when I try to do over the filter of the openfoam reader.

Yes, you probably need ExtractSurface

> [@otaolafr](#):
>
> I did not find any “merge points” property in the filter, not even with the toggled advanced properties. I missunderstood something in your message? or it is missing? or it was for the clean filter?

That was for Clean filter indeed.

> I mean can i inject it to the my pipe line and do something like:

Yes, I think so

---

<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: [January 15, 2025, 9:19am UTC](https://discourse.paraview.org/t/merge-processor-data-for-foam-reader-of-parallel-cases-to-disappear-processor-boundaries-on-transparent-visualization/15959/5 "2025-01-15T09:19:53Z")

</div>

Hello mathieu,  
I am still having troubles with the visualization, saddly i can not share the data. now that being said, in my openfoam simulation I am using a baffle inside the mesh (this are internal faces that are repeated to give different boundary conditions from each side) it is used to simulate thin walls that are simulated as they have a thickness of 0. when i do the CleantoGrid filter (shouldnt it be CleanToGrid ? 😯 ) and I use the opacity different to 1 i get strange artifacts over this baffle zone as one can see in the following image:

> [@extract interface between water and air](https://discourse.paraview.org/t/extract-interface-between-water-and-air/15980):
>
> Hello, i am looking for some paraview recommendations on how to extract this data correctly, more for the seek of learn how than anything else. I have a cylindrical reactor (main axis is Z axis), where I have water and i bubble air from the bottom of the reactor. so air goes up throught the water and the level of the water will increase as the simulation runs. i would like to measure this level in function of time, for this what I thought as workflow were 2 differents: using slice slice …

I tested the different fitlers you mentioned (clean, cleantoGrid and also clean cells to grid non of them solved the visual issue, any clues?

---

<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: [January 15, 2025, 10:33am UTC](https://discourse.paraview.org/t/merge-processor-data-for-foam-reader-of-parallel-cases-to-disappear-processor-boundaries-on-transparent-visualization/15959/6 "2025-01-15T10:33:22Z")

</div>

I’m afraid I cannot help much more without a way to reproduce the issue.

---

<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: [January 15, 2025, 10:42am UTC](https://discourse.paraview.org/t/merge-processor-data-for-foam-reader-of-parallel-cases-to-disappear-processor-boundaries-on-transparent-visualization/15959/7 "2025-01-15T10:42:40Z")

</div>

i just found a openfoam tutorial that has this hope it helps: [FileSender](https://filesender.renater.fr/?s=download&token=89970173-6b14-4ab1-9921-af8ff275dc49)  
here you can see the faces i was mentioning:  
 ![image](https://discourse.paraview.org/uploads/default/original/2X/4/45a3977580e62fd84093e5c3a6bf89de5704fc7a.png)

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: [January 15, 2025, 10:53am UTC](https://discourse.paraview.org/t/merge-processor-data-for-foam-reader-of-parallel-cases-to-disappear-processor-boundaries-on-transparent-visualization/15959/8 "2025-01-15T10:53:06Z")

</div>

In that case there is a clear discontinuity in the mesh:

 ![image](https://discourse.paraview.org/uploads/default/original/2X/0/029d9fb118353be1d057c8e6cc33d2ea57e8f9be.png)

To make this internal faces disappear would require remeshing or resampling

A simple way to do this is to use ResampleToImage:

 ![image](https://discourse.paraview.org/uploads/default/original/2X/c/c69ccd32f4558ffc9e1cdbd6d5e79c2d25e842f2.png)

Of course, you are loosing the actual surfaces.
