# Contour breaks on grid blocks

**URL:** https://discourse.paraview.org/t/contour-breaks-on-grid-blocks/10699
**Category:** ParaView Support
**Created:** [November 8, 2022, 3:56pm UTC](https://discourse.paraview.org/t/contour-breaks-on-grid-blocks/10699 "2022-11-08T15:56:29Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Andre\_Calado](https://discourse.paraview.org/user_avatar/discourse.paraview.org/andre_calado/32/10356_2.png) [@Andre\_Calado](https://discourse.paraview.org/u/Andre_Calado)
#### Post date: [November 8, 2022, 3:56pm UTC](https://discourse.paraview.org/t/contour-breaks-on-grid-blocks/10699/1 "2022-11-08T15:56:29Z")

</div>

Hi,

I am having a visualization issue when I try to visualize a threshold isosurface (in my case it is Level set = 0 for multiphase flow). I notice the surface is broken where my domain is decomposed (MPI blocks). The surface here is a threshold taken after the “Cell data to Point data” filter is applied.

Any tips or suggestions on getting a smooth or at least continuous surface across MPI blocks??

Thanks in advance!

![Screenshot 2022-11-08 at 10.49.39 AM](https://discourse.paraview.org/uploads/default/original/2X/2/2314b16b368b89b9bd338fce19b39e69eb2c5f7d.png)

---

<div class="post-metadata">

### Author: ![Christos\_Tsolakis](https://discourse.paraview.org/user_avatar/discourse.paraview.org/christos_tsolakis/32/4450_2.png) [@Christos\_Tsolakis](https://discourse.paraview.org/u/Christos_Tsolakis)
#### Post date: [November 8, 2022, 6:17pm UTC](https://discourse.paraview.org/t/contour-breaks-on-grid-blocks/10699/2 "2022-11-08T18:17:05Z")

</div>

Hi @Andre_Calado and welcome to discourse !

Try applying the `Ghost Cell Generator` filter before applying contour. This will exchange the appropriate data across the interface which should result into a continuous isosurface.

---

<div class="post-metadata">

### Author: ![Andre\_Calado](https://discourse.paraview.org/user_avatar/discourse.paraview.org/andre_calado/32/10356_2.png) [@Andre\_Calado](https://discourse.paraview.org/u/Andre_Calado)
#### Post date: [November 8, 2022, 6:43pm UTC](https://discourse.paraview.org/t/contour-breaks-on-grid-blocks/10699/3 "2022-11-08T18:43:22Z")

</div>

Thanks @Christos_Tsolakis . I tried using it but it still looks a bit odd…

Is there a specific order of the filters? Right now I am applying the Ghost cell after the Cell data to point data, and then doing the contour.

---

<div class="post-metadata">

### Author: ![Christos\_Tsolakis](https://discourse.paraview.org/user_avatar/discourse.paraview.org/christos_tsolakis/32/4450_2.png) [@Christos\_Tsolakis](https://discourse.paraview.org/u/Christos_Tsolakis)
#### Post date: [November 8, 2022, 6:51pm UTC](https://discourse.paraview.org/t/contour-breaks-on-grid-blocks/10699/4 "2022-11-08T18:51:08Z")

</div>

> I tried using it but it still looks a bit odd…

Can you share a screenshot ?

> Is there a specific order of the filters? Right now I am applying the Ghost cell after the Cell data to point data, and then doing the contour.

Yes the order is important. Try to move the Ghost Cell generator before the cell data to point data filter. Also, I would experiment with the `Minimum number of Ghosts` option.

---

<div class="post-metadata">

### Author: ![Andre\_Calado](https://discourse.paraview.org/user_avatar/discourse.paraview.org/andre_calado/32/10356_2.png) [@Andre\_Calado](https://discourse.paraview.org/u/Andre_Calado)
#### Post date: [November 8, 2022, 7:38pm UTC](https://discourse.paraview.org/t/contour-breaks-on-grid-blocks/10699/5 "2022-11-08T19:38:51Z")

</div>

Found a solution that works 🙂

MergeBlocks \> Ghost Cell Generator \> Cell Data to Point Data \> Contour
