# Smoothing of vtkUnstructuredGrids

**URL:** https://discourse.vtk.org/t/smoothing-of-vtkunstructuredgrids/6103
**Category:** Support
**Created:** [June 29, 2021, 2:37pm UTC](https://discourse.vtk.org/t/smoothing-of-vtkunstructuredgrids/6103 "2021-06-29T14:37:27Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Aep93](https://discourse.vtk.org/user_avatar/discourse.vtk.org/aep93/32/3624_2.png) [@Aep93](https://discourse.vtk.org/u/Aep93)
#### Post date: [June 29, 2021, 2:37pm UTC](https://discourse.vtk.org/t/smoothing-of-vtkunstructuredgrids/6103/1 "2021-06-29T14:37:27Z")

</div>

Hello all,  
This post is following my discussion in the slicer forum in the link below:  
[Link of main discussion](https://discourse.slicer.org/t/interactively-change-the-nodes-of-mesh/18361/8?u=aep93)  
I want to find a way for smoothing of vtkUnstructredGrids.  
Any help is greatly appreciated.

---

<div class="post-metadata">

### Author: ![will.schroeder](https://discourse.vtk.org/user_avatar/discourse.vtk.org/will.schroeder/32/233_2.png) [@will.schroeder](https://discourse.vtk.org/u/will.schroeder)
#### Post date: [June 30, 2021, 11:34am UTC](https://discourse.vtk.org/t/smoothing-of-vtkunstructuredgrids/6103/2 "2021-06-30T11:34:15Z")

</div>

AFAIK there is no smoothing filter for unstructured grids. Of course we could add one, but it would be tricky to add because of the many topological cell types in VTK - some cell types could easily be invalidated by incorrect movement of their points. Do you have a particular cell type in mind, e.g., textrahedra or hexahedra? That would simplify matters.

---

<div class="post-metadata">

### Author: ![Aep93](https://discourse.vtk.org/user_avatar/discourse.vtk.org/aep93/32/3624_2.png) [@Aep93](https://discourse.vtk.org/u/Aep93)
#### Post date: [June 30, 2021, 3:14pm UTC](https://discourse.vtk.org/t/smoothing-of-vtkunstructuredgrids/6103/3 "2021-06-30T15:14:29Z")

</div>

Thanks for your response @will.schroeder.  
My mesh has tetrahedra elements.

---

<div class="post-metadata">

### Author: ![Aep93](https://discourse.vtk.org/user_avatar/discourse.vtk.org/aep93/32/3624_2.png) [@Aep93](https://discourse.vtk.org/u/Aep93)
#### Post date: [July 1, 2021, 8:16pm UTC](https://discourse.vtk.org/t/smoothing-of-vtkunstructuredgrids/6103/4 "2021-07-01T20:16:29Z")

</div>

Any help is greatly appreciated.

---

<div class="post-metadata">

### Author: ![will.schroeder](https://discourse.vtk.org/user_avatar/discourse.vtk.org/will.schroeder/32/233_2.png) [@will.schroeder](https://discourse.vtk.org/u/will.schroeder)
#### Post date: [July 1, 2021, 8:29pm UTC](https://discourse.vtk.org/t/smoothing-of-vtkunstructuredgrids/6103/5 "2021-07-01T20:29:41Z")

</div>

Here’s one approach: 1) identify 1-2 desirable smoothing algorithms - latest and greatest. 2) implement the algorithm yourself, and/or find someone in the community who can do it or can guide you through the implementation.

In other words, since most people on this discourse list are slammed with work, you can help by doing background work, and then help coordinate the effort.
