CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   A bug in using dynamic LES models (http://www.cfd-online.com/Forums/openfoam-bugs/70529-bug-using-dynamic-les-models.html)

arslantuf November 26, 2009 14:55

A bug in using dynamic LES models
 
Hi,

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 ""

file:

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.

Best,

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?

H

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

Quote:

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

dynSmagorinskyCoeffs
{
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.

Thanks.

Best,

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.

H

alberto December 8, 2009 13:02

Thanks!

Best,

arslantuf December 8, 2009 17:34

Thank you

Regards


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