CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Bugs

bug in dnsFOAM

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   January 28, 2010, 05:48
Default bug in dnsFOAM
Markus Weinmann
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 77
Rep Power: 10
cfdmarkus is on a distinguished road
Hi Guys,
I discovered a bug in dnsFOAM!
More precisely, the last line in kShellIntegration.C is wrong.
It should be changed from

return graph("E(k)", "k", "E(k)", Ek1D, k1D);
return graph("E(k)", "k", "E(k)", k1D, Ek1D);

otherwise the following manipulation and the resulting
energy spectra do not make any sense!

I would also like to mention that it would be very helpful if a reference to the used forcing scheme
would be given somewhere in the code or maybe a tiny little description of the forcing parameters sigma and alpha.
This would spare the users of dnsFoam a lot headache while trying to fiddle with these parameters!

cfdmarkus is offline   Reply With Quote

Old   January 29, 2010, 06:01
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 15
henry is on a distinguished road
Thanks for the bug-report, I will push the fix into OpenFOAM-1.6.x shortly.

You might find what you need to know in this paper or in the references:

@Article{ BoxOfTurbulence,
author = "Fureby, C. and Tabor, G. and Weller, H.G. and Gosman, A.D.",
title = "A Comparative Study of Sub-Grid Scale Models in Homogeneous
Isotropic Turbulence",
journal = "Phys. Fluids",
year = 1997,
volume = 9,
number = 5,
pages = "1416-1429",
month = "May"

henry is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Serious bug in LES interface fs82 OpenFOAM Bugs 21 November 16, 2009 09:15
dnsFoam cfdmarkus OpenFOAM Running, Solving & CFD 0 July 15, 2009 06:26
bug in Rcomponents utility cedric_duprat OpenFOAM Bugs 1 May 7, 2009 02:56
Bug reports Mattijs Janssens (Mattijs) OpenFOAM 0 January 10, 2005 11:05
Forum y2k Bug Jonas Larsson Main CFD Forum 1 January 5, 2000 11:22

All times are GMT -4. The time now is 02:59.