Extend-bazaar/Toolkits/negativeSpalartAllmaras

From OpenFOAMWiki

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/compressible/RAS/SpalartAllmarasNeg
mv SpalartAllmarasNeg.H SpalartAllmarasNeg.C $FOAM_SRC/turbulenceModels/compressible/RAS/SpalartAllmarasNeg
  • Modify $FOAM_SRC/turbulenceModels/compressible/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