|
[Sponsors] |
July 26, 2014, 02:48 |
A question on Smagorinsky-Lilly model
|
#1 |
New Member
Join Date: Jul 2014
Posts: 11
Rep Power: 12 |
Hello all,
I'm simulating a classical turbulent incompressible channel flow with DNS pseudo spectral-code and I would like to switch to LES using the Smagorinsky-Lilly model. Now, even if I studied it many years ago, I actually didn't ever had the chance to implement it, so before making some stupid mistakes I prefer to aks to someone who already implemented it how it is better (or what is the common way) to proceed. In accordance with Smagorinsky-Lilly model, stresses are expresed as: tau = -2*(Cs*delta)^2*S*Sij where Cs is a constant, delta is a measure of the grid usually taken as (volume)^1/3, S is the magnitude of the rate-of-strain tensor (radq(2*Sij*Sij)) and Sij the rate-of-strain tensor components. By renaming 2*(Cs*delta)^2*S = SMG, for the X coordinate momentum equation for example calculating the divergence (i.e. the additional terms I need for LES) of this term I obtain the following: 2*dSMG/dx*du/dx + 2*SMG*d2u/dx2 + dSMG/dy*du/dy + dSMG/dy*dv/dx + SMG*d2u/dy2 + SMG*d2v/dxdy + dSMG/dz*du/dz + dSMG/dz*dw/dx + SMG*d2u/dz2 + SMG*d2w/dxdz which, since the divergence of the velocity field is zero, reduces to: SMG*lambda(V) + 2*dSMG/dx*du/dx + dSMG/dy*du/dy + dSMG/dy*dv/dx + dSMG/dz*du/dz + dSMG/dz*dw/dx if SMG is constant, obviously the only term remaining is the one multiplying labda(V), which results in an additional constant eddy viscosity in the entire flowfield. Now, How is this tipically implemented? Is the SMG term considered constant, by identifying a characteristic global measure of the grid for 'delta' and a specific averaging operator to obtain a constant S, or are all the previous terms considered in NS equations? I have the feeling I'm doing something completely wrong... Thanks in advance! |
|
July 26, 2014, 07:01 |
|
#2 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73 |
Hello,
First I strongly suggest using the dynamic procedure. Then, the correct way is to discretize the divergence of the SGS flux without any mathematical manipulation... Therefore Div (2* Ni_sgs*Grad v_bar) must be discretized as the same as the convective and diffusive fluxes, in a conservative form |
|
July 27, 2014, 03:32 |
|
#3 |
New Member
Join Date: Jul 2014
Posts: 11
Rep Power: 12 |
Thanks for the reply.
I see. So basically I just calculate derivatives of the flux. As per the dynamic procedure, for the time being I think I'll stick using a constant Cs. As I get some consistent results I'll switch to it. |
|
July 29, 2014, 05:41 |
|
#4 |
New Member
Join Date: Jul 2014
Posts: 11
Rep Power: 12 |
It is normal that by calculating the additional terms for LES in a conservative way I can use only Cs equal to maximum 0.01 otherwise calculation crashes? (channel flow Re_tau 150?!)
If I manipulate all derivatives terms as in the first post I can instead use Cs=0.2 without problems...I'm adding so much numerical diffusivity this way?? |
|
July 29, 2014, 05:52 |
|
#5 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73 |
Consider you are modifying the total viscosity and changing the viscous stability constraint, the time step required would be smaller, especially in refined zones of the grid near walls
|
|
July 29, 2014, 05:58 |
|
#6 |
New Member
Join Date: Jul 2014
Posts: 11
Rep Power: 12 |
Yeah I know. I tried also a ridiculous small time step just to check.
I'm just surprised how sensitive is the code to the conservative and non-conservative treatment... I expected of course this difference but with a reduced, let's say, "magnitude". |
|
July 29, 2014, 06:05 |
|
#7 |
New Member
Join Date: Jul 2014
Posts: 11
Rep Power: 12 |
Since the elements are very stretched near the wall I just used the minimum edge length to estimate 'delta' and now seems to run fine also with Cs=0.2.
Still surprised about the difference of the two approaches thus... |
|
July 29, 2014, 10:23 |
|
#8 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73 |
Actually, the divergence-based (i.e. conservative) form is well known to produce much more stable numerical algorithms than the differential form
|
|
July 29, 2014, 11:05 |
|
#9 |
New Member
Join Date: Jul 2014
Posts: 11
Rep Power: 12 |
indeed that's what I expected.
I feel I'm doing something wrong |
|
Tags |
les, smagorinsky model |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Question regarding Gamma Re Theta Model | CFXstudent26 | CFX | 9 | May 15, 2014 14:59 |
A question about SA-DES model | mbt | Main CFD Forum | 0 | November 12, 2012 03:56 |
second and final question about flamelet combustion model | AdidaKK | CFX | 0 | October 17, 2009 08:25 |
Smagorinsky model and Sij terms | James | Main CFD Forum | 3 | December 7, 2004 11:20 |
Smagorinsky Sub-grid Model | Craig Johansen | CFX | 1 | October 13, 2004 04:10 |