# Asking for delaunay 2D

**URL:** https://discourse.paraview.org/t/asking-for-delaunay-2d/8473
**Category:** ParaView Support
**Created:** [November 24, 2021, 12:27am UTC](https://discourse.paraview.org/t/asking-for-delaunay-2d/8473 "2021-11-24T00:27:27Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![Unico](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/u/f4b2a3/32.png) [@Unico](https://discourse.paraview.org/u/Unico)
#### Post date: [November 24, 2021, 12:27am UTC](https://discourse.paraview.org/t/asking-for-delaunay-2d/8473/1 "2021-11-24T00:27:27Z")

</div>

Dear all,

I’m the beginner of Paraview, so I’m quite sorry for in advance.

My question is I save the data file to ‘csv’ foramt

So, I follow other people’s advice

import CSV file → apply filter(tables to point) → apply filter(Delauay 2D)

so, I would like to see my result with pressure.

However, the problem is when I apply Delaunay 2D I get another strange body parts

 ![image](https://discourse.paraview.org/uploads/default/original/2X/4/470ad7498ce85cb4a04c808fa2a208aadd01c399.png)  
so this is what I want

However, if I apply Delaunay 2D filter, I get this result.

Does anyone know how to fix this problem?

I need your help.

Please help me

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

---

<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: [November 24, 2021, 10:14am UTC](https://discourse.paraview.org/t/asking-for-delaunay-2d/8473/2 "2021-11-24T10:14:06Z")

</div>

This is the expected behavior with a concave point cloud.

---

<div class="post-metadata">

### Author: ![Unico](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/u/f4b2a3/32.png) [@Unico](https://discourse.paraview.org/u/Unico)
#### Post date: [November 26, 2021, 3:01am UTC](https://discourse.paraview.org/t/asking-for-delaunay-2d/8473/3 "2021-11-26T03:01:22Z")

</div>

Thank you fore your reply…

I’m sorry but how do I get exact solution?? I would like to export the figures…

---

<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: [November 26, 2021, 8:25am UTC](https://discourse.paraview.org/t/asking-for-delaunay-2d/8473/4 "2021-11-26T08:25:32Z")

</div>

There is no automatic solution, you could manually select the cells you do not want, invert the selection and extract the resulting geometry.

---

<div class="post-metadata">

### Author: ![Unico](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/u/f4b2a3/32.png) [@Unico](https://discourse.paraview.org/u/Unico)
#### Post date: [November 26, 2021, 4:46pm UTC](https://discourse.paraview.org/t/asking-for-delaunay-2d/8473/5 "2021-11-26T16:46:05Z")

</div>

oh…Thank you so much… really helpful to me… . so for spherical model is not good BTW, if I save the data writtn as vtk format, there are no problems such as this problems??

---

<div class="post-metadata">

### Author: ![Unico](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/u/f4b2a3/32.png) [@Unico](https://discourse.paraview.org/u/Unico)
#### Post date: [November 27, 2021, 11:52am UTC](https://discourse.paraview.org/t/asking-for-delaunay-2d/8473/6 "2021-11-27T11:52:05Z")

</div>

I’m sorry once agian. I need your help… I save my data to VTK file…  
and I don’t know what is this… so

 ![image](https://discourse.paraview.org/uploads/default/original/2X/6/6384257b3d11afd87123fb9b8a607feed77b032b.png)

So, I use Delaunay 2D once agian…

So, can you tell me how to to select the cells or data from paraview?

and do you know when I import vtk files, why I get this ??

IF I choose ‘point’ I sucessfully see the data… but before selecting point data,

I cannot clearly see my result…

If I do not need to apply delauanay 2D filter, I would like to use another method.

It’s quite complex to eliminate some sells from the paraview  
Do you know how to solve this problem?

---

<div class="post-metadata">

### Author: ![Kenichiro-Yoshimi](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/k/ecc23a/32.png) [@Kenichiro-Yoshimi](https://discourse.paraview.org/u/Kenichiro-Yoshimi)
#### Post date: [November 28, 2021, 4:37am UTC](https://discourse.paraview.org/t/asking-for-delaunay-2d/8473/7 "2021-11-28T04:37:16Z")

</div>

At first glance, your points data looks like a structured grid points. So instead of the **Table To Points** filter, the **Table To Sturctured Grid** filter may be more suitable for you.

---

<div class="post-metadata">

### Author: ![Unico](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/u/f4b2a3/32.png) [@Unico](https://discourse.paraview.org/u/Unico)
#### Post date: [December 5, 2021, 9:56am UTC](https://discourse.paraview.org/t/asking-for-delaunay-2d/8473/8 "2021-12-05T09:56:38Z")

</div>

Thank you for your reply.

Actually, I followed your opinion and apply Table to structured grid filter…

However, result is same as befreo…

How do to it…?

---

<div class="post-metadata">

### Author: ![Kenichiro-Yoshimi](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/k/ecc23a/32.png) [@Kenichiro-Yoshimi](https://discourse.paraview.org/u/Kenichiro-Yoshimi)
#### Post date: [December 5, 2021, 11:43pm UTC](https://discourse.paraview.org/t/asking-for-delaunay-2d/8473/9 "2021-12-05T23:43:47Z")

</div>

Would it be possible to share your data?

---

<div class="post-metadata">

### Author: ![Unico](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/u/f4b2a3/32.png) [@Unico](https://discourse.paraview.org/u/Unico)
#### Post date: [December 6, 2021, 12:00pm UTC](https://discourse.paraview.org/t/asking-for-delaunay-2d/8473/10 "2021-12-06T12:00:37Z")

</div>

I can share my data. I attached my grid data.

Please check it.  
[grid.csv](https://discourse.paraview.org/uploads/short-url/27LaLCAFGCIGaAuO73YPygr7SR3.csv) (1.6 MB)

---

<div class="post-metadata">

### Author: ![Kenichiro-Yoshimi](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/k/ecc23a/32.png) [@Kenichiro-Yoshimi](https://discourse.paraview.org/u/Kenichiro-Yoshimi)
#### Post date: [December 6, 2021, 11:24pm UTC](https://discourse.paraview.org/t/asking-for-delaunay-2d/8473/11 "2021-12-06T23:24:27Z")

</div>

I was able to import the data into ParaView in the following way.

1. Add a column of z-coordinates to the csv file and load it into ParaView.
2. Next, in the **Table To Structured Grid** filter, set the settings as shown below and **Apply**.

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

---

<div class="post-metadata">

### Author: ![Unico](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/u/f4b2a3/32.png) [@Unico](https://discourse.paraview.org/u/Unico)
#### Post date: [December 7, 2021, 12:56am UTC](https://discourse.paraview.org/t/asking-for-delaunay-2d/8473/12 "2021-12-07T00:56:33Z")

</div>

Thank you very much. I understand it. I think I made some mistakes.

Then I would like to know, if I save the data to vtk files, I cannot apply filter Table to structred grid… so do you mean, should I have to save the data to csv format in order to solve the problem with delaunay 2D?

This is the fortran code for vtk file format.

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

---

<div class="post-metadata">

### Author: ![Kenichiro-Yoshimi](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/k/ecc23a/32.png) [@Kenichiro-Yoshimi](https://discourse.paraview.org/u/Kenichiro-Yoshimi)
#### Post date: [December 7, 2021, 3:12am UTC](https://discourse.paraview.org/t/asking-for-delaunay-2d/8473/13 "2021-12-07T03:12:44Z")

</div>

Hello,

As a workaround for the problem of Delaunay 2D, I think it is better to treat the data as Structured Grid Data instead of constructing it from point clouds using Delaunay 2D. So, as a way to handle the data as Structured Grid Data, you can choose to output the data in VTK format or CSV + **Table To Structured Grid** , whichever is easier to use.
