Difference between revisions of "Installation/Linux/OpenFOAM+-3.0+"

From OpenFOAMWiki
(changed to the same category as "Installing OpenFOAM on Linux", given that foam-extend does the same)
m (sync with template changes and updated indentation in last code excerpts)
 
Line 22: Line 22:
 
# When in doubt about which GCC version to use, check the [http://openfoam.com/documentation/system-requirements.php System Requirements page] or the [[Installation/Compatibility Matrix]] page for information on compatible compilers (should be the same as OpenFOAM).
 
# When in doubt about which GCC version to use, check the [http://openfoam.com/documentation/system-requirements.php System Requirements page] or the [[Installation/Compatibility Matrix]] page for information on compatible compilers (should be the same as OpenFOAM).
 
# When it comes to ParaView, it's possible to avoid the need to build it from source code. If your Linux Distribution provides ParaView 3.12.0 or newer, you don't need to build ParaView from source code. Simply run: <bash>paraFoam -builtin</bash> and it will open the case in ParaView.
 
# When it comes to ParaView, it's possible to avoid the need to build it from source code. If your Linux Distribution provides ParaView 3.12.0 or newer, you don't need to build ParaView from source code. Simply run: <bash>paraFoam -builtin</bash> and it will open the case in ParaView.
#* If the previous command worked, you can add the following alias command in your {{tt|~/.bashrc}} file: <bash>alias paraFoam='paraFoam -builtin'</bash>
+
#* If the previous command worked, you can add the following alias command in your {{tt|~/.bashrc}} file: <bash> alias paraFoam='paraFoam -builtin'</bash>
#* In case you have an old Linux Distribution and still don't want to build ParaView from source code, get the latest binary version for Linux from [http://paraview.org ParaView's official website]. Then add to your {{tt|~/.bashrc}} file the following line (adapt accordingly): <bash>export PATH=$HOME/Downloads/ParaView-4.2.0/bin:$PATH</bash>
+
#* In case you have an old Linux Distribution and still don't want to build ParaView from source code, get the latest binary version for Linux from [http://paraview.org ParaView's official website]. Then add to your {{tt|~/.bashrc}} file the following line (adapt accordingly): <bash> export PATH=$HOME/Downloads/ParaView-4.2.0/bin:$PATH</bash>
  
 
[[Category:Installing OpenFOAM on Linux]]
 
[[Category:Installing OpenFOAM on Linux]]

Latest revision as of 21:02, 2 July 2016

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


1 Introduction

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

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

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

Installation/Linux/OpenFOAM+-3.0+/CentOS SL RHELInstallation/Linux/OpenFOAM+-3.0+/Ubuntu


2 Installing from source code

The official instructions are made available here: OpenFOAM+ Installation From Source

A few details to keep in mind:

  1. OpenFOAM+ (OpenFOAM plus) is a fork of the one distributed by the OpenFOAM Foundation. Do not assume that OpenFOAM and OpenFOAM+ are identical.
    • OpenFOAM+ is conceptually similar to the Fedora Project, in the sense that it provides new features that will mature over time and will be integrated into OpenFOAM once the new features are mature enough.
  2. When in doubt about which GCC version to use, check the System Requirements page or the Installation/Compatibility Matrix page for information on compatible compilers (should be the same as OpenFOAM).
  3. When it comes to ParaView, it's possible to avoid the need to build it from source code. If your Linux Distribution provides ParaView 3.12.0 or newer, you don't need to build ParaView from source code. Simply run:
    paraFoam -builtin
    and it will open the case in ParaView.
    • If the previous command worked, you can add the following alias command in your ~/.bashrc file:
        alias paraFoam='paraFoam -builtin'
    • In case you have an old Linux Distribution and still don't want to build ParaView from source code, get the latest binary version for Linux from ParaView's official website. Then add to your ~/.bashrc file the following line (adapt accordingly):
        export PATH=$HOME/Downloads/ParaView-4.2.0/bin:$PATH