Openfoam 2.1 installation in ubuntu 12.04
Dear All,
I am Fluent user till now. I am more interested in learning openfoam. First I tried in virtual box - ubuntu 11.04 & openfoam 2.1. It looks more interesting. So I installed ubuntu 12.04 64 bit in my desktop with dual booting. Now I want to install openfoam 2.1. Here I have question. Is it OK to install openfoam in ubuntu 12.04. Or shall I need to wait for some more time. Openfoam offcial website didn't tell anything about ubuntu 12.04 installation. Also I want to compile the source pack instead of debian pack. Could anyone tell me about the procedure and in future how to update openfoam for bug fixes. I already read the source pack compiling procedure in website. But I want to know your experience and issues in this. Thanks in advance |
I don't know about the differences of source pack and repository release. I've installed OF as described at the repository release page http://www.openfoam.org/download/git.php
This worked quite well. Updating is quite easy (when using the git-repository) Just change to your installation directory (/home/user/OpenFOAM/OpenFoam-2.1-x) and type git pull this downloads only the files, that changed since your last update or when you installed OF. After that, just compile the sources again with ./Allwmake |
Hi Gerhard
Are you installed in Ubuntu 12.04 64 bit version? I want to install source pack -http://www.openfoam.org/download/source.php. If I install source pack installation, then can I use "git pull" to get the latest bug fixes? Question might be silly. But I don't know about this. |
Hi,
I currently use ubuntu 10.04 LTS 64 bit. As I said, I don't know exactly the difference between source pack and repository release. So I hope an experienced user will answer this question. The OpenFOAM homepage states on this site http://www.openfoam.org/download/ that the repository is updated regularly. Quote:
Quote:
Quote:
|
Greetings to both!
I didn't mention anything here before because Gerhard hasn't be wrong, at least as far as I can tell. So as an experienced user I can say that: yes, Gerhard is correct and 2.1.x is the version of OpenFOAM that has frequent updates, but there are two important details to keep in mind:
Code:
export WM_NCOMPPROCS=4 Best regards, Bruno |
Hi Bruno,
Thanks for your information. Now I understood the difference between source pack and repository pack. I will install openfoam 2.1 from source pack and compile it. I think it will be good starting point. From your reply, I concluded that Openfoam 2.1 can be installed in Ubuntu 12.04 64 bit without any issues. I will try and let you know the details. |
Hi Gerhard Holzinger,
Thanks for your comments and quick response:) |
Quote:
This really boosted compilation. |
Hi Gerhard,
Quote:
Best regards, Bruno |
Alternative: install oneiric instead of precise
Not everybody is comfortable building from the source code. It is not bad for OpenFoam, but it can be a bit daunting if it is the first time you are trying to compile.
It appears the version compiled for the previous version of Ubuntu (11.10, oneiric ocelot) will work on version 12.04 (precise pangolin) If you followed the instruction on the instruction on the openfoam ubuntu page: http://www.openfoam.org/download/ubuntu.php The repository for openfoam was put into your list for your package manager. If you are using synaptic (I assume the other package managers behave in a similar manner):
I hope some people find this to be helpful. Wes |
Hi Wesley,
Good instructions! But I'm not 100% certain if Synaptic is installed by default in 12.04. Therefore, the quickest thing to do would be this: Code:
sudo sh -c "echo deb http://www.openfoam.org/download/ubuntu oneiric main > /etc/apt/sources.list.d/openfoam.list" Best regards, Bruno |
Quote:
|
All times are GMT -4. The time now is 08:22. |