CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Main CFD Forum (
-   -   Opensource CFD (

Ashfaque March 26, 2005 04:00

Opensource CFD
Hi, I'm searching for a comprehensive opensource CFD package. I've found OpenFOAM, Openflower and ADFC. Can anyone suggest anything better? I'm mainly interested in parallel solution of incompressible turbulent flows. Thanks Ashfaque

dpshaka March 27, 2005 03:27

Re: Opensource CFD
i think the openfoam is the best opensource software.

Márcio Ricardo April 1, 2005 08:07

Re: Opensource CFD
I've downloaded OpenFOAM, but I'm having problems to compile it. Does anybody knows how to get wmake for linux? I have only the gnu make, and it seems that wmake is avaiable only for windows. Is it right?

Hrvoje Jasak April 1, 2005 08:29

Re: Opensource CFD
This is shipped with OpenFOAM.

Basically, you should follow these steps (make sure you do as much sanity checking after each step as you possibly can because this is not standard GNU build):

1) unpack the general pack into ~/OpenFOAM. You will get something like:


2) Unpack the auxiliary tools into the directory:


You definitely need the gcc compiler, some post processing (always comes in handy) and java (if your native version is different):

coyote*375-> cd ../linux


coyote*376-> ls

total 117M

drwxr-x--- 16 hjasak foam 4.0K 2004-10-06 13:42 cmake-2.0.3

drwxr-x--- 4 hjasak foam 4.0K 2004-04-27 09:11 dx-4.3.2

drwxr-x--- 9 hjasak foam 4.0K 2005-01-06 05:52 gcc-3.4.3

drwxr-x--- 8 hjasak foam 4.0K 2004-12-13 17:38 gdb-6.2.1

drwxr-x--- 9 hjasak foam 4.0K 2004-07-06 07:52 j2sdk1.4.2_0

drwxr-x--- 5 hjasak foam 4.0K 2005-03-14 06:37 paraview-1.8.5

3) copy


into your home directory and add the following line into your .cshrc:

source $HOME/.OpenFOAM-1.1/cshrc

(there is an equivalent for bash if you really must)

4) source ~/.cshrc and do some checking. For example:

coyote*378-> which g++


coyote*379-> which wmake


5) Now we're close. Try running foamInstallationTest


and analyze the reported problems (if any).

Once you're happy, do the following: foam ; ./Allwmake

coyote*381-> foam


coyote*382-> ./Allwmake

and the whole thing should build.

There is some build documentation in the release + a forum for questions of this kind - have a look at:

Good luck,


dpshaka April 3, 2005 04:33

Re: Opensource CFD
what is your linux version

Márcio Ricardo April 11, 2005 12:42

Re: Opensource CFD
SuSE 9.2 with kernell 2.6

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