Installation/Linux/OpenFOAM-2.1.1

From OpenFOAMWiki
< Installation‎ | Linux
Revision as of 21:42, 11 August 2012 by Wyldckat (Talk | contribs)

Maintainer
The current maintainer of this page is Wyldckat (talk).


THIS PAGE IS STILL UNDER CONSTRUCTION - Wyldckat (talk) 23:42, 11 August 2012 (CEST)

1 Introduction

This page aims to explain how to install OpenFOAM OF Version 211.png on any Linux Distribution.

In the following chapters and sections is explained how to generally install OpenFOAM 2.1.1 and related dependencies, such as ParaView:

For dedicated instructions (complete and/or partial) for each Linux Distribution:

Installation/Linux/OpenFOAM-2.1.1/CentOS SL RHELInstallation/Linux/OpenFOAM-2.1.1/DebianInstallation/Linux/OpenFOAM-2.1.1/Fedora
Installation/Linux/OpenFOAM-2.1.1/GentooInstallation/Linux/OpenFOAM-2.1.1/UbuntuInstallation/Linux/OpenFOAM-2.1.1/openSUSE


2 Installing from source code

The official instructions are made available here: Source Pack Installation - version 2.1.1

Below are the instructions written/annotated by the members of the community that uses OpenFOAM. The level of detail may vary depending on the authors of this page. Therefore, feel free to contribute notes and/or summary notes if you so determine to be required.

2.1 Preparations

TODO: direct the reader to instructions about the shell itself and how things work in said shell.

  1. Decide where you want to install OpenFOAM 2.1.1:
    • The standard base installation folder is $HOME/OpenFOAM, where all of the version you may wish and want can be placed there.
    • You may want to place the base folder for OpenFOAM elsewhere, perhaps based on Linux's Filesystem Hierarchy Standard, such as:
      • /opt/OpenFOAM - /opt is the conventional folder for optional application software packages.
      • /usr/local/OpenFOAM - similar to /opt, but specific for installations for the local machine.
      • /share/OpenFOAM - example of a location that is shared among several machines.
    • NOTE: We advise you to install in your own home folder, to avoid problems with root installations.
  2. Inside the base folder, OpenFOAM 2.1.1 will have 2 folders assigned to it:
    • OpenFOAM-2.1.1 - This is where this specific version will be installed.
    • ThirdParty-2.1.1 - This is where the respective third-party applications will be stored.