I’m using ParaView to post-process OpenFOAM simulations.
After moving from ParaView 5.11 to 5.13/5.13.1, I noticed a huge drop in performance for the slice filter.
Slicing a relatively small dataset (3 millions cells) in 5.11 took under 3 seconds, while the same slice in 5.13 takes 2min55…
I noticed changes in the slice filter in 5.13 (point merge method selection instead of the old “Merge duplicated points in the slice” option) but I cannot find a way to get faster slices.
I have the same behavior using the OpenFOAM and EnSight readers. (multi-block dataset with unstructured grid)
Is there a way to retrieve the old behavior and get back faster slicing?
Hi @Yann, can you share an OpenFOAM dataset or point to a public dataset that shows this slowdown? A statefile with the property settings for the Slice filter would be helpful as well.
I am using unstructured grids, and the performance is not great.
I found a (stupid ?) workaround: make a contour at fixed coordinates. this works way faster, but is a weird solution
So i figured out the issue. It’s easy to fix. And it’s only related to meshes with polyhedrons (this mesh) and some other fancy cell types that were missing from a switch case.
Just a short remark regarding polyhedral and other fancy cell types. Modern cfd codes treat all cells as polyhedral. This is the basic cell type. Hexas and Tetras are just normal polyhedral cells. So it would be very good to develope ParaView in this direction. Unfortunately, support for polyhedra in PV is still very rudimentary.
I strongly disagree with your statement, making everything polyhedron is a great approach for simulation but not a viable approach for efficient, real time visualization.
While there are still some areas to improve, polyhedra are supported quite well in ParaView. As we work with more people in the community and identify places for improvement, support and performance will get even better.
There is a reason why the polys are used. One polyhedron corresponds to about 5 tetrahedrons. If we decompose a mesh beforehand, the post-processing takes significantly longer than the simulation itself and also requires more main memory. This is really not a feasible way.
That’s the first time i heard about this warning. Please post an issue that described the issue and provides steps to reproduce it potentially with dataset that you have (small version).
One polyhedron can correspond to pretty much anything 3D shaped like.
That being said, polyhedrons are very complex elements within the sci-viz domain for various reasons.
We have been trying to improve their performance lately, but we can only work on what we have funding for, or it’s contributed to VTK/ParaView.
If you wanna contribute something, feel free to do so. If you have particular needs that you would like us to resolve, please reach out to us (Kitware) to create a support contract.