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

From OpenFOAMWiki
Line 42: Line 42:
 
Back to [[Sig Turbulence]]
 
Back to [[Sig Turbulence]]
  
Back to [http://openfoamwiki.net/index.php/Sig_Turbulence_/_Library_Added_Incompressible_RAS_Models Top]
+
Back to [http://openfoamwiki.net/index.php/Sig_Turbulence_Library_Added_Incompressible_RAS_Models Top]

Revision as of 11:02, 29 May 2009

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

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