OpenFOAM

Revision as of 14:54, 21 January 2015 by Francois (talk | contribs) (Installation)

Revision as of 14:54, 21 January 2015 by Francois (talk | contribs) (Installation)

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 generic 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
The command
install_foam.sh
installs OpenFOAM 2.30 from http://www.openfoam.org. Simply answer "Y" or "y" when asked to.
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.

ONELAB models

  • Valve : CFD analysis of a valve
  • Tutorial : a didactic tutorial for CFD students