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

Which Linux

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 11, 2008, 09:22
Default Hi, I have first to install
  #1
hsj
New Member
 
Hervé Socquet-Juglard
Join Date: Mar 2009
Posts: 1
Rep Power: 0
hsj is on a distinguished road
Hi,

I have first to install Linux on my machine before thinking about OpenFoam.

Which Linux distribution do you think I should install ?

When installing a Linux distribution, is it then easy to install OpenFoam ? Will I need to install extra packages to run OpenFoam ?

Regards,

Hervé
hsj is offline   Reply With Quote

Old   November 11, 2008, 09:47
Default Hi, I would suggest you to
  #2
Senior Member
 
Suresh kumar Kannan
Join Date: Mar 2009
Location: Luxembourg, Luxembourg, Luxembourg
Posts: 129
Rep Power: 17
kumar is on a distinguished road
Hi,
I would suggest you to go for UBUNTU 8.... just the latest version. As I had installed Openfoam just a few days back on my machine. The reason why i say that is you can download a script from the OpenFOAM forum which you can just run to install OpenFOAM and I did the same .
It is working fine for me.
Other good thing about UBUNTU is the synaptics package manager which is quiet handy to install required packages when you want. If you cannot find the script on the forum just let me know, I will send it to you.

Regards
K.Suresh kumar
kumar is offline   Reply With Quote

Old   November 11, 2008, 10:28
Default I recommend openSUSE for the e
  #3
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
I recommend openSUSE for the ease of use, the very powerful configuration tools (YaST), and the good hardware and community support: www.opensuse.org

Installing openFOAM on it means just downloading the packages from openCFD and follow their instructions. You won't need any additional package to use openFOAM on it.

With kind regards,
Alberto
__________________
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 12, 2008, 19:51
Default Dear K.Suresh kumar, I now
  #4
Member
 
Su Xiaohui
Join Date: Mar 2009
Location: Singapore
Posts: 30
Rep Power: 17
sxhdhi is on a distinguished road
Send a message via Skype™ to sxhdhi
Dear K.Suresh kumar,

I now follow your idea to install UBUNTU8.10. I still could not fix paraFoam problem. Could you please let me know which version of Qt you installed and how to install it and make it work? Thanks in Advance.

Regards

Su Xiaohui
sxhdhi is offline   Reply With Quote

Old   November 12, 2008, 20:49
Default Please post the error message
  #5
New Member
 
Bao, Kai
Join Date: Mar 2009
Posts: 5
Rep Power: 17
paean is on a distinguished road
Please post the error message and tell us the Qt version u used.

Regards,
Bao Kai
paean is offline   Reply With Quote

Old   November 13, 2008, 04:12
Default Hello Su Xiaohui,
  #6
Senior Member
 
Suresh kumar Kannan
Join Date: Mar 2009
Location: Luxembourg, Luxembourg, Luxembourg
Posts: 129
Rep Power: 17
kumar is on a distinguished road
Hello Su Xiaohui,
I use Qt4 and I have no problem in opening ParaFoam or doing postprocessing.
I suggest you to go to the Synaptics package manager from the systems menu of UBUNTU and then try to search for qt4 and then install the qt4 config... files. I hope this helps you to install qt.
But i think if you had run the script correctly without any error, you shouldnt have any problem in using ParaFoam as it takes care of the qt installation and other libraries required for Qt installation.

bye
Regards
K.Suresh kumar
kumar is offline   Reply With Quote

Old   November 28, 2008, 06:54
Default Hello, The issue of a "good
  #7
Senior Member
 
Rishi .
Join Date: Mar 2009
Posts: 149
Rep Power: 17
hellorishi is on a distinguished road
Hello,

The issue of a "good" Linux system has been asked often and I have tried installing OpenFOAM atleast 11 times (on a 32bit machine). So based on my experience, I would recommend the following in brief (detailed instruction/messages in another post on the forum):

SHORT VERSION:
1. Install OpenSuSE 10.3
DVD version comes loaded with most of the required development packages,libraries, etc. Click everything during installation (maybe except GAMES).
Only 2 packages are missing.

2. Install following packages from the DVD using YaST:
mpfr-2.2.1-45.i586.rpm
mpfr-devel-2.2.1-45.i586.rpm

3. Clean the Paraview platforms and recompile as mentioned in README.
~/OpenFOAM/ThirdParty> rm -rf ParaView3.3-cvs/platforms
~/OpenFOAM/ThirdParty> buildParaView3.3-cvs
~/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graphics/PV3FoamRe ader> ./Allwclean
~/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graphics/PV3FoamRe ader>./Allwmake

4. Ready to run first example as mentioned in Section 6(Getting Started) !

ciao
hellorishi is offline   Reply With Quote

Old   November 28, 2008, 11:56
Default Hello, if you use openSUSE
  #8
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
Hello,

if you use openSUSE 10.3, you don't need to install "everything except games" (that's huge! :-)), especially if you use what provided by third party packages you can download from OpenCFD website.

I would say you need to install the default proposal + the "C/C++ development" and "Qt development" patterns.

Regards,
A.
__________________
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   December 5, 2008, 10:45
Default I have Fedora 9 and I am havin
  #9
New Member
 
James E Boone
Join Date: Mar 2009
Location: Baton Rouge, LA, USA
Posts: 3
Rep Power: 17
jeboone is on a distinguished road
I have Fedora 9 and I am having trouble installing OpenFOAM - It looks like Fedora has QT3.3 - Has anyone installed OpenFOAM on Fedora
jeboone is offline   Reply With Quote

Old   December 5, 2008, 13:11
Default Hi James, In Fedora you nee
  #10
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
Hi James,

In Fedora you need to install Qt-4.3.5 (at least that worked for me) and rebuild ParaView. You can download the package qt-all-opensource-src-4.3.5.tar.gz from ftp://ftp.trolltech.com/qt/source. Put it in a temporary directory and unpack it by "tar xzf qt-all-opensource-src-4.3.5.tar.gz".
Then, go to the place it unpacked and configure for installation by "./configure". After that it will tell you that you can make Qt by typing "gmake" and after that "gmake install" (this may be "cmake" or just "make" for you).
Then, add this to your .profile file:

PATH=/usr/local/Trolltech/Qt-4.3.5/bin:$PATH
export PATH

In my case I also had to make a directory called "bin" in my home directory and copy the qmake executable there. After you have unpacked the OpenFOAM packages follow the recipe to rebuild ParaView from section 7 of the README:

A version of Qt 4.3.x must be installed to compile ParaView. The compilation is a fairly simple process using the supplied buildParaView3.3-cvs script that has worked is our tests with other packages supplied in the ThirdParty directory, namely cmake-2.4.6 and gcc-4.3.1. Execute the following:

* cd $FOAM_INST_DIR/ThirdParty
* rm -rf ParaView3.3-cvs/platforms
* buildParaView3.3-cvs

The PV3FoamReader module is an OpenFOAM utility that can be compiled in the usual manner as follows:

* cd $FOAM_UTILITIES/postProcessing/graphics/PV3FoamReader
* ./Allwclean
* ./Allwmake

Hope this helps, cheers, Gijs
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Old   December 5, 2008, 17:25
Default It worked great - very good ex
  #11
New Member
 
James E Boone
Join Date: Mar 2009
Location: Baton Rouge, LA, USA
Posts: 3
Rep Power: 17
jeboone is on a distinguished road
It worked great - very good explanation of what I needed. I had searched the trolltech site for a Qt4.3 version but all the search turn up was Qt4.4 which the OpenFOAM instruction said was not compatible. I didn't need to create the bin directory and put the qmake file in it. I added PATH=$PATH:/usr/local/Trolltech/Qt-4.3.5/bin to my .bashrc file. After refreshing the path I checked
which qmake
and it was in my path so I went on with the instructions. It all is working now.

Thanks and Have a great weekend
Jim
jeboone is offline   Reply With Quote

Old   December 6, 2008, 04:22
Default Hi Jim, You're very welcome
  #12
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
Hi Jim,

You're very welcome. I am happy you got it working. The right Qt package is not so easy to find, some digging is needed .

Great weekend for you too!

Cheers, Gijs
__________________
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
Which Linux for es-ice? Nari Siemens 1 September 9, 2007 10:40
CFX on Linux Ioakimidis Konstantinos CFX 7 August 3, 2007 12:05
Can Starcd for linux run in Linux Debian? help deisler Siemens 1 February 28, 2007 04:27
CFX 5.5.1 on Linux Armin CFX 2 July 24, 2002 05:00
NT to Linux Joel Phoenics 3 May 1, 2002 12:37


All times are GMT -4. The time now is 16:11.