I have patched openfoam-2.1.1-r1 ebuild (found at https://bugs.gentoo.org/show_bug.cgi?id=402895#c3) to make integrated post processing with Paraview work (paraFoam). I have successfully tested it with Paraview 3.12.0 from the science overlay. It is the first time I have put my hands on an ebuild, so please let me know if I have made a mistake.
Created attachment 336138 [details, diff] ebuild patch
Created attachment 336140 [details] metadata patch
sci-visualization/paraview-3.98.0 is in the tree now
I modified the openfoam ebuild to work with paraview-3.98.0 and tried to upgrade. But paraview-3.98.0 failed to compile, see https://bugs.gentoo.org/show_bug.cgi?id=456996.
I get an error, when I try to make paraFoam work with ParaView-3.98: In file included from vtkPV3blockMesh.C:27:0: ../PV3blockMeshReader/vtkPV3blockMeshReader.h:60:1: error: expected initializer before ':' token make: *** [Make/linux64GccDPOpt/vtkPV3blockMesh.o] Error 1 Here are the affected lines in vtkPV3blockMeshReader.h: 50 namespace Foam 51 { 52 class vtkPV3blockMesh; 53 } 54 55 /*---------------------------------------------------------------------------*\ 56 Class vtkPV3blockMeshReader Declaration 57 \*---------------------------------------------------------------------------*/ 58 59 class VTK_IO_EXPORT vtkPV3blockMeshReader 60 : 61 public vtkMultiBlockDataSetAlgorithm 62 { 63 public: 64 vtkTypeMacro(vtkPV3blockMeshReader, vtkMultiBlockDataSetAlgorithm); 65 void PrintSelf(ostream&, vtkIndent); 66 67 static vtkPV3blockMeshReader* New(); I am not familiar with c++, so can someone please help me. Tell me if you need more info (full log, source files, ...).
paraFoam currently only works with Paraview 3.12, see this bug report: http://openfoam.org/mantisbt/view.php?id=621 I found that there is a native OpenFOAM reader in newer versions of ParaView, which works well for me as a replacement of paraFoam. In my point of view we can close this bug report.
Current openfoam version in tree support paraview 4.1 or higher.