Installation paraFoam - still problem
I was in another thread but maybe not the most appropriate....
I saw many threads on this forum about paraFoam. I am still not getting how to handle to complete the OpenFoam installation.
Actually first steps works well...but when comes the time to run paraFoam..it does not work so I search on forums and manuals...find "Compiling Paraview 3.6.1 and the PV3FoamReader module", install locally qt as explained.
I come to Code:
at that point I got problem with cmake so I install a local version of cmake (2.8)
Change some paths to find the correct executable. At the end I come to get this error and I am not getting what to do at that point...some help please ?
make: *** [Make/linux64GccDPOpt/vtkPV3Foam.o] Error 1
+ cd PV3FoamReader
+ mkdir -p Make/linux64GccDPOpt
+ cd Make/linux64GccDPOpt
+ set ParaView_DIR=/nishome/nhl/OpenFOAM/ThirdParty-1.6/paraview-3.6.1
+ /usr/local/cmake-2.8.1-Linux-i386/bin/cmake ../..
CMake Error at CMakeLists.txt:12 (FIND_PACKAGE):
Could not find module FindParaView.cmake or a configuration file for
Adjust CMAKE_MODULE_PATH to find FindParaView.cmake or set ParaView_DIR to
the directory containing a CMake configuration file for ParaView. The file
will have one of the following names:
CMake Error at CMakeLists.txt:13 (INCLUDE):
include called with wrong number of arguments. Include only takes one
CMake Error at CMakeLists.txt:37 (ADD_PARAVIEW_PLUGIN):
Unknown CMake command "ADD_PARAVIEW_PLUGIN".
-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found. Stop.
If I have already paraview installed (3.8), how can I set openfoam to use it for paraFoam ?
My station is Linux Red Hat 5.3 Linux 64bit...I "installed" OF 1.6..
I went a little bit further...by setting the Paraview_DIR...the script correctly find ParaViewConfig.cmake file...but now I got a new error when executing ./Allwmake in PV3Foam reader folder....
Any help would be appreciate.
Greetings Nico and welcome to the forum!
I guess the thread you initially mentioned was this one: http://www.cfd-online.com/Forums/ope...-parafoam.html
Actually you were right to post there, but personally I didn't pick up on it's existence :(
OK, as for ParaView 3.6.1, I have a question for you: did you build ParaView using the script makeParaView that is available in the ThirdParty-1.6 folder??
My suggestion is to follow the thread I've help on how to install ParaView 3.6.1:
As for ParaView 3.8.0, you won't need to build PV3FoamReader since it already has a very good native reader built in ParaView. You can change in the script OpenFOAM-1.6/bin/paraFoam were it says ".OpenFOAM" to ".foam", since ParaView 3.8.0 expects that "foam" is the file extension for OpenFOAM cases. Now, for OpenFOAM to have direct access to the binary file paraview, you should edit the file OpenFOAM-1.6/etc/apps/paraview3/bashrc and tweak it to suit your needs... or in other words, change the script in order for it to make it point to your ParaView 3.8.0 installation instead of OpenFOAM's 3.6.1 version!
Thanks to help me to go through this.
Concerning paraview 3.6.1, I compiled Paraview with a local version of Qt that I download following your recommandations in another thread.
Now for the 3.8.0, I make the corrections that you mention in the script OpenFOAM-1.6/etc/apps/paraview3/bashrc and in the paraFoam script....I come to succesfully launched paraview with paraFoam command (tutorial cavity case). But a "nice" GUI opens with an error saying that : "a reader can not be found.Please choose one" and I got many formats...but nothing seems to be related to OpenFoam data. I guess it is problems related to paraview...But do you have any ideas ?
Actually I don't care about the ParaView version..just one that works will be fine enough. Thanks again for the support.
Ok I re-download Paraview 3.8.0. and it appears that my version was quite different. It was named RC1.
I do not know what that means..but now in that version, the reader is present as I do not have any more trouble.
Yes that means that the installation of OpenFoam is fully done !!!
Thank you again Bruno for your support and for the last threads that you post.
I'm glad it's finally working and you're welcome :)
Indeed, the reader was accidentally missing in the RC1, which was quickly noticed and reported to the PV developers by Fabian Braennstroem. Really appreciated!
|All times are GMT -4. The time now is 07:27.|