CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

installation OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 23, 2009, 04:34
Default
  #21
Member
 
lynda
Join Date: Oct 2009
Posts: 52
Rep Power: 17
lyna is on a distinguished road
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
Attached Images
File Type: jpg Capture.jpg (61.5 KB, 4 views)
lyna is offline   Reply With Quote

Old   November 23, 2009, 04:39
Default viewing
  #22
Member
 
lynda
Join Date: Oct 2009
Posts: 52
Rep Power: 17
lyna is on a distinguished road
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
Attached Images
File Type: jpg Capture.jpg (61.5 KB, 2 views)
lyna is offline   Reply With Quote

Old   November 23, 2009, 04:45
Default
  #23
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
Quote:
Originally Posted by lyna View Post
After installing OF, I tried to treat the example of "cavity" in README file mentioned in Section 6
I think you didn't install as mentioned in the README file.
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!"
sega is offline   Reply With Quote

Old   November 23, 2009, 05:03
Default
  #24
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
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
(Note again the dot (".") before the command)
gwierink is offline   Reply With Quote

Old   November 23, 2009, 07:45
Default
  #25
Member
 
lynda
Join Date: Oct 2009
Posts: 52
Rep Power: 17
lyna is on a distinguished road
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.
lyna is offline   Reply With Quote

Old   November 23, 2009, 07:47
Default
  #26
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
Quote:
Originally Posted by lyna View Post
./Allwmake: line 14: cmake: command not found
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!"
sega is offline   Reply With Quote

Old   November 23, 2009, 08:29
Default
  #27
Member
 
lynda
Join Date: Oct 2009
Posts: 52
Rep Power: 17
lyna is on a distinguished road
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]#
lyna is offline   Reply With Quote

Old   November 23, 2009, 08:34
Default
  #28
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
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!"
sega is offline   Reply With Quote

Old   November 23, 2009, 08:37
Default
  #29
Senior Member
 
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 23
l_r_mcglashan will become famous soon enough
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
l_r_mcglashan is offline   Reply With Quote

Old   November 23, 2009, 19:04
Default
  #30
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
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.
alberto is offline   Reply With Quote

Old   November 30, 2009, 06:43
Default
  #31
Member
 
lynda
Join Date: Oct 2009
Posts: 52
Rep Power: 17
lyna is on a distinguished road
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
lyna is offline   Reply With Quote

Old   December 2, 2009, 10:16
Default
  #32
Member
 
lynda
Join Date: Oct 2009
Posts: 52
Rep Power: 17
lyna is on a distinguished road
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
lyna is offline   Reply With Quote

Old   January 4, 2010, 09:26
Default installation OF
  #33
Member
 
lynda
Join Date: Oct 2009
Posts: 52
Rep Power: 17
lyna is on a distinguished road
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
lyna is offline   Reply With Quote

Old   January 4, 2010, 09:39
Default
  #34
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
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
gwierink is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 07:22.