Hi Daniel,
Did you find any answer to this question?. in the paper: "A SUBGRIDSCALE MODEL FOR LARGEEDDY SIMULATION OF PLANETARY BOUNDARYLAYER FLOWS PETER E SULLIVAN, JAMES C. McWILLIAMS, and CHINHOH MOENG" 1994, they defined Cs as: Cs=(Ck*(Ck/Ce)^0.5)^0.5 So, I think you are right... Now, I'm confused, why it is defined in Smagorinsky.H like 2*Ck/Ce ?? Is it because of the symm(grad(U)) definition??? It would be great if you could share your opinion... Gaby 
Sorry, you see, no one come and help.
And you have noticed, I have done a detailed deduction in my top post, I still don't know why they use

Quote:
Sandy sandy.lee37@gmail.com 
tensor norm definition
Hallo,
I was also trying to understand the implementation of Smagorinsky model. As it is said here http://www.cfdonline.com/Forums/ope...rainrate.html the definition of the norm of a tensor differs from what is computed in OF, so in my opinion the 2 before ck_/ce_ is exaclty the missing sqr(2) in the definition. so, if S = sqrt(2 S:S) then 2 magSqr(S) = 2 sqrt(S:S)^2 = sqrt(2*S:S)^2 = S^2 Am I right? PS: default Smagorinsky constant should be Cs =0.1677 (in Pope's book is said to be around 0.17) given ck=0.094, ce= 1.048 
Hello
I am also trying to understand how the Smagorinsky model is coded, for the incompressible version and also for the compressible version. And It seems that for the incompressible Smagorinsky model, the default constant Cs is equal to Cs=sqrt(ck*sqrt(2*ck/ce)) If I define Cs such that the eddy viscosity is equal to nuSgs=( Cs *delta)^2 * D if ck=0.094 and ce=1.048 then Cs=0.1995.. ~ 0.2 Same question as Andrea : am I right? 
Hi,
I have same questions too. 

Thanks Alberto for the useful reference.
As MaximeIST and lakeat told if we compare what is stated in your reference and openFoam smagorinsky with Pope's book we reach to Cs=0.2. As stated in Pope's book this constant can be 0.1~0.2 and using 0.2 can be cause of high diffusivity. Please tell me if this is true. My cyclone simulation with Smagorinsky has high diffusivity and i want use 0.1 for Cs, How can i do that? Which one of Ck or Ce should be changed? I mean are they be used elsewhere or not? Regards, 
I'd just use the dynamic Smagorinsky model, so that you do not have to fiddle with the coefficient, and you do not need to play with dumping functions.

Hi,Andrea:
I think what you have said is right,the reason is just the different expression of Vsgs 
So, what is Cs value in OpenFOAM's Smagorinsky? 0.2 or 0.167?

hi,Maysam:
since Cs=sqrt(ck*sqrt(*ck/ce), in smagorinsky.c Ck=0.094 , in GenEddyVisc.c Ce=1.048, then Cs=0.167 as we all know ,am I right? 
I am in doubt because of first post of this thread that it becomes 0.2.
I don't know. Any idea will be appreciated. 
It's Cs \approx 0.17. You need just to follow the way it's computed. The question is why the simple Smagorinsky model is implemented in a such confusing way? We rewrote our Smag. with just Cs required.

Quote:
I may keep on confusing people, but the way it is coded, if I am not doing mistake is Cs=sqrt(ck*sqrt(2*ck/ce)) in the incompressible Smagorinsky.H line 114. There is a factor 2 added in the rootmean squared. And in the case where Ce=1.048 and Ck=0.094, and with this factor 2, we obtain Cs=0.1995. May be I miss something? Maxime 
Quote:
In the incompressible Smagorinsky.H line 114,it's the expression of K,not Ck,it means k=2Ck/Ce*(delta^2)*(Sof^2),may be my blog can help you: http://blog.sina.com.cn/s/blog_6d9c27ab0100u9ez.html it's just what I think, I'm not sure. 
Hello Yingkun
I agree with you that it is the expression of k which is in line 114 of the Smagorinsky.H. But the factor 2 is still there and as lakeat shown in the first message of this thread, we still get Cs=sqrt(ck*sqrt(2*ck/ce)) I have been in your blog, and I think you lost this factor 2 in the passage of equation (7) to the last equation of the page. Maxime 
Quote:
I think you don't understand exactly what I mean,the difference is just caused by the different expressions of S between turbulent therory and Openfoam,there is a factor of sqrt(2) difference,lakeat just regards them the same 
Quote:
It's true I don't understand what is written in your blog, chinese is not easy for me :D! So you said that the sqrt(2) is a consequence of the definition of S in OpenFoam. In this case, the default constant in the incompressible Smagorinsky is 0.167. good to know! 
All times are GMT 4. The time now is 00:12. 