|
[Sponsors] |
September 28, 2012, 18:50 |
OpenFOAM v1.7.1 on Ubuntu 12.04 LTS
|
#1 |
Senior Member
|
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
__________________
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 |
|
October 14, 2012, 09:09 |
|
#2 |
New Member
Giuliano Lotta
Join Date: May 2012
Posts: 12
Rep Power: 14 |
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 ? |
|
October 14, 2012, 10:06 |
|
#3 | |||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@Giuliano: Quote:
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. 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:
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:
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
__________________
|
||||
October 14, 2012, 16:49 |
|
#4 |
New Member
Giuliano Lotta
Join Date: May 2012
Posts: 12
Rep Power: 14 |
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 ? |
|
October 14, 2012, 17:04 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Giuliano,
I think you're confusion all versions! OK, from the official OpenFOAM distribution you've got:
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
__________________
|
|
October 14, 2012, 18:39 |
|
#6 |
Senior Member
|
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 |
|
October 15, 2012, 07:29 |
|
#7 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
__________________
|
||
October 15, 2012, 09:27 |
|
#8 |
Senior Member
|
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 |
|
October 15, 2012, 17:50 |
|
#9 |
New Member
Giuliano Lotta
Join Date: May 2012
Posts: 12
Rep Power: 14 |
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... |
|
|
|
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 |