Sig Turbomachinery Library OpenFoamTurbo

From OpenFOAMWiki

1 Library OpenFoamTurbo

The library OpenFoamTurbo will regroup the developments made by the Turbomachinery Special Interest Group related to the application of OpenFOAM for TurboMachinery simulations.

The source code for the library OpenFoamTurbo is available from the Subversion repository of the project OpenFOAM-extend: Extensions to the OpenFOAM CFD Toolbox hosted on :

We recommend installing the library source code under the directory $WM_PROJECT_USER_DIR/src, but you can obviously install this source code anywhere you want.

The compiled library will end up in $FOAM_USER_LIBBIN/

1.1 Retrieving the source code

  • To retrieve the source code for this library

For OpenFOAM-2.0:

svn checkout svn:// OpenFoamTurbo

For OpenFOAM-1.6:

svn checkout svn:// OpenFoamTurbo

For OpenFOAM-1.5:

svn checkout svn:// OpenFoamTurbo

For OpenFOAM-1.4.1:

svn checkout svn:// OpenFoamTurbo

1.2 Compiling the library

  • To compile the OpenFoamTurbo library:
cd $WM_PROJECT_USER_DIR/src/OpenFoamTurbo
wmake libso

1.3 Configuring your case for dynamically loading the OpenFoamTurbo library

  • In order to use the OpenFoamTurbo library with your cases, you need to add the following line at the end of your system/controlDict file:
libs ( "" );
  • In the event where paraFoam will complain with a strange error message while trying to load this library, we have found out that using the following instruction instead in your system/controlDict file allows you to get rid of the problem without any noticable side effects.
libs ( "" "" );

1.4 Library content:

Here is the content list of the OpenFoamTurbo library: