Installation on Ubuntu 12.04 LTS
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. |
Greetings Samuele,
I'm going to quote myself from another thread: Quote:
Best regards, Bruno |
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? |
Don't have much time...
Install ParaView from Ubuntu: Code:
sudo apt-get install paraview Code:
paraFoam -builtin |
Thanks a lot!
|
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 |
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 |
install openfoam 2.1 and openfoam 1.6ext
how i can install openfoam 2.1 and openfoam 1.6ext in my laptop?
|
Which distro are you running?
|
I'm installed ubunto 12.04 but can install ubuntu 12.04 and ubuntu 10.04 or fedora 16.
|
OpenFOAM 2.1.x and 2.0.x on the Ubuntu 64bit server edition
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. |
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 |
All times are GMT -4. The time now is 06:44. |