# Remove internal feature edges in mixed grid

**URL:** https://discourse.paraview.org/t/remove-internal-feature-edges-in-mixed-grid/14367
**Category:** ParaView Support
**Created:** [April 9, 2024, 8:44am UTC](https://discourse.paraview.org/t/remove-internal-feature-edges-in-mixed-grid/14367 "2024-04-09T08:44:33Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Boone](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/c67d28/32.png) [@Boone](https://discourse.paraview.org/u/Boone)
#### Post date: [April 9, 2024, 8:44am UTC](https://discourse.paraview.org/t/remove-internal-feature-edges-in-mixed-grid/14367/1 "2024-04-09T08:44:33Z")

</div>

Hi all,

I generated a mixed grid using gmsh consisting in hexa and tetra cells. However, some unwanted feature edges are present inside my domain. I tried to remove them following the procedure described in [Feature External Edges Only](https://discourse.paraview.org/t/feature-external-edges-only/2812/5): `CleanToGrid` then `ExtractSurface` but it does not work for me.

Here is my domain and the feature edges:

 ![ParaView 5.12.0_011](https://discourse.paraview.org/uploads/default/original/2X/a/a82599c657f14b5369718961b5b214e318bd0233.jpeg)  
 ![Sélection_658](https://discourse.paraview.org/uploads/default/original/2X/7/7dc79a0571e6e8926958e64a131b06ec31175743.png)

As seen in the left picture, the domain is divided into hex and hex split into tet (in green) in some regions for the purpose of remeshing them later. In the right figure, you see the unwanted feature edges (internal edges).

The mesh is accessible here: [FileSender](https://filesender.renater.fr/?s=download&token=0bec0158-35d0-4d29-9374-51c9c9d5d561) (too big for direct attachment in the forum)

I am using Paraview 5.12.  
May you help me with this?  
Thanks a lot

---

<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: [April 18, 2024, 2:18pm UTC](https://discourse.paraview.org/t/remove-internal-feature-edges-in-mixed-grid/14367/2 "2024-04-18T14:18:32Z")

</div>

Your file contains some cells that are inverted which causes the issue you see:

 ![image](https://discourse.paraview.org/uploads/default/original/2X/3/3825e7c1619ba55e69e3863f62c27d93411d0976.png)

You need to figure out why such cells exists in your data.
