Skip to content
This is a modified version from, tested with so far OpenFOAM 1.7.x.
C++ C Shell
Find file
Latest commit 3f96540 Jan 2, 2016 @wyldckat Updated the README file
Failed to load latest commit information.


Original source code retrieved from (the link is broken): - the current version should be here:

A bit more information about these modifications:

This git repository was brought to you by Bruno Santos (wyldckat@github working at blueCAPE Lda).




Firstly, you need the GNU Scientific Library:

  • On Ubuntu, install GSL by simply running:

    sudo apt-get install gsl-bin libgsl0-dev
  • To build your own GSL, read the section "Compilation and Installation" on the doc/UserGuide.pdf document.

    Keep in mind that after you build your own GSL, doing git clone and before running Allwmake, edit that file Allwmake and change the path $HOME/gsl to your own installation path of GSL:

    export GSL_INST_DIR="$HOME/gsl"
  • In case you want to build applications and libraries based on libOpenSMOKE, without running Allwmake, then you need to add to your ~/.bashrc one of the following lines:

    export GSL_INST_DIR="$HOME/gsl"
    alias gsl4smo='export GSL_INST_DIR="$HOME/gsl"'

    If you choose the second line, then every time you start a new terminal and build libOpenSMOKE applications, then you'll have to run the command:


Installing libOpenSMOKE

To use the build with OpenFOAM 1.7.x (maybe works with 1.7.0 and 1.7.1), simply run:

git clone
cd libOpenSMOKE

To build with OpenFOAM 2.0.x or 2.1.x or above, before running Allwmake, check which versions exist by running:

git branch -a

For example, if it shows remotes/origin/v2.0.x, then run these steps:

git checkout v2.0.x

The binaries will be installed in your own user folders, so please DO NOT INSTALL AS ROOT! To find out which are your own user folders for binaries, run the following commands:



  • The files on the folder utilities/exe are static binaries. I don't know where the original source code is, so you better ask the authors at

  • Secondly, those binaries in the folder utilities/exe are 64 bit only!! Also known as x86_64. You check if your system is compatible by running:

    uname -m


The following list are the scripts available in the tutorials folder:


To run either one of them, go into the folder of where the script is and run it with ./ preppended to the name. For example:

cd rhoSimpleFoamFlamelets/Sandia_COH2N2

For more information, see:

Something went wrong with that request. Please try again.