Difference between revisions of "Sig Turbulence/Library Added Incompressible RAS Models"

From OpenFOAMWiki
(Library content:)
(Retrieving the source code)
Line 20: Line 20:
 
<bash>
 
<bash>
 
svn checkout https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Breeder_1.5/OSIG/Turbulence/src/turbulenceModels/RAS/incompressible/ incompressible
 
svn checkout https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Breeder_1.5/OSIG/Turbulence/src/turbulenceModels/RAS/incompressible/ incompressible
 +
</bash>
 +
For OpenFOAM-1.6:
 +
<bash>
 +
svn checkout https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Breeder_1.6/OSIG/Turbulence/src/turbulenceModels/RAS/incompressible/ incompressible
 
</bash>
 
</bash>
  

Revision as of 05:56, 9 July 2012

1 Library addedIncompressibleRASModels

The library addedIncompressibleRASModels will regroup the developments made by the Turbulence Special Interest Group related to the development of additional incompressible RAS turbulence models for OpenFOAM.

The source code for the library addedIncompressibleRASModels is available from the Subversion repository of the project OpenFOAM-extend: Extensions to the OpenFOAM CFD Toolbox hosted on SourceForge.net : http://openfoam-extend.wiki.sourceforge.net.

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

The compiled library will end up in $FOAM_USER_LIBBIN/libaddedIncompressibleRASModels.so

1.1 Retrieving the source code

  • To retrieve the source code for this library:
 
mkdir -p $WM_PROJECT_USER_DIR/src/turbulenceModels/RAS
cd $WM_PROJECT_USER_DIR/src/turbulenceModels/RAS

For OpenFOAM-1.5:

 
svn checkout https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Breeder_1.5/OSIG/Turbulence/src/turbulenceModels/RAS/incompressible/ incompressible

For OpenFOAM-1.6:

 
svn checkout https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Breeder_1.6/OSIG/Turbulence/src/turbulenceModels/RAS/incompressible/ incompressible

1.2 Compiling the library

  • To compile the library:
 
cd $WM_PROJECT_USER_DIR/src/turbulenceModels/RAS/incompressible
wmake libso

1.3 Configuring your case for dynamically loading the library

  • In order to use the addedIncompressibleRASModel library with your cases, you need to add the following line at the end of your system/controlDict file:
libs ( "libaddedIncompressibleRASModels.so" );

1.4 Library content:

Here is the content list of the addedIncompressibleRASModels library:

2 Others

Back to Sig Turbulence

Back to Top