Extend-bazaar/Toolkits/negativeSpalartAllmaras

From OpenFOAMWiki
< Extend-bazaar‎ | Toolkits
Revision as of 11:27, 31 January 2019 by HFujio (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

1 Description

This code implements Negative Spalart-Allmaras One-Equation Model (SA-neg).

Reference: https://turbmodels.larc.nasa.gov/spalart.html

2 Installation

Valid versions: OF Version 32ext.png

  • Move files by
 
mkdir $FOAM_SRC/turbulenceModels/incompressible/RAS/SpalartAllmarasNeg
mv SpalartAllmarasNeg.H SpalartAllmarasNeg.C $FOAM_SRC/turbulenceModels/incompressible/RAS/SpalartAllmarasNeg
  • Modify $FOAM_SRC/turbulenceModels/incompressible/RAS/Make/files by adding a line for the model like following
 
SpalartAllmaras/SpalartAllmaras.C
SpalartAllmarasNeg/SpalartAllmarasNeg.C <- new line
  • Compile
 
cd $FOAM_SRC/..
./Allwmake.firstInstall

3 Usage examples

To use this code, insert into RASProperties:

 
RASModel        SpalartAllmarasNeg;
 
SpalartAllmarasNegCoeffs
{
    StildaModification      true;
    negativeNuTilda         true;
}

4 Documentation

This implementation is based on publication by NASA's "Spalart-Allmaras Model" page.

5 History

31 Jan 2019: First upload