CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   Best Linux for use with open foam? (

Edward June 25, 2009 00:55

Best Linux for use with open foam?
Interested in using Open Foam to study microclimates.
What is best version of Linux to use with Open Foam?
(Red Hat, Ubunto, Knoppix, ...)

Edward Wade

christian_andersen June 25, 2009 01:51

Best Linux for OpenFOAM
Hi Edward,
I think all linux distroes should work with OpenFOAM, however if you are new to Linux I would personally recommend CentOS or OpenSUSE. If we are talking commercial Linux that corrosponds to Red Hat and SUSE.

I've just installed OpenFOAM on a friend of mine's laptop (Ubuntu 9.? 64bit) I had it working within 15 minutes.

So if you are using a laptop, and you would like to have wireless working smoothly together with BlueTooth - I would go for Ubuntu or similar distro.

My company pc that I use for OpenFOAM runs CentOS 5.2 64bit - and when I browse the web for help regarding Fluent/Gambit and OpenFOAM - I see that there is a lot of help for CentOS.

Im not an expert on Linux (yet), but this is my experience with Linux/OpenFOAM.


johanza June 25, 2009 13:16

Hey Edward,

I use openSuse 10.3, although 11.0 is probably the best now. OF 1.6 will be releast in a months time...
Have fun

isabel June 26, 2009 06:48

Have you installed ParaView on Ubuntu? I have a problem with Qt version

christian_andersen June 26, 2009 06:54

paraView on ubuntu
Hi Isabel,
I assume you were adressing your question to me?

Look at this qoute from the webpage:

The ParaView binary executables in the ThirdParty distribution will only work with PRECISELY the same version of Qt with which it was compiled. The 64-bit version of ParaView was compiled with Qt-4.3.1 (with openSuSE-10.3) and the 32-bit version of ParaView was compiled with Qt-4.3.2 (with ubuntu-7.10). If the user finds that a ParaView binary fails to run, then it is almost certainly due to a conflict in compiled and installed Qt versions and they will need to consult the section below on “Compiling ParaView and the PV3FoamReader module.”

You will need Qt-4.3.1.

isabel June 26, 2009 07:04

Thank you very much, Cristian.
I am working with Ubuntu 9.04.
How can I install Qt-4.3.1?

christian_andersen June 26, 2009 07:59

Install qt
sydo synaptic
search for qt

i think you might need to un-install other versions of qt and then install the correct version.

It is possible to use the command yum install qtxxx and yum remove qtxxx


linnemann June 29, 2009 07:39


I can say the same thing as Christian, with regards to choice of distribution.

For me it mostly depends on what kind of hardware it is used on. I have run OpenFOAM on a multitude of different linux operation systems.

I personally prefer a long term support distro like Ubuntu LTS, CentOS, Slackware.

It makes maintaining packages easier since for example CentOS 5 will have support at least until 2014, and our cluster (Rocks) is based on CentOS 5.

You can for example see here, where I have posted an OpenFOAM package with instructions to get it to works on a CentOS install.

But use the distro that fits your need and them make OpenFOAM work afterwards, there is a lot of help in the "OpenFOAM Installation" section of the forum.

I know people which are using OpenSUSE, Ubuntu and CentOS, but I have installed OpenFOAM on Slack, Fedora, Mepis, Linux mint without problems. Some are of course easier than other, but you can get it to work on them all.


elvis June 29, 2009 09:54

Maybe a Live Linux for a newcomer

there are also some "Live" Distributions that might be nice for a newcomer.

For the OpenFOAM-workshop in Montreal there was the SLAX Distri
read more

there you have got a working OpenFOAM1.5-dev from the SVN

or CAElinux 2009 (only 64bit supported) now based on Ubuntu with additional software like SALOME and netgen etc for more complex meshing software and some addition tutorials others than openfoam workshop.
read more

just my 2 cents


All times are GMT -4. The time now is 00:26.