Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 453002 - sci-libs/openfoam-2.1.1 - Patches to make paraFoam work with Paraview 3.98.0
Summary: sci-libs/openfoam-2.1.1 - Patches to make paraFoam work with Paraview 3.98.0
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
Depends on:
Reported: 2013-01-19 15:53 UTC by Bernhard Dunkl
Modified: 2016-09-22 13:43 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---

ebuild patch (openfoam-2.1.1-r2.ebuild.patch,1.13 KB, patch)
2013-01-19 15:55 UTC, Bernhard Dunkl
Details | Diff
metadata patch (metadata.xml.patch,293 bytes, text/plain)
2013-01-19 15:56 UTC, Bernhard Dunkl

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Dunkl 2013-01-19 15:53:32 UTC
I have patched openfoam-2.1.1-r1 ebuild (found at 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.
Comment 1 Bernhard Dunkl 2013-01-19 15:55:18 UTC
Created attachment 336138 [details, diff]
ebuild patch
Comment 2 Bernhard Dunkl 2013-01-19 15:56:11 UTC
Created attachment 336140 [details]
metadata patch
Comment 3 Julian Ospald 2013-02-11 21:37:28 UTC
sci-visualization/paraview-3.98.0 is in the tree now
Comment 4 Bernhard Dunkl 2013-02-12 21:27:40 UTC
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
Comment 5 Bernhard Dunkl 2013-02-18 18:55:08 UTC
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 }
55 /*---------------------------------------------------------------------------*\
56                    Class vtkPV3blockMeshReader Declaration
57 \*---------------------------------------------------------------------------*/
59 class VTK_IO_EXPORT vtkPV3blockMeshReader
60 :
61     public vtkMultiBlockDataSetAlgorithm
62 {
63 public:
64     vtkTypeMacro(vtkPV3blockMeshReader, vtkMultiBlockDataSetAlgorithm);
65     void PrintSelf(ostream&, vtkIndent);
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, ...).
Comment 6 Bernhard Dunkl 2013-03-27 20:41:15 UTC
paraFoam currently only works with Paraview 3.12, see this bug report:

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.
Comment 7 Matthias Maier gentoo-dev 2016-09-22 13:43:56 UTC
Current openfoam version in tree support paraview 4.1 or higher.