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

OpenFOAM 2.0.x on Fedora 16 64-bit

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By JonW

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 22, 2011, 11:31
Default OpenFOAM 2.0.x on Fedora 16 64-bit
  #1
Senior Member
 
Jon Elvar Wallevik
Join Date: Nov 2010
Location: Reykjavik, ICELAND
Posts: 103
Rep Power: 19
JonW will become famous soon enough
Hi there foamers
just installed OF 2.0.x on Fedora 16 64-bit, without problem:
Here is the procedure (basically the same as for Fedora 14 64-bit):
Note I haven't bothered in compiling paraFoam. Instead I install paraview
and use foamToVTK after each simulation (yum install paraview).

-------------------------------------------------------
Step 1: (some repetitions here, haven't clean this up, but don't worry)
yum install gcc gcc-c++ binutils-devel flex git-core wget cmake qt4-devel python-devel readline-devel bison
yum install gcc gcc-c++ bison ncurses-devel tix.x86_64 glibc-devel flex zlib-devel libXt-devel
yum install binutils-static python-devel qt-devel cmake flex
-------------------------------------------------------
Step 2:
cd
mkdir OpenFOAM
cd OpenFOAM/
git clone git://github.com/OpenFOAM/OpenFOAM-2.0.x.git
-------------------------------------------------------
Step 3:
Download ThirdParty-2.0.1.gtgz from http://www.openfoam.org/git.php
(make sure it is OK with md5sum)

... After successful download, move the file to ~/OpenFOAM
tar xzf ThirdParty-2.0.1.gtgz
mv ThirdParty-2.0.1 ThirdParty-2.0.x
-------------------------------------------------------
Step 4:
edit your .bashrc file in ~/ and activate openfoam paths by adding (NOTE remember the dot,... that is the "." before !!!)

. $HOME/OpenFOAM/OpenFOAM-2.0.x/etc/bashrc

after the "# User specific aliases and functions" text.
-------------------------------------------------------
Step 5:
Open new terminal and make sure that your paths are active
type "echo $PATH" and you should see lot of openfoam stuff
-------------------------------------------------------
Step 6: (this is optional)
export WM_NCOMPPROCS=$(cat /proc/cpuinfo | grep processor | wc -l)
-------------------------------------------------------
Step 7:
cd $WM_PROJECT_DIR
foamSystemCheck
-------------------------------------------------------
Step 8:
./Allwmake | tee wmake_log_file_dxxxxxx.txt
-------------------------------------------------------
Step 9:
mkdir -p $FOAM_SITE_APPBIN
mkdir -p $FOAM_SITE_LIBBIN
foamInstallationTest
-------------------------------------------------------
Step 10: To check if everything is OK

mkdir -p $FOAM_RUN
cp -r $FOAM_TUTORIALS $FOAM_RUN
cd $FOAM_RUN/tutorials/incompressible/icoFoam/cavity

blockMesh
icoFoam
foamToVTK
paraview & ... and open the file in the ./VTK to see the cfd result
-------------------------------------------------------

Hope this is of help for the newcomers
Jon
wyldckat likes this.
JonW 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
How to Install OpenFOAM on 64 Ubuntu 9.04 hansel OpenFOAM Installation 62 March 19, 2010 15:43
Openfoam Installtion on Linux Fedora devesh.baghel OpenFOAM 1 November 16, 2009 18:43
OpenFOAM 1.5.x package - CentOS 5.3 x86_64 linnemann OpenFOAM Installation 7 July 30, 2009 04:14
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 06:56
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 14:50


All times are GMT -4. The time now is 10:56.