# broken grid on each side

**URL:** https://discourse.paraview.org/t/broken-grid-on-each-side/2452
**Category:** ParaView Support
**Tags:** vtk
**Created:** [August 19, 2019, 2:04pm UTC](https://discourse.paraview.org/t/broken-grid-on-each-side/2452 "2019-08-19T14:04:19Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Vaya\_Putra](https://discourse.paraview.org/user_avatar/discourse.paraview.org/vaya_putra/32/1729_2.png) [@Vaya\_Putra](https://discourse.paraview.org/u/Vaya_Putra)
#### Post date: [August 19, 2019, 2:04pm UTC](https://discourse.paraview.org/t/broken-grid-on-each-side/2452/1 "2019-08-19T14:04:20Z")

</div>

hi  
i am confused since i make Grid 100x100x1 by define type of cell i chose hexahedron.  
for first line 100 cell is correct grid (hexahedron), but in second line to last line on edge cell looks like broke (prims cell) i have many times check all connectivity its correct.  
what is wrong with my unstructured grid.

 ![PastedGraphic-1](https://discourse.paraview.org/uploads/default/original/2X/2/23475223a0fc86829406615c82b4b90c0ba39686.png) [G10000.vtu](https://discourse.paraview.org/uploads/short-url/vgMBhAlss1pRvuRdEcdGbOvNc65.vtu) (1.1 MB)

thank you

---

<div class="post-metadata">

### Author: ![Kenneth\_Moreland](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kenneth_moreland/32/15033_2.png) [@Kenneth\_Moreland](https://discourse.paraview.org/u/Kenneth_Moreland)
#### Post date: [August 19, 2019, 2:32pm UTC](https://discourse.paraview.org/t/broken-grid-on-each-side/2452/2 "2019-08-19T14:32:20Z")

</div>

The problem is the points array in your file is incorrect. After the second row of points on the top, the last point is placed in the wrong Z location. For example, in your file there are two points at the location (100, 2, 0). The second such point should actually be at (100, 2, 1). Likewise for (100, 3, 0), (100, 4, 0), and so on.

Here is a corrected file. Since they are ASCII, you can do a simple `diff` to see the differences.

[G10000-fixed.vtu](https://discourse.paraview.org/uploads/short-url/3eYo1kk5ofN6BTgjRKAinrHL4F8.vtu) (1.1 MB)

---

<div class="post-metadata">

### Author: ![Vaya\_Putra](https://discourse.paraview.org/user_avatar/discourse.paraview.org/vaya_putra/32/1729_2.png) [@Vaya\_Putra](https://discourse.paraview.org/u/Vaya_Putra)
#### Post date: [August 19, 2019, 2:49pm UTC](https://discourse.paraview.org/t/broken-grid-on-each-side/2452/3 "2019-08-19T14:49:22Z")

</div>

thank you very much now its correct.
