CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Bugs (
-   -   A bug in using dynamic LES models (

arslantuf November 26, 2009 14:55

A bug in using dynamic LES models

I m trying to use the dynamic LES models in the version 1.6 . Among the various models, only Smagorinsky and oneEqEddy model. The others are giving that error when I m running :

Selecting incompressible transport model Newtonian
Selecting turbulence model type LESModel
Selecting LES turbulence model dynSmagorinsky

keyword filter is undefined in dictionary ""


From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 388.

FOAM exiting

alberto November 26, 2009 16:35

I can confirm this behaviour.


henry November 27, 2009 04:48

That is true, the choice of filter does not currently have a default and to use the dynamic models you will need to specify the filter you want to use. Do you think the
filter should have a default? If so which one do you think it should default to?


alberto November 27, 2009 16:43

Hi Henry,

it used to default to "simple" filter in previous versions of OF, but probably a slightly different error message could also do the job. Something along the lines of


keyword filter is undefined in dictionary "dynSmagorinskyCoeffs"
Please specify a filter as in the example

filter simple;
Well, maybe this is a bit too long, but it gives the idea. I think the main difficulty zakk had was to find where to put the filter keyword.



henry December 8, 2009 10:40

I have pushed a development of "dictionary" into OpenFOAM-1.6.x which generates better warning and error messages. I hope that for this case it will make clearer what entries need to be added to the dynSmagorinskyCoeffs dictionary.


alberto December 8, 2009 13:02



arslantuf December 8, 2009 17:34

Thank you


All times are GMT -4. The time now is 08:58.