|
[Sponsors] |
May 1, 2012, 08:34 |
Installation on Ubuntu 12.04 LTS
|
#1 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19 |
Dear all,
I am going to install OpenFOAM 2.1. It seems, from here, that it is not still available the pre-built edition for Ubuntu 12.04. Is that right? When will it be available? Thanks a lot, Samuele. |
|
May 1, 2012, 12:10 |
|
#2 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Samuele,
I'm going to quote myself from another thread: Quote:
Best regards, Bruno
__________________
|
||
May 1, 2012, 16:29 |
|
#3 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19 |
Dear Bruno,
I successefully installed OF2.1 on Ubuntu 12.04. The point is that I haven't been able to set paraview. I install it, but it seems that some links to the different libraries are missing. Any hint? Last edited by samiam1000; May 2, 2012 at 06:51. |
|
May 2, 2012, 07:24 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Don't have much time...
Install ParaView from Ubuntu: Code:
sudo apt-get install paraview Code:
paraFoam -builtin
__________________
|
|
May 2, 2012, 07:26 |
|
#5 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19 |
Thanks a lot!
|
|
May 9, 2012, 08:53 |
|
#6 |
Member
fisch
Join Date: Feb 2010
Posts: 97
Rep Power: 16 |
samiam, you didn't get any error compiling OpenFoam on ubuntu12.04?
or did you fix it somehow? my problem is described here: http://www.cfd-online.com/Forums/ope...-openfoam.html Do you have any idea? thanks a lot |
|
May 9, 2012, 08:59 |
|
#7 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19 |
Actually,
I have not compiled it, but I have installed the .deb packages.. And everything seems to work properly. The only problem I had was with paraview, but I solved it following Bruno's hints. I am sorry I can't help you further. Samuele |
|
May 21, 2012, 16:11 |
install openfoam 2.1 and openfoam 1.6ext
|
#8 |
New Member
A.R.Sangtabi
Join Date: May 2012
Posts: 12
Rep Power: 14 |
how i can install openfoam 2.1 and openfoam 1.6ext in my laptop?
|
|
May 22, 2012, 04:02 |
|
#9 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19 |
Which distro are you running?
|
|
May 22, 2012, 04:48 |
|
#10 |
New Member
A.R.Sangtabi
Join Date: May 2012
Posts: 12
Rep Power: 14 |
I'm installed ubunto 12.04 but can install ubuntu 12.04 and ubuntu 10.04 or fedora 16.
|
|
May 24, 2012, 13:33 |
OpenFOAM 2.1.x and 2.0.x on the Ubuntu 64bit server edition
|
#11 |
Senior Member
Jon Elvar Wallevik
Join Date: Nov 2010
Location: Reykjavik, ICELAND
Posts: 103
Rep Power: 19 |
Dear foamers
I have installed the server edition of the ubuntu 12.04 STL on two of my computers. Really nice if you like your Linux clean and lean (you can install xorg and thereafter fluxbox (sudo apt-get install xorg fluxbox), which I did [use startx to start the X11]). Note during ubuntu installation you don't have to install or activate any servers (I didn't). Both OF 2.0.x as well as 2.1.x compile without any problems. I followed the "git" instructions of the openfoam.org page. It goes something like this (for the OF 2.1.x): --------------------------------------------------- (1) sudo apt-get install build-essential flex bison cmake zlib1g-dev qt4-dev-tools libqt4-dev gnuplot libreadline-dev libxt-dev sudo apt-get install fort77 sudo apt-get install libscotch-dev libopenmpi-dev apt-get install git-core --------------------------------------------------- (2) reboot just in case --------------------------------------------------- (3) cd ~/OpenFOAM git clone git://github.com/OpenFOAM/OpenFOAM-2.1.x.git download ThirdParty-2.1.0.tgz tar xzf ThirdParty-2.1.0.tgz mv ThirdParty-2.1.0 ThirdParty-2.1.x --------------------------------------------------- (4) source $HOME/OpenFOAM/OpenFOAM-2.1.x/etc/bashrc --------------------------------------------------- (5) cd $WM_PROJECT_DIR ----------------------- (6) export WM_NCOMPPROCS=$(cat /proc/cpuinfo | grep processor | wc -l) echo $WM_NCOMPPROCS ...and... foamSystemCheck --------------------------------------------------- (7) (if foamSystemCheck reports ok, which it should) ./Allwmake | tee wmake_log_file.txt --------------------------------------------------- (8) open new terminal source $HOME/OpenFOAM/OpenFOAM-2.1.x/etc/bashrc cd $WM_THIRD_PARTY_DIR ./makeParaView --------------------------------------------------- (9) open new terminal (just in case) source $HOME/OpenFOAM/OpenFOAM-2.1.x/etc/bashrc cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers wmSET ./Allwclean ./Allwmake --------------------------------------------------- (10) (optional, if you have yet to create these dirs) mkdir -p $FOAM_RUN mkdir -p $FOAM_USER_APPBIN mkdir -p $FOAM_USER_LIBBIN cp -r $FOAM_TUTORIALS $FOAM_RUN --------------------------------------------------- (11) foamInstallationTest and then your are set up (hopefully),... anyway worked for me Hope this is of help J. |
|
May 26, 2012, 06:54 |
|
#12 | |
Senior Member
|
Quote:
your .bashrc should contain alias startOF16ext='unset FOAM_INST_DIR;unset WM_PROJECT_USER_DIR;unset WM_THIRD_PARTY_DIR;source /usr/lib/OpenFOAM-1.6-ext/etc/bashrc' alias startOF21='unset FOAM_INST_DIR;unset WM_PROJECT_USER_DIR;unset WM_THIRD_PARTY_DIR;source /opt/openfoam21/etc/bashrc' ofcourse the path should point to the real places on your computer on console you can switch to openfoam 1.6ext or openfoam 2.1 just by typing startOF16ext or startOF21 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Openfoam 2.1 installation in ubuntu 12.04 | jsm | OpenFOAM Installation | 11 | May 7, 2012 05:56 |
Problem? with Installation of OpenFOAM 2.1.0 on to Ubuntu 10.4.4 VirtualBox | Stubby | OpenFOAM Installation | 8 | March 5, 2012 16:12 |
openFOAM installation in ubuntu 11.10 | kirubhakaran | OpenFOAM Installation | 5 | February 17, 2012 03:16 |
Installation of OpenFOAM-1.6 on Ubuntu 9.10 | marval | OpenFOAM Installation | 2 | March 17, 2010 09:33 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |