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

OpenFOAM v1.7.1 on Ubuntu 12.04 LTS

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

Like Tree3Likes
  • 2 Post By makaveli_lcf
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 28, 2012, 18:50
Default OpenFOAM v1.7.1 on Ubuntu 12.04 LTS
  #1
Senior Member
 
Dr. Alexander Vakhrushev
Join Date: Mar 2009
Posts: 256
Blog Entries: 1
Rep Power: 19
makaveli_lcf is on a distinguished road
Send a message via ICQ to makaveli_lcf
Hi all!

Recently I had to install 1.7.1 version on my laptop with Ubuntu 12.04 LTS.
The instructions are quite simple:

run the following in your console

Code:
VERS=maverick
sudo sh -c "echo deb http://www.openfoam.com/download/ubuntu $VERS main >> /etc/apt/sources.list"
sudo apt-get update
sudo apt-get install openfoam171 paraviewopenfoam381
wyldckat and alvariten like this.
__________________
Best regards,

Dr. Alexander VAKHRUSHEV

Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics"

Simulation and Modelling of Metallurgical Processes
Department of Metallurgy
University of Leoben

http://smmp.unileoben.ac.at
makaveli_lcf is offline   Reply With Quote

Old   October 14, 2012, 09:09
Default
  #2
New Member
 
Giuliano Lotta
Join Date: May 2012
Posts: 12
Rep Power: 14
Giuliano69 is on a distinguished road
Hi.
We are using OF 2.1.1 with ubuntu 12.04.1 64 bit

We found a bug in the AMI+passive scalar of OF 2.1.1,
and would like to test it th correspondent OF ext 1.7.1.

Does your procedure is compatible with existing OF 2.1.1 installed ?
or is it better to follow
http://openfoamwiki.net/index.php/In...M-1.7.1/Ubuntu
?


Are you sure you are inserting the followint source list
www.openfoam.com
for the EXTENDED project ?
Giuliano69 is offline   Reply With Quote

Old   October 14, 2012, 10:06
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

@Giuliano:
Quote:
Originally Posted by Giuliano69 View Post
We are using OF 2.1.1 with ubuntu 12.04.1 64 bit

We found a bug in the AMI+passive scalar of OF 2.1.1,
Any chance you can test using OpenFOAM 2.1.x? http://www.openfoam.org/download/git.php - I say this because that bug could be already fixed in 2.1.x.
If the bug still occurs, please report in the bug tracker: http://www.openfoam.org/bugs/ - and please provide them with a simple test case.


Quote:
Originally Posted by Giuliano69 View Post
and would like to test it th correspondent OF ext 1.7.1.
AFAIK, the only publicly available Extend version is 1.6-ext, for which you'll find installation instructions here: http://openfoam-extend.git.sourcefor...s/Ubuntu/12.04

Quote:
Originally Posted by Giuliano69 View Post
Does your procedure is compatible with existing OF 2.1.1 installed ?
or is it better to follow
http://openfoamwiki.net/index.php/In...M-1.7.1/Ubuntu
?
Is very simple to have more than one version/variant of OpenFOAM installed in any machine. I've written about that here: Advanced tips for working with the OpenFOAM shell environment
As for the instructions at openfoamwiki.net: those currently are designed for a single installation. I still have to update them to comply with the multiple installation protocols . So for now, you'll need to keep in mind the alias trick explained at the blog post "Advanced tips [...]".

Quote:
Originally Posted by Giuliano69 View Post
Are you sure you are inserting the followint source list
www.openfoam.com
for the EXTENDED project ?
The Official OpenFOAM versions are made available at www.openfoam.com and www.openfoam.org. The Extend Project's variant(s) of OpenFOAM is made available through here: http://www.extend-project.de/
And like I wrote before, you can have as many OpenFOAM versions you want installed in your machine! As long as you use the previously alias method I referred to earlier.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   October 14, 2012, 16:49
Default
  #4
New Member
 
Giuliano Lotta
Join Date: May 2012
Posts: 12
Rep Power: 14
Giuliano69 is on a distinguished road
thanks Bruno.

I followed your suggestion to intall the github
http://www.cfd-online.com/Forums/ope...tml#post385136

now I will add the alias for having different OF version (modified as my comment on your post)
----------------------------------------------
QUESTIONS :
do I still need to follow the instructions of
http://openfoam-extend.git.sourcefor...cb6bbd;hb=HEAD

or the github does it all ?

And what about system install ?
with the OF 2.1.1 installer, the package install under /opt the library code.

github seems to install ONLY in the home directory. Does it mean that each user has to run github to install the extended version ?
Giuliano69 is offline   Reply With Quote

Old   October 14, 2012, 17:04
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Giuliano,

I think you're confusion all versions!

OK, from the official OpenFOAM distribution you've got:
  1. OpenFOAM 2.1.1, which you can install with either building from source or you can install using the official Deb packages (http://openfoam.org/download/ubuntu.php - for Ubuntu) or even by using Michael's easy (and unofficial) installation script that also uses the Deb packages: https://github.com/themiwi/OpenFOAM-Installer
  2. OpenFOAM 2.1.x, using the official instructions: http://openfoam.org/download/git.php
  3. OpenFOAM 1.7.1, either following the instructions from the first post or the ones from the wiki: http://openfoamwiki.net/index.php/In...M-1.7.1/Ubuntu

On the other hand, you've got the Extend Project's variant OpenFOAM 1.6-ext, for which the instructions you need to follow are these: http://openfoam-extend.git.sourcefor...s/Ubuntu/12.04


As for later moving the installation to a system-wide location, read the 2nd comment on my blog post: http://www.cfd-online.com/Forums/blo...ml#comment1682

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   October 14, 2012, 18:39
Default
  #6
Senior Member
 
Dr. Alexander Vakhrushev
Join Date: Mar 2009
Posts: 256
Blog Entries: 1
Rep Power: 19
makaveli_lcf is on a distinguished road
Send a message via ICQ to makaveli_lcf
Hi all!

Thank you Bruno for your detailed clarifications) Regarding Giuliano's question about versions compatibility:
you can use all of them at once, moreover appropriated ParaView version is usually instaled along with different OF distributions. Just use alias command to source required OF bashrc script in a fresh terminal...

I have my solvers currently designed for OF 1.7 version, but unfortunately e.g. on our RHEL (Red Hat Enterprise Linux) cluster system libraries are not compatible with the OF v17x. Yeah, one can think about rebuilding OF from sources, after 2 weeks of tuning configuration scripts I just switched to the easier solution to use 1.6-ext.
It could be installed "with one click" (thanx to linnemann's CentFOAM)
And everything from 1.7 works for me fine, only once I came across syntax incompatibility, but it was too minor problem...
__________________
Best regards,

Dr. Alexander VAKHRUSHEV

Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics"

Simulation and Modelling of Metallurgical Processes
Department of Metallurgy
University of Leoben

http://smmp.unileoben.ac.at
makaveli_lcf is offline   Reply With Quote

Old   October 15, 2012, 07:29
Default
  #7
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quote:
Originally Posted by makaveli_lcf View Post
I have my solvers currently designed for OF 1.7 version, but unfortunately e.g. on our RHEL (Red Hat Enterprise Linux) cluster system libraries are not compatible with the OF v17x.
FYI: I found something related to this (RHEL + OF 1.7) and reported here: http://openfoamwiki.net/index.php/In..._RHEL#RHEL_5.5
makaveli_lcf likes this.
__________________
wyldckat is offline   Reply With Quote

Old   October 15, 2012, 09:27
Default
  #8
Senior Member
 
Dr. Alexander Vakhrushev
Join Date: Mar 2009
Posts: 256
Blog Entries: 1
Rep Power: 19
makaveli_lcf is on a distinguished road
Send a message via ICQ to makaveli_lcf
Wow, great! Thanx Bruno))) I will try it, because with 1.6-ext I faced a strange saw-oscillations of the k / epsilon residuals, in 1.7.x everything seems to be smooth...
__________________
Best regards,

Dr. Alexander VAKHRUSHEV

Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics"

Simulation and Modelling of Metallurgical Processes
Department of Metallurgy
University of Leoben

http://smmp.unileoben.ac.at
makaveli_lcf is offline   Reply With Quote

Old   October 15, 2012, 17:50
Default
  #9
New Member
 
Giuliano Lotta
Join Date: May 2012
Posts: 12
Rep Power: 14
Giuliano69 is on a distinguished road
Thanks Bruno,
I clearly misunderstood version 1.7, considering it was the new version after 1.6-ext

Bug is serious and Submitted bug 00663 (huge non zero divergence on pRefCell=0 and closest cells....)

Installed 1.6 ext, but I will try to follow your hints, and install the github 2.1.x...
Giuliano69 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.com] OpenFOAM 1.7.1 installation on LINUX UBUNTU 10.10 electrosin OpenFOAM Installation 40 May 31, 2016 06:11
Problem? with Installation of OpenFOAM 2.1.0 on to Ubuntu 10.4.4 VirtualBox Stubby OpenFOAM Installation 8 March 5, 2012 16:12
Error in apt-get update for installation of OpenFoam 1.7.1 on Ubuntu 10.10 StuntedChicken OpenFOAM Installation 1 January 9, 2011 11:43
OpenFOAM Installation Errors on Ubuntu 10.04 ozzythewise OpenFOAM Installation 1 June 19, 2010 06:59
Trouble with installing OpenFOAM on Ubuntu Milos OpenFOAM Installation 16 November 16, 2009 03:44


All times are GMT -4. The time now is 23:31.