Difference between revisions of "Installation/Linux/foam-extend-3.0"

From OpenFOAMWiki
Line 57: Line 57:
  
 
''' Install required packages '''
 
''' Install required packages '''
 +
 +
  
 
''' Get the source code '''
 
''' Get the source code '''

Revision as of 14:36, 3 April 2014

For acute installation issues, please post on the corresponding cfd-online forum.

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


This page explains how to install the foam-extend project OF Version 30ext.png on various Linux distributions and Apple Mac OS X. If you have installed foam-extend on a platform that is not mentioned here or had to take other/additional step for successful installation, please contribute and edit this page or send a message to the maintainer.

To quote[1] from the release notes of the project:

The foam-extend project is a fork of the OpenFOAM® open source library for Computational Fluid Dynamics (CFD). It is an open project welcoming and integrating contributions from all users and developers. Previously known as OpenFOAM®-dev and OpenFOAM®-extend, it contains bug fixes and performance improvements, as well as extensions and additional features provided by community contributors (see list below), such as dynamic mesh and topological change support, turbomachinery extensions including general grid interpolation (GGI), cyclic GGI and mixing place, block-coupled matrix support, finite area method, comprehensive mesh motion capability and GPU support. For a full list, see below.
Version 3.0, nicknamed "Jeju", is the current version of foam-extend. The release now continues the tradition and spirit of the original FOAM code developed by prof. Jasak and Mr. Weller during their time at Imperial College and released as the general purpose CFD/CCM package by Nabla Ltd. in 2000. In this spirit, we shall revert to original numbering scheme (foam-2.3.2, 13 December 2004) as release number 3.0. Visit http://foam-extend.org for more information.
OPENFOAM® is a registered trademark of ESI Group. OpenFOAM-extend and foam-extend are a community effort not endorsed by ESI Group.
  1. http://sourceforge.net/p/openfoam-extend/foam-extend-3.0/ci/master/tree/ReleaseNotes-foam-extend-3.0


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



1 Installing from binary package

Binary packages are available for Ubuntu 12.04 and 13.10 as well as Fedora 19.

Download

Packages can be downloaded on SourceForge:

Download foam-extend files on SourceForge

Install packages

  • For Ubuntu (and similar), download .deb package and run:
 software-center foam-extend_3.0-1_amd64.precise.deb
  • For Fedora (and similar), download .rpm package and run:
 sudo yum localinstall foam-extend-3.0-1.fc19.x86_64.rpm

Setup user directory

See section First steps.


2 Installing from source code

Install required packages


Get the source code

Compile

Setup user directory

See section First steps.



3 Note regarding foam-extend-3.0

Keep in mind that after since foam-extend-3.0 has been released, it no longer uses the base folder ~/OpenFOAM, but instead uses ~/foam. For example, to clone it, follow these steps:

cd ~
mkdir foam
cd foam
git clone git://git.code.sf.net/p/openfoam-extend/foam-extend-3.0 foam-extend-3.0

Then continuing following the instructions meant for the foam-extend-3.0 version.


4 Installing on Apple with sparse image

5 First steps


6 References

See also: