Updating OpenFoam 2.1.1 to 2.2.0
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, |
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). Quote:
|
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, |
"E: Couldn't find package openfoam220"
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, |
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. Quote:
|
I am not using a Virtual Machine. I am using Ubuntu 10.04.
|
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 |
Quote:
I will follow the instructions on the post that you provided, I think that will solve the problem. |
upgrade OF
Hi bruno,
I am using OF 1.6. can i upgrade it to 2.2 directly or should I uninstall and reinstall newer version? |
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, |
Hi Killroy,
Thanks. |
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? |
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.
|
oh Thanks a lot.
|
All times are GMT -4. The time now is 23:26. |