Difference between revisions of "OpenFOAM"
From ONELAB
(→Installation) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
[http://www.openfoam.com OpenFOAM] is a free, open source CFD software package developed by OpenCFD Ltd at ESI Group and distributed by the OpenFOAM Foundation. | [http://www.openfoam.com OpenFOAM] is a free, open source CFD software package developed by OpenCFD Ltd at ESI Group and distributed by the OpenFOAM Foundation. | ||
To test ONELAB models working with OpenFOAM, a working installation of OpenFOAM on your system is needed. | To test ONELAB models working with OpenFOAM, a working installation of OpenFOAM on your system is needed. | ||
− | The easiest way to do so, is to install first the | + | The easiest way to do so, is to install first the [[ONELAB virtual machine|ONELAB virtual machine]] |
by following [[ONELAB virtual machine|these instructions]]. | by following [[ONELAB virtual machine|these instructions]]. | ||
When done, log in into the virtual machine (username: "olvm", passwd: olvm) | When done, log in into the virtual machine (username: "olvm", passwd: olvm) | ||
Line 10: | Line 10: | ||
== Installation == | == Installation == | ||
− | The Virtual machine is configured so | + | The Virtual machine is configured so OpenFOAM can be installed straightforwardly. |
You have to be online. Proceed as follows. | You have to be online. Proceed as follows. | ||
− | ;Step 1 - | + | ;Step 1 - Install OpenFOAM |
− | :Open a terminal | + | :Open a terminal and issue the command |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
:<code>install_foam.sh</code> | :<code>install_foam.sh</code> | ||
− | :installs OpenFOAM 2.30 from http://www.openfoam.org. Simply answer "Y" or "y" when asked to. | + | :which installs OpenFOAM 2.30 from http://www.openfoam.org. Simply answer "Y" or "y" when asked to. The installations takes a few minutes. |
− | |||
− | |||
− | ;Step | + | ;Step 2 - Download model examples |
:The model examples detailed in the next section are downloaded in a directory named <code>FOAMMODELS</code> with the command | :The model examples detailed in the next section are downloaded in a directory named <code>FOAMMODELS</code> with the command | ||
:<code>getFoamModels.sh</code>. | :<code>getFoamModels.sh</code>. |
Latest revision as of 14:58, 21 January 2015
Introduction
OpenFOAM is a free, open source CFD software package developed by OpenCFD Ltd at ESI Group and distributed by the OpenFOAM Foundation. To test ONELAB models working with OpenFOAM, a working installation of OpenFOAM on your system is needed. The easiest way to do so, is to install first the ONELAB virtual machine by following these instructions. When done, log in into the virtual machine (username: "olvm", passwd: olvm) and proceed with the Instructions of the next section.
Installation
The Virtual machine is configured so OpenFOAM can be installed straightforwardly. You have to be online. Proceed as follows.
- Step 1 - Install OpenFOAM
- Open a terminal and issue the command
install_foam.sh
- which installs OpenFOAM 2.30 from http://www.openfoam.org. Simply answer "Y" or "y" when asked to. The installations takes a few minutes.
- Step 2 - Download model examples
- The model examples detailed in the next section are downloaded in a directory named
FOAMMODELS
with the command getFoamModels.sh
.