ParaFoam crashes loading mesh made using snappyHexMesh
Hello developer(s), I am Ramkumar.
Recently I compiled OpenFOAM v2112 along with ParaView 5.10 that comes with it, on a Ubuntu 20.04 machine. Then I prepared a simulation case setup in which I used snappyHexMesh to generate the mesh, when i try to visualize the mesh in ParaView using command paraFoam
, ParaView immediately crashes. To understand what is the issue, I created a foam file using touch case.foam
and tried loading it in ParaView using command paraview case.foam
. There i was able to visualize the mesh properly.
To narrow down further, i tried loading the background mesh that was created using blockMesh
containing only pure hex cells, using paraFoam
, and i was able to load/visualize it there. So, the issue is that, paraview
was able to load mesh with polyhedral cells but paraFoam
crashes when loading it, but paraFoam
works fine with pure hex mesh. I guess it is something to do with PVFoamReader.
I think this is not a bug, but something i am missing during compilation. Because, if it was a bug, then i am sure that you might have caught it long before me. I couldn't find any support for this on forums and other community places, so i came here.
For your reference, I have attached log.paraviewCompilation log file which is made during ParaView compilation and, log.recompile this log is made during second run of ./Allwmake
after compiling paraview. and log.paraFoamRun this is the log of error output that i got when paraFoam
crashes.
FYI, i need paraFoam for my work, as those plugins i get with are very helpful. otherwise i could have gone for regular paraview. I followed all the steps mentioned in the user guide for compilation.
Could you please help me in fixing this issue?. I got almost same one on compiling v2206 on a Ubuntu 22.04 machine.