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

New openfoam installation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 31, 2009, 05:41
Default New openfoam installation
  #1
Senior Member
 
Phoevos
Join Date: Mar 2009
Posts: 104
Rep Power: 17
fivos is on a distinguished road
Hi everyone,
I would like to use OpenFoam for fluid modelling. Unfortunately I am new to linux and I have just made a new installation of the Ubuntu 8.10 64-bit. I am trying to find how exactly to install OpenFoam, but the installation guide in the openfoam web page (http://www.opencfd.co.uk/openfoam/linux64.html) is not very detailed. I' ve read several other guides but I still feel confused. Can someone who has installed it succesfully, please explain me the exact procedure of the installation? I have downloaded the 64-bit version of the openfoam and third party software. What else do I need to download? Also where can I find the Qt library 4.3.x.? In synaptic I only found the Qt4.4. Is there any detailed guide on the internet?
Any help will be appreciated.
fivos is offline   Reply With Quote

Old   March 31, 2009, 06:26
Default
  #2
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 215
Rep Power: 18
santos is on a distinguished road
Send a message via Skype™ to santos
Hi Fivos,

1 - Create the OpenFOAM main directory:
mkdir ~/OpenFOAM

2 - Unpack OpenFOAM-1.5.General, OpenFOAM-1.5.linux64, ThirdParty.General and ThirdParty.linux64 (in this order):
cd ~/OpenFOAM
tar xzf OpenFOAM-1.5.General.gtgz
tar xzf OpenFOAM-1.5.linux64GccDPOpt.gtgz
tar xzf ThirdParty.General.gtgz
tar xzf ThirdParty.linux64Gcc.gtgz

3 - Edit your ~/.bashrc file:
gedit ~/.bashrc
<add this at the bottom of the file>
. $HOME/OpenFOAM/OpenFOAM-1.5/etc/bashrc
<save the file and exit>

4 - Source the updated bashrc file:
. ~/.bashrc

5 - Test your OpenFOAM installation:
tut
cd icoFoam/cavity
blockMesh
icoFoam
paraFoam

Regards,
Jose Santos
santos is offline   Reply With Quote

Old   March 31, 2009, 15:18
Default
  #3
Senior Member
 
Phoevos
Join Date: Mar 2009
Posts: 104
Rep Power: 17
fivos is on a distinguished road
Dear Jose Santos,
Could you please be more specific at the 4th step (4 - Source the updated bashrc file:
. ~/.bashrc)? How can I do that ?
First of all the bashrc file I have to modify is located at ~/OpenFOAM/OpenFOAM-1.5/etc
is that correct? After modifying that file I typed the command you mentioned
(. ~/.bashrc) but it does nothing, it says No such file or directory.
Any ideas for that?

Thanks in advance.
fivos is offline   Reply With Quote

Old   March 31, 2009, 16:06
Default
  #4
Senior Member
 
louisgag's Avatar
 
Louis Gagnon
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 338
Rep Power: 18
louisgag is on a distinguished road
Send a message via ICQ to louisgag
fivos

You do not have to edit the ~/OpenFOAM/OpenFOAM-1.5/etcbashrc file

do
Quote:
3 - Edit your ~/.bashrc file:
gedit ~/.bashrc
<add this at the bottom of the file>
. $HOME/OpenFOAM/OpenFOAM-1.5/etc/bashrc
<save the file and exit>
In ubuntu 8.10 you'll have to actually create the ~/.bashrc file

then restart the terminal and run foamInstallationTest to check for missing software

have fun

-Louis
louisgag is offline   Reply With Quote

Old   April 1, 2009, 04:19
Default Qt
  #5
Member
 
sushant's Avatar
 
Join Date: Mar 2009
Location: Switzerland
Posts: 40
Rep Power: 17
sushant is on a distinguished road
About Qt: you shouldn't worry about 4.4, I was able to successfully build and run Paraview (the bundled version) even with Qt 4.4.3. When you run paraFoam you'll come to know whether Paraview is up and running fine.

Sushant
sushant is offline   Reply With Quote

Old   April 1, 2009, 04:58
Default
  #6
Senior Member
 
Phoevos
Join Date: Mar 2009
Posts: 104
Rep Power: 17
fivos is on a distinguished road
Thanks everyone I installed it (the foam installation test doesnt give errors, so I hope it is ok).
fivos is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
OpenFOAM 15 and CentOS 52 installation issues remrich OpenFOAM Bugs 9 March 20, 2009 02:48
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 15:25
Problem in installation of OpenFOAM sachin OpenFOAM Installation 7 January 22, 2008 02:40
OpenFOAM installation on SUSE92 problems derath OpenFOAM Installation 1 April 3, 2006 07:44


All times are GMT -4. The time now is 03:45.