# Polyhedral meshes specific visualization

**URL:** https://discourse.paraview.org/t/polyhedral-meshes-specific-visualization/8957
**Category:** ParaView Support
**Tags:** vtk
**Created:** [February 10, 2022, 8:31pm UTC](https://discourse.paraview.org/t/polyhedral-meshes-specific-visualization/8957 "2022-02-10T20:31:22Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![MicK7](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mick7/32/1374_2.png) [@MicK7](https://discourse.paraview.org/u/MicK7)
#### Post date: [February 10, 2022, 8:31pm UTC](https://discourse.paraview.org/t/polyhedral-meshes-specific-visualization/8957/1 "2022-02-10T20:31:22Z")

</div>

Hi all,

I am wondering if it is possible to display **“volume”** of cells of a polyhedral mesh in ParaView.

Moreover, is there a filter to compute the **cell squish index** of a polyhedral cell. (is it hidden in the mesh quality filter that uses verdict library ?)

Least but not last, is there a way to **color a polyhedral cell faces by their areas**?

Mick

---

<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: [February 11, 2022, 8:37am UTC](https://discourse.paraview.org/t/polyhedral-meshes-specific-visualization/8957/2 "2022-02-11T08:37:34Z")

</div>

> [@MicK7](#):
>
> I am wondering if it is possible to display **“volume”** of cells of a polyhedral mesh in ParaView.

Yes

> Moreover, is there a filter to compute the **cell squish index** of a polyhedral cell. (is it hidden in the mesh quality filter that uses verdict library ?)

Sounds like this require a specific computation, in a python filter.

> Least but not last, is there a way to **color a polyhedral cell faces by their areas**?

ExtractSurface + CellSize ?

---

<div class="post-metadata">

### Author: ![MicK7](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mick7/32/1374_2.png) [@MicK7](https://discourse.paraview.org/u/MicK7)
#### Post date: [February 11, 2022, 5:02pm UTC](https://discourse.paraview.org/t/polyhedral-meshes-specific-visualization/8957/3 "2022-02-11T17:02:00Z")

</div>

I am not sure you understood well the volume question.  
What I want to display is the quantity volume of a polygonal cell not do a volumic rendering. Thus how do I compute the volume of a polygonal cell in ParaView ?

---

<div class="post-metadata">

### Author: ![MicK7](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mick7/32/1374_2.png) [@MicK7](https://discourse.paraview.org/u/MicK7)
#### Post date: [February 11, 2022, 5:03pm UTC](https://discourse.paraview.org/t/polyhedral-meshes-specific-visualization/8957/4 "2022-02-11T17:03:01Z")

</div>

I am not sure that a python filter is efficient enough to compute dot product on triangulated faces

---

<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: [February 11, 2022, 5:03pm UTC](https://discourse.paraview.org/t/polyhedral-meshes-specific-visualization/8957/5 "2022-02-11T17:03:21Z")

</div>

Indeed, I misunderstood.

CellSize should compute it.

> I am not sure that a python filter is efficient enough to compute dot product on triangulated faces

Why not ?

---

<div class="post-metadata">

### Author: ![MicK7](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mick7/32/1374_2.png) [@MicK7](https://discourse.paraview.org/u/MicK7)
#### Post date: [February 11, 2022, 5:03pm UTC](https://discourse.paraview.org/t/polyhedral-meshes-specific-visualization/8957/6 "2022-02-11T17:03:23Z")

</div>

Thanks for the reply anyway
