|
[Sponsors] |
March 31, 2009, 05:41 |
New openfoam installation
|
#1 |
Senior Member
Phoevos
Join Date: Mar 2009
Posts: 104
Rep Power: 17 |
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. |
|
March 31, 2009, 06:26 |
|
#2 |
Senior Member
|
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 |
|
March 31, 2009, 15:18 |
|
#3 |
Senior Member
Phoevos
Join Date: Mar 2009
Posts: 104
Rep Power: 17 |
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. |
|
March 31, 2009, 16:06 |
|
#4 | |
Senior Member
|
fivos
You do not have to edit the ~/OpenFOAM/OpenFOAM-1.5/etcbashrc file do Quote:
then restart the terminal and run foamInstallationTest to check for missing software have fun -Louis |
||
April 1, 2009, 04:19 |
Qt
|
#5 |
Member
Join Date: Mar 2009
Location: Switzerland
Posts: 40
Rep Power: 17 |
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 |
|
April 1, 2009, 04:58 |
|
#6 |
Senior Member
Phoevos
Join Date: Mar 2009
Posts: 104
Rep Power: 17 |
Thanks everyone I installed it (the foam installation test doesnt give errors, so I hope it is ok).
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |