|
[Sponsors] |
April 2, 2013, 09:47 |
Updating OpenFoam 2.1.1 to 2.2.0
|
#1 |
Senior Member
Join Date: Mar 2013
Location: USA
Posts: 120
Rep Power: 13 |
Hello,
I am new to Linux. I want to update my OpenFoam 2.1.1 to 2.2.0. Can you please help me which commands should I use? Thanks, |
|
April 2, 2013, 11:42 |
|
#2 |
Senior Member
Chris Sideroff
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 434
Rep Power: 22 |
No simple, one liner, to update. You need to install it like a new version (because it is a new version). Then to use one or the other, simply source the appropriate shell script to setup the environment.
There tends to be significant enough changes to the core framework between even dot releases (e.g. 2.1 to 2.2) to prevent simple updating. This also often requires modifications to custom written code (solver, BCs, etc). |
|
April 2, 2013, 14:15 |
|
#3 |
Senior Member
Join Date: Mar 2013
Location: USA
Posts: 120
Rep Power: 13 |
Thank you very much for your response. I tried to install the OpenFOAM 2.2.0. I follow exactly the same steps that is presented on the website but there is a problem. After the 3rd step "sudo apt-get install openfoam220", I got the error below:
E: Couldn't find package openfoam220 Do you have any idea to how to solve that problem? Thanks, |
|
April 2, 2013, 14:21 |
"E: Couldn't find package openfoam220"
|
#4 |
Senior Member
Join Date: Mar 2013
Location: USA
Posts: 120
Rep Power: 13 |
I am trying to install the OpenFOAM 2.2.0. I follow exactly the same steps that is presented on the website but there is a problem. After the 3rd step "sudo apt-get install openfoam220", I got the error below:
E: Couldn't find package openfoam220 I am running Ubuntu 10.04. I checked the "sources.list" file and I can see that "deb http://www.openfoam.org/download/ubuntu lucid main" is there and also it gets updated fine at the end of the 2nd step too. Do you have any idea to how to solve that problem? Thanks, |
|
April 2, 2013, 14:56 |
|
#5 |
Senior Member
Jose Rey
Join Date: Oct 2012
Posts: 134
Rep Power: 17 |
Do you have your linux environment within a Virtual Machine (e.g. VirtualBox)? Sometimes just with resetting the virtual machine, or disconnecting the LAN bridge and connecting it again is enough.
The question for the Senior Foamers is: Is it worth it to change to the 2.2.0 version now? Or should we wait for a 2.2.1? Regardless of how elegant the code is and how well tested it is, there are always bugs when major changes are made. I am excited about the improvements to snappyHexMesh which seem significant. Last edited by JR22; April 2, 2013 at 15:00. Reason: Worth it upgrading to Openfoam-2.0.0 ? |
|
April 2, 2013, 14:59 |
|
#6 |
Senior Member
Join Date: Mar 2013
Location: USA
Posts: 120
Rep Power: 13 |
I am not using a Virtual Machine. I am using Ubuntu 10.04.
|
|
April 2, 2013, 15:37 |
|
#7 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@kilroy: I'm guessing you didn't read the available Ubuntu versions at the beginning of the page : http://www.openfoam.org/download/ubuntu.php Quote:
Best regards, Bruno
__________________
|
||
April 2, 2013, 15:45 |
|
#8 | |
Senior Member
Join Date: Mar 2013
Location: USA
Posts: 120
Rep Power: 13 |
Quote:
I will follow the instructions on the post that you provided, I think that will solve the problem. |
||
June 19, 2013, 17:41 |
upgrade OF
|
#9 |
Member
Dinesh Balaji
Join Date: Oct 2012
Posts: 43
Rep Power: 13 |
Hi bruno,
I am using OF 1.6. can i upgrade it to 2.2 directly or should I uninstall and reinstall newer version? |
|
June 19, 2013, 17:45 |
|
#10 |
Senior Member
Join Date: Mar 2013
Location: USA
Posts: 120
Rep Power: 13 |
Hi Dinesh,
You need to install the new version. There is no way you can upgrade OpenFoam from 1.6 to 2.2. Hope this helps, |
|
June 19, 2013, 17:56 |
|
#11 |
Member
Dinesh Balaji
Join Date: Oct 2012
Posts: 43
Rep Power: 13 |
Hi Killroy,
Thanks. |
|
June 19, 2013, 18:55 |
|
#12 |
Member
Dinesh Balaji
Join Date: Oct 2012
Posts: 43
Rep Power: 13 |
Hi kilroy,
I tried to remove Openfoam using rm command. it produces this rm: cannot remove `OpenFOAM/OpenFOAM-1.6.x/applications/solvers/heatTransfer/buoyantSimpleFoam/animation/1st.pvsm': Permission denied is it a concern or can i just skip it and go ahead for installing newer version? |
|
June 19, 2013, 19:29 |
|
#13 |
Senior Member
Join Date: Mar 2013
Location: USA
Posts: 120
Rep Power: 13 |
You cannot remove openfoam this way. But to install a newer version you don't need to remove the older one. Just install 2.2 without doing anything with 1.6.
|
|
June 19, 2013, 19:34 |
|
#14 |
Member
Dinesh Balaji
Join Date: Oct 2012
Posts: 43
Rep Power: 13 |
oh Thanks a lot.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[mesh manipulation] Problem with RenumberMesh in parallel in OpenFOAM 2.1.1 | srini_esi | OpenFOAM Meshing & Mesh Conversion | 1 | November 8, 2013 02:48 |
No Wall pressure from OpenFOAM 2.2.0 | musahossein | OpenFOAM Post-Processing | 11 | October 1, 2013 14:08 |
Is OpenFOAM 2.1.1 Heat Transfer applications working? | fontania | OpenFOAM Running, Solving & CFD | 0 | September 20, 2012 23:15 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 14:25 |
The OpenFOAM extensions project | mbeaudoin | OpenFOAM | 16 | October 9, 2007 09:33 |