From 96f1e8d35c84c8ff157bb113f4e81fb1b5a8afc3 Mon Sep 17 00:00:00 2001 From: Chris Greenshields <http://cfd.direct> Date: Tue, 3 Nov 2015 09:21:36 +0000 Subject: [PATCH] compressibleInflowOutflow template case: updated turbulenceProperties to new TurbulenceModels library --- .../constant/RASProperties | 23 ------------- .../constant/turbulenceProperties | 34 ++++++++++++++++++- 2 files changed, 33 insertions(+), 24 deletions(-) delete mode 100644 etc/templates/compressibleInflowOutflow/constant/RASProperties diff --git a/etc/templates/compressibleInflowOutflow/constant/RASProperties b/etc/templates/compressibleInflowOutflow/constant/RASProperties deleted file mode 100644 index 496ee3b41cc..00000000000 --- a/etc/templates/compressibleInflowOutflow/constant/RASProperties +++ /dev/null @@ -1,23 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - object RASProperties; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -RASModel kEpsilon; - -turbulence on; - -printCoeffs on; - -// ************************************************************************* // diff --git a/etc/templates/compressibleInflowOutflow/constant/turbulenceProperties b/etc/templates/compressibleInflowOutflow/constant/turbulenceProperties index dc0e00cc54f..dbb800fa40a 100644 --- a/etc/templates/compressibleInflowOutflow/constant/turbulenceProperties +++ b/etc/templates/compressibleInflowOutflow/constant/turbulenceProperties @@ -14,6 +14,38 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -simulationType RASModel; +simulationType RAS; + +RAS +{ + RASModel kEpsilon; + + turbulence on; + printCoeffs on; +} + +LES +{ + LESModel SpalartAllmarasDDES; + delta cubeRootVol; + + turbulence on; + printCoeffs on; + + cubeRootVolCoeffs + { + deltaCoeff 1; + } + + smoothCoeffs + { + delta cubeRootVol; + cubeRootVolCoeffs + { + deltaCoeff 1; + } + maxDeltaRatio 1.1; + } +} // ************************************************************************* // -- GitLab