OpenFOAM reader decompose polyhedra create invalid pyramid cell
When reading an OpenFOAM dataset with DecomposePolyhedra to on, the result can be incorrect.
Steps to reproduce:
- Open this OpenFOAM dataset: https://drive.google.com/file/d/12gctaRR8E1bwHIydpTho4PGANiOxoQfx/view?usp=sharing
- Uncheck DecomposePolyhedra, Apply
- Cell 366146 is a strange but valid polyhedron: poly.vtu
- Check DecomposePolyhedra, Apply
- One of the cell decomposed from the previous poly, Cell 1323920, is an invalid vtkPyramid: pyra.vtu