FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads
Table of Contents

FreeFOAM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. See the file COPYING in this directory, for a description of the GNU General Public License terms under which you can copy the files.

System requirements

FreeFOAM is developed and tested on Linux, but should work with other Unix style systems, notably Mac OS X ©. The support for Microsoft Windows is a goal, which, however, is still far off.

Required software to build FreeFOAM

CMake

In order to build FreeFOAM you need to have CMake with version 2.8.2 or newer installed. http://cmake.org

Build system

CMake requires a native build system. On Unix-like platforms GNU Make is recommended. http://www.gnu.org/software/make

template expressions. The g++ compiler from GCC-4.3 and above will do fine. http://gcc.gnu.org

flex

The flex lexer generator. Version 2.5.33 is known to work. For more recent versions there have been reports of problems. http://flex.sourceforge.net

zlib

zlib compression library. http://www.zlib.net

SCOTCH

The SCOTCH graph partitioning library. Version 5.1.7 is know to work. http://www.labri.fr/perso/pelegrin/scotch

Python

The Python interpreter. Version 2.6.1 is known to work, but care has been taken to make FreeFOAM work with versions from 2.4 on, including 3.x.

Optional software

git

To check out a current development version of FreeFOAM, git is required. http://git.or.cz

Parallel Communications Library

In order to run FreeFOAM in parallel, a communications library is required. The following list gives an overview of the available options:

  • MPI (Message Passing Interface): There are many implementations of the MPI standard. The one that has been tested and is known to work with FreeFOAM is OpenMPI.

METIS

The METIS graph partitioning library, version 5.0.1. If your package manager doesn’t contain it, you can also have FreeFOAM build it automatically for you (see the installation section). http://glaros.dtc.umn.edu/gkhome/metis/metis/overview

ParMetis

If you use an MPI library, the ParMetis library is required. If your package manager doesn’t contain this library, FreeFOAM can build it automatically for you (refer to the installation notes below). http://glaros.dtc.umn.edu/gkhome/metis/parmetis/overview

MGRIDGEN

MGRIDGEN is a grid coarsening library for multi-grid solvers. FreeFOAM can build this automatically for you. Please refer to the INSTALL file for license restrictions. http://glaros.dtc.umn.edu/gkhome/mgridgen/overview

libccmio

pro-STAR © input/output library. FreeFOAM can build this automatically for you. Please refer to the INSTALL file for license restrictions. https://wci.llnl.gov/codes/visit/3rd_party/libccmio-2.6.1.tar.gz

ParaView

The FreeFOAM utility para requires this visualization application, version 3.8 or later. http://www.paraview.org

M4

Some of the provided tutorial cases require the M4 macro processor. http://www.gnu.org/software/m4/

Doxygen

Automatic API-documentation generator. Required to build the source documentation. http://www.doxygen.org

Asciidoc

In order to create the man-pages or the XHTML and PDF documentation you need to have a fully working Asciidoc toolchain installed. Versions newer than 8.5 are known to work. Asciidoc itself needs Python 2.4 or newer (but not 3.x), xsltproc, the DocBook XML DTD’s and the DocBook XSL stylesheets. Refer to the Asciidoc installation instructions for the details. http://www.methods.co.nz/asciidoc

dblatex

If you want to build the PDF version of the user guide, it is recommended that you have dblatex installed, as the generated output is superior to that generated with the alternative, Apache FOP. http://dblatex.sourceforge.net

Apache FOP

If you want to build the PDF version of the user guide bug can’t or don’t want to install [dblatex], Apache FOP can be used instead. It’s output, however, is inferior to that of dblatex, especially that of the formulas. http://xmlgraphics.apache.org/fop

MathJax

If you enable MathJax for math-rendering in the XHTML version of the user guide, but don’t want to use the shared installation over the network, you can install MathJax locally. http://www.mathjax.org

Installation

For exhaustive installation and basic usage instructions, refer to the INSTALL file.

Documentation

All the applications and the frequently used script utilities come with a brief man-page. Unfortunately, most of them are little more than stubs and need more work. The man-page freefoam(1) gives a short overview over all applications and utilities and documents the FreeFOAM configuration options.

API-documentation is available from http://freefoam.sourceforge.net/doc/v0.1.0rc7/API.

Further, most FreeFOAM applications and utilities support the -doc and -srcDoc options, which will automatically display the API-documentation and the source code of the application, respectively.

Help