CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation (
-   -   Smagorinsky2 turbulence model (

Zuixy October 19, 2011 03:44

Smagorinsky2 turbulence model

I would like to run a DES with the Smagorinsky2 model but I have some problems compiling it.
I changed the src/turbulenceModels/incompressible/LES/Make/files and run Allwmake in src/turbulenceModels/incompressible.

But then I get the error:
Smagorinsky2/Smagorinsky2.C:57:1: error: class ‘Foam::incompressible::LESModels::Smagorinsky2’ does not have any field named ‘cD2’

What do i have to change in the file?

All times are GMT -4. The time now is 17:39.