# VolumeFromCellsFilter ParaView plugin release

**URL:** https://discourse.paraview.org/t/volumefromcellsfilter-paraview-plugin-release/12984
**Category:** Announcements
**Tags:** python
**Created:** [October 4, 2023, 8:22am UTC](https://discourse.paraview.org/t/volumefromcellsfilter-paraview-plugin-release/12984 "2023-10-04T08:22:53Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tgalland](https://discourse.paraview.org/user_avatar/discourse.paraview.org/tgalland/32/11578_2.png) [@tgalland](https://discourse.paraview.org/u/tgalland)
#### Post date: [October 4, 2023, 8:22am UTC](https://discourse.paraview.org/t/volumefromcellsfilter-paraview-plugin-release/12984/1 "2023-10-04T08:22:53Z")

</div>

Hi everybody,

A new ParaView python plugin providing a new cell volume computation filter has been published ([https://gitlab.kitware.com/paraview/plugins/volumefromcellsfilter](https://gitlab.kitware.com/paraview/plugins/volumefromcellsfilter)).

The `Volume From Cells` filter can compute cells and total volume of an input `vtkUnstructuredGrid`, like the actual `Cell Size filter`, but leads to better results with concave cells.

Indeed, the Cell Size filter relies on a tetrahedralization of the cells before doing computations, resulting to inaccurate results with concave cells (that is an actual limitation of `vtkPolyhedron`) :

 ![CellSize](https://discourse.paraview.org/uploads/default/original/2X/3/3f2056e89b84b89937a1e1e27aa08e3071958ebf.png)

This new method relies on the Green theorem to compute the volume of a cell from its surface, leading to way better results in that case (similar to those we obtain with the same volume composed of tetrahedrons or hexahedrons) :

 ![VolumeFromCells](https://discourse.paraview.org/uploads/default/original/2X/e/e08390500c65fc320162e82bcb55f211c63d0a06.png)

Many thanks to **Eramet Ideas** that developed the plugin and supported us to share it publicly.
