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

From OpenFOAMWiki
(Compiling the library)
(Library content:: updated links)
 
(10 intermediate revisions by 3 users not shown)
Line 11: Line 11:
 
=== Retrieving the source code ===
 
=== Retrieving the source code ===
  
* To retrieve the source code for this library, mind the difference between the OpenFOAM versions:
+
* To retrieve the source code for this library, mind the difference between the OpenFOAM versions.
  
 
For OpenFOAM-1.5:
 
For OpenFOAM-1.5:
<bash>
+
<bash>mkdir -p $WM_PROJECT_USER_DIR/src/turbulenceModels/RAS
mkdir -p $WM_PROJECT_USER_DIR/src/turbulenceModels/RAS
+
 
cd $WM_PROJECT_USER_DIR/src/turbulenceModels/RAS
 
cd $WM_PROJECT_USER_DIR/src/turbulenceModels/RAS
 
+
svn checkout svn://svn.code.sf.net/p/openfoam-extend/svn/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>
 
</bash>
  
 
For OpenFOAM-1.6:
 
For OpenFOAM-1.6:
<bash>
+
<bash>mkdir -p $WM_PROJECT_USER_DIR/src/turbulenceModels/incompressible
mkdir -p $WM_PROJECT_USER_DIR/src/turbulenceModels/incompressible
+
 
cd $WM_PROJECT_USER_DIR/src/turbulenceModels/incompressible
 
cd $WM_PROJECT_USER_DIR/src/turbulenceModels/incompressible
 
+
svn checkout svn://svn.code.sf.net/p/openfoam-extend/svn/trunk/Breeder_1.6/OSIG/Turbulence/src/turbulenceModels/incompressible/RAS/ RAS
svn checkout https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Breeder_1.6/OSIG/Turbulence/src/turbulenceModels/incompressible/RAS/ RAS
+
 
</bash>
 
</bash>
  
 
=== Compiling the library ===
 
=== Compiling the library ===
* To compile the library, go to the directory created by checkout ($WM_PROJECT_USER_DIR/src/turbulenceModels/RAS/incompressible for OpenFOAM-1.5, and $WM_PROJECT_USER_DIR/src/turbulenceModels/incompressible/RAS for OpenFOAM-1.6), and type:
+
* To compile the library, go to the directory created with checkout (as explained above: ''$WM_PROJECT_USER_DIR/src/turbulenceModels/RAS/incompressible'' for OpenFOAM-1.5, and ''$WM_PROJECT_USER_DIR/src/turbulenceModels/incompressible/RAS'' for OpenFOAM-1.6), and type:
<bash>
+
<bash>wmake libso
wmake libso
+
 
</bash>
 
</bash>
  
 
=== Configuring your case for dynamically loading the library ===
 
=== 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:
 
* 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" );
+
<pre>libs ( "libaddedIncompressibleRASModels.so" );</pre>
  
 
=== Library content: ===
 
=== Library content: ===
 
Here is the content list of the addedIncompressibleRASModels library:
 
Here is the content list of the addedIncompressibleRASModels library:
* [[Sig_Turbulence_Library_Added_Incompressible_RAS_Models_kOmegaSSTF|The kOmegaSSTF turbulence model]]
+
* [[Sig_Turbulence/Library_Added_Incompressible_RAS_Models/kOmegaSSTF|The kOmegaSSTF turbulence model]]
* [[Sig_Turbulence_Library_Added_Incompressible_RAS_Models_zetaF0|The zetaF0 turbulence model]]
+
* [[Sig_Turbulence/Library_Added_Incompressible_RAS_Models/zetaF0|The zetaF0 turbulence model]]
  
 
== Others ==
 
== Others ==
  
 
Back to [[Sig Turbulence]]
 
Back to [[Sig Turbulence]]
 
Back to [http://openfoamwiki.net/index.php/Sig_Turbulence_Library_Added_Incompressible_RAS_Models Top]
 

Latest revision as of 16:03, 1 March 2014

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, mind the difference between the OpenFOAM versions.

For OpenFOAM-1.5:

mkdir -p $WM_PROJECT_USER_DIR/src/turbulenceModels/RAS
cd $WM_PROJECT_USER_DIR/src/turbulenceModels/RAS
svn checkout svn://svn.code.sf.net/p/openfoam-extend/svn/trunk/Breeder_1.5/OSIG/Turbulence/src/turbulenceModels/RAS/incompressible/ incompressible

For OpenFOAM-1.6:

mkdir -p $WM_PROJECT_USER_DIR/src/turbulenceModels/incompressible
cd $WM_PROJECT_USER_DIR/src/turbulenceModels/incompressible
svn checkout svn://svn.code.sf.net/p/openfoam-extend/svn/trunk/Breeder_1.6/OSIG/Turbulence/src/turbulenceModels/incompressible/RAS/ RAS

1.2 Compiling the library

  • To compile the library, go to the directory created with checkout (as explained above: $WM_PROJECT_USER_DIR/src/turbulenceModels/RAS/incompressible for OpenFOAM-1.5, and $WM_PROJECT_USER_DIR/src/turbulenceModels/incompressible/RAS for OpenFOAM-1.6), and type:
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