# Boundary edges not recognized

**URL:** https://discourse.paraview.org/t/boundary-edges-not-recognized/11349
**Category:** ParaView Support
**Created:** [February 7, 2023, 9:43am UTC](https://discourse.paraview.org/t/boundary-edges-not-recognized/11349 "2023-02-07T09:43:19Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Frankx9](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/f/3e96dc/32.png) [@Frankx9](https://discourse.paraview.org/u/Frankx9)
#### Post date: [February 7, 2023, 9:43am UTC](https://discourse.paraview.org/t/boundary-edges-not-recognized/11349/1 "2023-02-07T09:43:19Z")

</div>

Hi,

I’m trying to extract the airfoil surface from my unstructured data set to plot Cp over airfoil surface. I was following the procedure given in:

> [@Compute pressure coefficient on the cylinder surface](https://discourse.paraview.org/t/compute-pressure-coefficient-on-the-cylinder-surface/9185/6):
>
> I assume the “cylinder wall” you want is the circular boundary of the hole in the middle of your dataset. For your particular dataset, you can do that with the following sequence of filters. I’ll give an explanation of what each one does and why you need it for your data. (Don’t forget to hit Apply after each one.) Clean to Grid: Your dataset is not completely connected. The data seem to be broken into blocks and then stitched together. The rendering makes everything look contiguous because t…

but when I select boundary edges and then I try to extract cells by region none of the edges are recognized.

My case is unstructured and 3D whilst the case given in the topic is 2D

Any idea on how to solve?  
Is there any other option which I have to use given that my case is 3D?

Sincerely

---

<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: [February 7, 2023, 2:16pm UTC](https://discourse.paraview.org/t/boundary-edges-not-recognized/11349/2 "2023-02-07T14:16:33Z")

</div>

If you have a 3D mesh and want a surface, then you probably want to skip the `Feature Edges` step.

You didn’t post your data nor even show a diagram or image, so I have to guess what your data looks like. I’m guessing the airfoil you want to see is a hole in the middle of your mesh. In that case, `Extract Surface` should generate this surface. But it will also generate the outer surface that envelops it, so you won’t see it. If you fly the camera inside the outer envelope, you should be able to see the airfoil in the middle. As described in the other page, you can use tools like `Extract Cells By Region` or `Clip` to remove the outer envelope.

---

<div class="post-metadata">

### Author: ![Frankx9](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/f/3e96dc/32.png) [@Frankx9](https://discourse.paraview.org/u/Frankx9)
#### Post date: [February 7, 2023, 2:20pm UTC](https://discourse.paraview.org/t/boundary-edges-not-recognized/11349/3 "2023-02-07T14:20:55Z")

</div>

Sorry for the few information I gave, you got everything right about my domain.  
I was messing around and I’ve got to this point

![98e372e4c9db42d9e22e9a7a2fcc316d2e8af892_2_690x291](https://discourse.paraview.org/uploads/default/original/2X/c/c671b6589303f3981a09de042f794a2610b4f45c.jpeg)

I only have to remove spurious cells now, any help on that would be appreciated

Sincerely

---

<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: [February 7, 2023, 2:51pm UTC](https://discourse.paraview.org/t/boundary-edges-not-recognized/11349/4 "2023-02-07T14:51:13Z")

</div>

My guess is that those spurious cells come from discontinuities in the mesh. That is, there are 2 polyhedra that are supposed to share a face, but the topology connection is not correct. Usually this is from errors in the mesh although discontinuous methods might do this on purpose.

You can try using the `Clean to Grid` filter (_before_ `Extract Surface`) to merge coincident points and hopefully get shared faces to be shared topologically.

---

<div class="post-metadata">

### Author: ![Frankx9](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/f/3e96dc/32.png) [@Frankx9](https://discourse.paraview.org/u/Frankx9)
#### Post date: [February 7, 2023, 2:53pm UTC](https://discourse.paraview.org/t/boundary-edges-not-recognized/11349/5 "2023-02-07T14:53:25Z")

</div>

This is indeed for DG type solver but the `Clean to Grid` filter before `Extract Surface` has been already applied but was not successful (see on the left the pipeline browser)

---

<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: [February 7, 2023, 2:58pm UTC](https://discourse.paraview.org/t/boundary-edges-not-recognized/11349/6 "2023-02-07T14:58:15Z")

</div>

You could try using the `Connectivity` filter to identify and extract the largest connected surface, which should be the airfoil after clipping.

---

<div class="post-metadata">

### Author: ![Frankx9](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/f/3e96dc/32.png) [@Frankx9](https://discourse.paraview.org/u/Frankx9)
#### Post date: [February 7, 2023, 3:01pm UTC](https://discourse.paraview.org/t/boundary-edges-not-recognized/11349/7 "2023-02-07T15:01:32Z")

</div>

Getting closer but still issues on the Leading Edge zone

 ![Screenshot 2023-02-07 at 16.01.10](https://discourse.paraview.org/uploads/default/original/2X/5/51ec136ef629c82adebb1783370375a8c3305c3c.png)

---

<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: [February 7, 2023, 4:02pm UTC](https://discourse.paraview.org/t/boundary-edges-not-recognized/11349/8 "2023-02-07T16:02:26Z")

</div>

At least one of those cells must be touching the airfoil. I can’t think of any automatic way of removing those. My only thought is to remove them with an `Extract Cells By Region` with a carefully placed plane.
