1 Description
This code implements Negative Spalart-Allmaras One-Equation Model (SA-neg).
Reference: https://turbmodels.larc.nasa.gov/spalart.html
2 Installation
- Download from https://github.com/HobbyFoamer/negativeSpalartAllmaras
- 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