|
[Sponsors] |
November 23, 2009, 04:34 |
|
#21 |
Member
lynda
Join Date: Oct 2009
Posts: 52
Rep Power: 17 |
Hi
Thank you for your help. After installing OF, I tried to treat the example of "cavity" in README file mentioned in Section 6, I got "0.1, 0.2, 0.3, 0.4, 0.5" folders I did not get the display on screen as it appears in User Guide (Figure 6.1), see the attached file Thank you |
|
November 23, 2009, 04:39 |
viewing
|
#22 |
Member
lynda
Join Date: Oct 2009
Posts: 52
Rep Power: 17 |
Hi
Thank you for your help. After installing OF, I tried to treat the example of "cavity" in README file mentioned in Section 6, I got "0.1, 0.2, 0.3, 0.4, 0.5" folders I did not get the display on screen as it appears in User Guide (Figure 6.1), see the attached file Thank you |
|
November 23, 2009, 04:45 |
|
#23 | |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
Quote:
Refer to section seven of the README for the compilation of ParaView and your problem will be gone. EDIT: gwierink suggested it allready in Post #16.
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
||
November 23, 2009, 05:03 |
|
#24 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Hi Lynda,
Now you seemingly managed to compile paraFoam. The reason ParaView cannot find a reader for your case is probably that you have not yet recompiled the PV3FoamReader (as indeed mentioned in the README file). For this do the following: Code:
cd $FOAM_UTILITIES/postProcessing/graphics/PV3FoamReader Code:
./Allwclean Code:
./Allwmake |
|
November 23, 2009, 07:45 |
|
#25 |
Member
lynda
Join Date: Oct 2009
Posts: 52
Rep Power: 17 |
Hi
when I typed in my terminal "./Allwmake" , I have the following result; In file included from /root/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkSystemIncludes.h:44, from /root/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkIndent.h:24, from /root/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkObjectBase.h:43, from /root/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkObject.h:41, from /root/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Filtering/vtkAlgorithm.h:32, from /root/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Filtering/vtkMultiBlockDataSetAlgorithm.h:25, from ../PV3FoamReader/vtkPV3FoamReader.h:31, from vtkPV3Foam.C:28: /root/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkType.h:165:3: error: #error "No native data type can represent an 8-bit integer." /root/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkType.h:180:3: error: #error "No native data type can represent a 16-bit integer." /root/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkType.h:195:3: error: #error "No native data type can represent a 32-bit integer." /root/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkType.h:215:3: error: #error "No native data type can represent a 64-bit integer." /root/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkType.h:223:3: error: #error "No native data type can represent a 32-bit floating point value." /root/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkType.h:231:3: error: #error "No native data type can represent a 64-bit floating point value." make: *** [Make/linux64GccDPOpt/vtkPV3Foam.o] Erreur 1 + cd PV3FoamReader + mkdir -p Make/linux64GccDPOpt + cd Make/linux64GccDPOpt + cmake ../.. ./Allwmake: line 14: cmake: command not found + make make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt. |
|
November 23, 2009, 07:47 |
|
#26 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
You will have to install cmake before!
BTW: Still trying to install in the root-directory?
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
November 23, 2009, 08:29 |
|
#27 |
Member
lynda
Join Date: Oct 2009
Posts: 52
Rep Power: 17 |
I installed cmake, I have other problem
I have the following result; . . . . /root/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkType.h:165:3: error: #error "No native data type can represent an 8-bit integer." /root/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkType.h:180:3: error: #error "No native data type can represent a 16-bit integer." /root/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkType.h:195:3: error: #error "No native data type can represent a 32-bit integer." /root/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkType.h:215:3: error: #error "No native data type can represent a 64-bit integer." /root/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkType.h:223:3: error: #error "No native data type can represent a 32-bit floating point value." /root/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkType.h:231:3: error: #error "No native data type can represent a 64-bit floating point value." make: *** [Make/linux64GccDPOpt/vtkPV3Foam.o] Erreur 1 + cd PV3FoamReader + mkdir -p Make/linux64GccDPOpt + cd Make/linux64GccDPOpt + cmake ../.. -- Check for working C compiler: /root/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux64/bin/gcc -- Check for working C compiler: /root/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux64/bin/gcc -- works -- Check size of void* -- Check size of void* - done -- Check for working CXX compiler: /root/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux64/bin/c++ -- Check for working CXX compiler: /root/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux64/bin/c++ -- works CMake Error: ParaView_DIR is not set. It must be set to the directory containing ParaViewConfig.cmake in order to use ParaView. -- Configuring done + make make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt. [root@localhost PV3FoamReader]# |
|
November 23, 2009, 08:34 |
|
#28 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
This may be (I'm not sure) because you are installing in the root-directory and not in your user account. (Why did you do this again?)
Check for section 3.1 in the README. Maybe this will solve the problem.
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
November 23, 2009, 08:37 |
|
#29 |
Senior Member
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 23 |
Why use Fedora when you aren't comfortable with Linux? Why not use Ubuntu or OpenSuse?
Why are you installing as root? I would think about the answers to those questions before proceeding further.
__________________
Laurence R. McGlashan :: Website |
|
November 23, 2009, 19:04 |
|
#30 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Just a hint for the paraFoam reader problems. The reader is a bit sensitive to the version of Qt you use. For example, I did not manage to make it work correctly, even if it builds, on OpenSUSE 11.2, where it launches paraview, it opens the case but it does not show data or it shows them not correctly.
You can easily workaround the problem using pvFoam, that can be downloaded from the wiki: http://openfoamwiki.net/index.php/Co...r_for_ParaView Simply build it, and copy the pvFoam bash script in a directory included in your PATH. Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
November 30, 2009, 06:43 |
|
#31 |
Member
lynda
Join Date: Oct 2009
Posts: 52
Rep Power: 17 |
Hi
when I typed in my terminal "./Allwmake" , I have other problem I have the following result; ************************************************** ************************************************** **************** . . . . -- Build files have been written to: /root/OpenFOAM/OpenFOAM-1.6/applications/utilities/postProcessing/graphics/PV3FoamReader/PV3FoamReader/Make/linux64GccDPOpt + make [ 8%] Generating qrc_PV3FoamReader.cxx [ 16%] Generating moc_PV3FoamReaderPluginImplementation.cxx Scanning dependencies of target PV3FoamReader [ 25%] Building CXX object CMakeFiles/PV3FoamReader.dir/moc_PV3FoamReaderPluginImplementation.o [ 33%] Building CXX object CMakeFiles/PV3FoamReader.dir/PV3FoamReaderPluginImplementation.o [ 41%] Building CXX object CMakeFiles/PV3FoamReader.dir/qrc_PV3FoamReader.o Linking CXX shared library /root/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libPV3FoamReader.so /usr/bin/ld: cannot find -lpqComponents collect2: ld returned 1 exit status make[2]: *** [/root/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libPV3FoamReader.so] Erreur 1 make[1]: *** [CMakeFiles/PV3FoamReader.dir/all] Erreur 2 make: *** [all] Erreur 2 ************************************************** ************************************************** **************** please help me thank you |
|
December 2, 2009, 10:16 |
|
#32 |
Member
lynda
Join Date: Oct 2009
Posts: 52
Rep Power: 17 |
Hi
when I typed in my terminal "./Allwmake" , I have other problem I have the following result; ************************************************** ************************************************** **************** . . . . -- Build files have been written to: /root/OpenFOAM/OpenFOAM-1.6/applications/utilities/postProcessing/graphics/PV3FoamReader/PV3FoamReader/Make/linux64GccDPOpt + make [ 8%] Generating qrc_PV3FoamReader.cxx [ 16%] Generating moc_PV3FoamReaderPluginImplementation.cxx Scanning dependencies of target PV3FoamReader [ 25%] Building CXX object CMakeFiles/PV3FoamReader.dir/moc_PV3FoamReaderPluginImplementation.o [ 33%] Building CXX object CMakeFiles/PV3FoamReader.dir/PV3FoamReaderPluginImplementation.o [ 41%] Building CXX object CMakeFiles/PV3FoamReader.dir/qrc_PV3FoamReader.o Linking CXX shared library /root/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libPV3FoamReader.so /usr/bin/ld: cannot find -lpqComponents collect2: ld returned 1 exit status make[2]: *** [/root/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libPV3FoamReader.so] Erreur 1 make[1]: *** [CMakeFiles/PV3FoamReader.dir/all] Erreur 2 make: *** [all] Erreur 2 ************************************************** ************************************************** *********** in this [/root/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libPV3FoamReader.so] path I don't find the "libPV3FoamReader.so" file. I found the "libPV3FoamReader_SM.so" file instead of "libPV3FoamReader.so" file Please help me thank you |
|
January 4, 2010, 09:26 |
installation OF
|
#33 |
Member
lynda
Join Date: Oct 2009
Posts: 52
Rep Power: 17 |
Hi
please help me, I have a great problem ! I have used the Fedora7 distribution for the installation of OF , but I found problem in the post processing (ParaFoam). Is it due to the fedora distribution ? or to the Qt,.... versions? please send me the well distribution of de Linux and the versions of the all corresponding logiciels to install the OF thank you |
|
January 4, 2010, 09:39 |
|
#34 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Fedora 7? Hmm, I don't know, the oldest Fedora I used was 9. The Qt version I used is 4.3.5 and can be found on Trolltech's website: ftp://ftp.trolltech.no/qt/source/ (get package qt-x11-opensource-src-4.3.5.tar.gz). The distributions I use/have used are Fedora 10 and 11, Ubuntu, and OpenSUSE. OF worked just fine on my older Fedora 9 as well, but never tried F7. If you're really stuck I suggest you install ParaView and use foamToVTK.
__________________
Regards, Gijs |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Critical errors during OpenFoam installation in OpenSuse 11.0 | amscosta | OpenFOAM | 5 | May 1, 2009 15:06 |
OpenFOAM 1.5 installation on OpenSUSE 11.0 | bigphil | OpenFOAM Installation | 16 | April 29, 2009 07:28 |
Problem installing OpenFOAM 1.5 installation on RHEL 4. | vwsj84 | OpenFOAM Installation | 4 | April 23, 2009 05:48 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |