CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation (
-   -   OpenFOAM 1.5.x package - CentOS 5.3 x86_64 (

linnemann June 4, 2009 09:20

OpenFOAM 1.5.x package - CentOS 5.3 x86_64
1 Attachment(s)
Hello all you Foamer's

I've decided to release at full package of a precompiled version of OpenFOAM 1.5.x for your delight. The package is split up into several sub packages, so if you have a working OpenFOAM installation and only want engrid you can unpack engrid and its dependencies and everything should work.

---------------- Included ----------------
- Cmake 2.6.4

- OpenFOAM 1.5.x (git 01-06-09) (flex, mpfr and gmp built from source)
- note paraFoam command will not work since I've altered the Paraview install, just create an empty "case.foam" in you case root folder, and paraview can open your case eg. $ touch cavity.foam

- Paraview 3.7 (cvs 01-06-09) and its dependencies.
- Built with qt-4.3.5, OpenFOAM version of openmpi, ffmpeg support (export to avi), and parallezied support for decomposed cases.

- Engrid 1.0.1 for creating meshes in a gui environment and its dependencies
built with qt-4.5.1, VTK-5.4 and latest netgen SVN.

- Meshlab 1.2.1 with glew, lib3ds and muParser built with qt-4.5.1

- Gmsh 2.3.1

- Compiled version of GCC-4.3.3

---------------- Install Instructions for the whole package ----------------

0. First you need to install the gcc and c++ compiler which is shipped with CentOS 5.3 - yum install gcc gcc-c++ (needed to compile not already precompiled OpenFOAM solvers, like MRFsimpleFoam)

1. Place the content of libraries.tar.gz into /usr/local and accept overwriting existing folders. The package contains the compiled libraries/executable of gmp. mpfr, flex and ffmpeg. if this step is skipped you wont be able to compile the OF extra solvers.

2. Unpack the content of OpenFOAM.tar.gz to /usr/local, this package contains the compiled libraries/executable which the Allmake command produces. The package also contains the thirdparty applications needed by OpenFOAM.

3. Unpack the content of vtk-5.4 to /usr/local (needed by engrid)

4. Unpack the content of Qt-4.5.1 to /usr/local (needed by engrid/Meshlab)

5. Unpack gmsh-2.3.1 to /usr/local

6. Unpack engrid-1.0.1.tar.gz to /usr/local

7. Unpack meshlab-1.2.1.tar.gz to /usr/local

8. Unpack paraview-3.7.tar.gz to /usr/local

9. Setup/copy the relevant content of the bashrc file to your own .bashrc file. This is also attached as bashrc.txt

If you want to use ParaView without the OpenFOAM install you need to unpack the openmpi.tar.gz to /usr/local since ParaView is built with MPI support.

There are extra packages in the package which is only needed if you consider compiling you own version of the included packages.

cmake-2.6.4.tar.gz - for VTK and ParaView
Qt-4.3.5.tar.gz - for ParaView
openmpi-1.2.6.tar.gz - MPI support for ParaView without an OpenFOAM installation
fltk-1.1.9.tar.gz - for gmsh

It is possible to install to another location other than /usr/local, all you have to do is to modify you own .bashrc file, the bashrc in OpenFOAM (/usr/local/OpenFOAM/OpenFOAM-1.5.x/etc/bashrc) and possibly also the file to point to the right directories.

---------------- Disclaimer ----------------
The package has been verified on a fresh minimal gnome install of CentOS 5.3 64bit

The package is "as is" and can only be guaranteed to work with a 64bit version of CentOS/RedHat/Scientific 5.3 (yum update could brake stuff, but i doubt it will). Or if in a cluster environment Rocks 5.2 beta (based on CentOS 5.3).

No RPM's will be availble since it is a combersome task to get this to work.
I don't have time to create an installer for this, so don't ask for it :-)

If other distributions are used, I can't help you.

---------------- Download ----------------
NOTE: The package is available through torrent.

I have found a way to host the file online and it should be possible to get it from here
Note this is the full package 1Gb

linnemann June 9, 2009 11:19


Upload now available

linnemann June 10, 2009 06:48

The package can now be downloaded from depositfiles

linnemann June 19, 2009 09:17


It would be nice if there are any people using this package :), to give some feedback, if things are working/not working.

Or if you have a request for something extra that aren't included.

Regards Linnemann

shchepan July 29, 2009 04:07

I've unpacked your file, but it doesn't work.
bashrc file have such code:

#User specific aliases and functions

. /usr/local/OpenFOAM/OpenFOAM-1.5.x/etc/bashrc

But there are no etc directory in unpacked files!
How can I solve this problem?

Thank you,

linnemann July 29, 2009 10:18


If you got it from depositfiles you have to unpack first the big file and then the smaller ones.

I dont know what could be the problem since the /etc folder exists inside the OpenFOAM.tar.gz when I download and unpack it.


shchepan July 30, 2009 02:42

thank you for answer.
I downloaded files from torrents. Ok, I'll try to get them from depositfiles.

linnemann July 30, 2009 03:14


The torrent files are guaranteed to work, I've used them several times. Have you done a data integrity check on the torrent files you downloaded? Using Ktorrent you have this possibility, I have encountered, before, that not all packages were downloaded.


All times are GMT -4. The time now is 06:46.