CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   installation and tutorials (

fferroni January 7, 2012 14:29

installation and tutorials

I am a complete OpenFOAM novice, and would kindly like to ask a question regarding installation and usage of openFOAM.

I installed openFOAM using a pre-compiled .dmg and file ( I created a directory ~/OpenFOAM/images/ so to avoid having to change any of your scripts. I then issued the commands, and setup_foam, and it apparently works. Here is the message:

Francesco-Ferronis-MacBook-Pro:~ MacbookPro$ setup_foam
expected CRC32 $CC188D9D
/dev/disk1 Apple_partition_scheme
/dev/disk1s1 Apple_partition_map
/dev/disk1s2 Apple_HFSX
/dev/disk2 GUID_partition_scheme
/dev/disk2s1 EFI
/dev/disk2s2 Apple_HFS

From this, I get a OpenFOAM_1.7.x and a MacbookPro-1.7.x image on my Desktop. The MacbookPro-1.7.x is EMPTY. (Is this normal?)

As I'm a novice, predictably I went to try out a few tutorials (i.e. the cavity flow The first command it says to issue is:

cd $FOAM_RUN/tutorials/incompressible/icoFoam/cavity

However, running this prompt via, I get that there is no such file or directory. So perhaps it is something wrong with my installation or am I being a complete tit about something else?

Thank you again,

Kind Regards,


wyldckat January 8, 2012 17:49

Greetings Francesco,

I don't have access to a Mac so all I can say is this:
Best regards and good luck!

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