# Decompose polyhedra and OpenFOAM

**URL:** https://discourse.paraview.org/t/decompose-polyhedra-and-openfoam/14766
**Category:** ParaView Support
**Created:** [June 4, 2024, 1:44pm UTC](https://discourse.paraview.org/t/decompose-polyhedra-and-openfoam/14766 "2024-06-04T13:44:21Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![KasperWayne](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kasperwayne/32/2432_2.png) [@KasperWayne](https://discourse.paraview.org/u/KasperWayne)
#### Post date: [June 4, 2024, 1:44pm UTC](https://discourse.paraview.org/t/decompose-polyhedra-and-openfoam/14766/1 "2024-06-04T13:44:22Z")

</div>

Hi,

I recently upgraded to v5.12.0 (using Windows 10) and noticed that when I use the “Decompose polyhedra” to load my OpenFOAM cases, that I get a warning that the feature is highly deprecated and will be removed in the future. My cases are often a mixture of polyhedrals and hexahedrals and here I often get a better visualization of the data when the case is loaded is polyhedra. Furthermore, I often cannot use the “Plot over line” filter when loading the case as default. I would therefore like to know whether this feature will be removed permanently or the OpenFOAM reader is going to be improved in future releases?

Best regards  
Kasper.

---

<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: [June 4, 2024, 1:45pm UTC](https://discourse.paraview.org/t/decompose-polyhedra-and-openfoam/14766/2 "2024-06-04T13:45:34Z")

</div>

OpenFOAM added the possibility to decompose polyhedra internally.

Alternativaly, use the “Tetrahedralize” filter after reding your file.

---

<div class="post-metadata">

### Author: ![olesenm](https://discourse.paraview.org/user_avatar/discourse.paraview.org/olesenm/32/17416_2.png) [@olesenm](https://discourse.paraview.org/u/olesenm)
#### Post date: [June 4, 2024, 3:30pm UTC](https://discourse.paraview.org/t/decompose-polyhedra-and-openfoam/14766/3 "2024-06-04T15:30:25Z")

</div>

We would ideally like to remove the additional polyhedral handling, but it will still probably take quite a while (ie, don’t worry about it for now).
