CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Convection discretization schemes for LES

Register Blogs Community New Posts Updated Threads Search

Like Tree17Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 19, 2007, 18:00
Default Dear Forum, just as an obse
  #21
Member
 
Alessandro Spadoni
Join Date: Mar 2009
Location: Atlanta, GA
Posts: 65
Rep Power: 17
gtg627e is on a distinguished road
Dear Forum,

just as an observation that I forgot to attach to the previous message, Uz velocity is indeed symmetric about the x-y plane. This gives me confidence that cyclic boundary conditions are being enforced correctly.


Thank you again,

Alessandro
gtg627e is offline   Reply With Quote

Old   November 19, 2007, 19:04
Default Sorry, I meant to say: "Uz
  #22
Member
 
Alessandro Spadoni
Join Date: Mar 2009
Location: Atlanta, GA
Posts: 65
Rep Power: 17
gtg627e is on a distinguished road
Sorry, I meant to say:

"Uz velocity is indeed cyclic about the x-y plane"

Alessandro
gtg627e is offline   Reply With Quote

Old   July 11, 2012, 04:18
Default
  #23
Senior Member
 
Ehsan
Join Date: Mar 2009
Posts: 112
Rep Power: 17
ehsan is on a distinguished road
Hello

Could I kindly ask you whether applying "LES Model: laminar" in Les Property folder will create implicit LES in OPENFOAM? If no, how we should apply implicit LES in OPENFOAM?

Thanks in advance
ehsan is offline   Reply With Quote

Old   April 6, 2015, 10:04
Default
  #24
Member
 
Join Date: Nov 2011
Posts: 32
Rep Power: 15
Andy_bm is on a distinguished road
Quote:
Originally Posted by eugene View Post
2. Initial conditions: k should have a small positive value (1e-10)
Can you explain why initial conditions for k should have small value? And how to calculate initial conditions for k?
Andy_bm is offline   Reply With Quote

Old   April 9, 2015, 12:27
Default
  #25
Member
 
Eric Robertson
Join Date: Jul 2012
Posts: 95
Rep Power: 15
msuaeronautics is on a distinguished road
Quote:
Originally Posted by Andy_bm View Post
Can you explain why initial conditions for k should have small value? And how to calculate initial conditions for k?
K should always tend to zero at the wall, as it represents your modeled portion of turbulence kinetic energy. In the case of LES, K is the (modeled) turbulence energy of the subgrid scales. Since velocity -> 0 as we get down to the wall, so should the energy.
msuaeronautics is offline   Reply With Quote

Old   April 9, 2015, 14:38
Default
  #26
Member
 
Join Date: Nov 2011
Posts: 32
Rep Power: 15
Andy_bm is on a distinguished road
Thanks,

What about nusgs near wall? Maybe there is a ratio between nusgs and nu? In oneeqeddy nusgs = c*delta*sqrt(k). If k -> 0, delta -> 0 as y+ ~ 1 => nusgs -> 0.But nusgs may varried depending on k and y+.And I don't understand what value of nusgs should be near wall.
Andy_bm is offline   Reply With Quote

Old   April 9, 2015, 15:09
Default
  #27
Member
 
Eric Robertson
Join Date: Jul 2012
Posts: 95
Rep Power: 15
msuaeronautics is on a distinguished road
Quote:
Originally Posted by Andy_bm View Post
Thanks,

What about nusgs near wall? Maybe there is a ratio between nusgs and nu? In oneeqeddy nusgs = c*delta*sqrt(k). If k -> 0, delta -> 0 as y+ ~ 1 => nusgs -> 0.But nusgs may varried depending on k and y+.And I don't understand what value of nusgs should be near wall.
nuSgs -> 0

is the correct BC for the wall (if, for nothing else, the equation you wrote there) and really is the only reasonable one.

How nuSgs varies as we start to move away from the wall (as y+ increases) depends on your method. You could either be using a wall function for nuSgs or you could have a sufficiently fine grid (suspect this would be the case for most people using LES) to properly represent it.

Please let me know if I'm not being clear.
msuaeronautics is offline   Reply With Quote

Old   April 9, 2015, 16:19
Default
  #28
Member
 
Join Date: Nov 2011
Posts: 32
Rep Power: 15
Andy_bm is on a distinguished road
Now I have BC on wall for nusgs - zeroGradient, so I must set fixedValue = 0 if y+ ~ 1?
Sorry,I don't understand initial condition for k on WALL must be near 0 or initial condition on INLET must ~ 0?
Andy_bm is offline   Reply With Quote

Old   April 9, 2015, 16:34
Default
  #29
Member
 
Eric Robertson
Join Date: Jul 2012
Posts: 95
Rep Power: 15
msuaeronautics is on a distinguished road
Quote:
Originally Posted by Andy_bm View Post
Now I have BC on wall for nusgs - zeroGradient, so I must set fixedValue = 0 if y+ ~ 1?
Sorry,I don't understand initial condition for k on WALL must be near 0 or initial condition on INLET must ~ 0?
No need to apologize.
Yes, for nuSgs and y+ ~1, you may use nuSgs_WALL ~ 0.
Your condition for K_WALL should also be near 0.

I am assuming you are using 1-equation eddy. The condition for inlet can be K_INLET ~ 1e-5 or 1e-6. In other words, some small value but not zero. It really depends on your case. The only time I've used 1-equation eddy I used that condition and got good results.
msuaeronautics is offline   Reply With Quote

Old   April 9, 2015, 16:58
Default
  #30
Member
 
Join Date: Nov 2011
Posts: 32
Rep Power: 15
Andy_bm is on a distinguished road
Thanks for your answers!

My case is flow past cylinder.I have mesh with y+ 0.1-1. And I have following problem if I use k_inlet~0.96 (1.5(UI)^2) -> Cd ~0.8. if k_inlet~0.01-0.0001 -> Cd~0.3 but in experiment Cd~0.55+-.
Andy_bm is offline   Reply With Quote

Old   April 9, 2015, 17:01
Default
  #31
Member
 
Eric Robertson
Join Date: Jul 2012
Posts: 95
Rep Power: 15
msuaeronautics is on a distinguished road
Quote:
Originally Posted by Andy_bm View Post
Thanks for your answers!

My case is flow past cylinder.I have mesh with y+ 0.1-1. And I have following problem if I use k_inlet~0.96 (1.5(UI)^2) -> Cd ~0.8. if k_inlet~0.01-0.0001 -> Cd~0.3 but in experiment Cd~0.55+-.
How are you calculating Cd? Are you using an ensemble average of a list of outputs?
msuaeronautics is offline   Reply With Quote

Old   April 9, 2015, 17:23
Default
  #32
Member
 
Join Date: Nov 2011
Posts: 32
Rep Power: 15
Andy_bm is on a distinguished road
I use libforces.lib and then plot result in labplot.For k~0.96 pulsation of coeffs occur near 0.8, for small k near 0.3.End time is sufficiently large.
Andy_bm is offline   Reply With Quote

Old   April 9, 2015, 17:34
Default
  #33
Member
 
Eric Robertson
Join Date: Jul 2012
Posts: 95
Rep Power: 15
msuaeronautics is on a distinguished road
Quote:
Originally Posted by Andy_bm View Post
I use libforces.lib and then plot result in labplot.For k~0.96 pulsation of coeffs occur near 0.8, for small k near 0.3.End time is sufficiently large.
That makes sense.

I have done study on sphere using DDES. I take the time average of the flow and compute the drag from the sum of pressure and viscous forces acting on the body from the mean solution. Maybe you could try that also for comparison. Drag gets a little tricky when using libforces, especially for an unsteady simulation.
msuaeronautics is offline   Reply With Quote

Old   April 11, 2015, 01:12
Default
  #34
Member
 
Join Date: Nov 2011
Posts: 32
Rep Power: 15
Andy_bm is on a distinguished road
And what scheme for grad and div(phi,U) did you use?
Andy_bm is offline   Reply With Quote

Old   April 11, 2015, 22:07
Default
  #35
Member
 
Eric Robertson
Join Date: Jul 2012
Posts: 95
Rep Power: 15
msuaeronautics is on a distinguished road
Quote:
Originally Posted by Andy_bm View Post
And what scheme for grad and div(phi,U) did you use?
Based on my studies, limitedLinear works pretty well for DES. Avoid the upwind/2nd order upwind schemes like the plague. I use a k value of 0.1-0.3 based on trial and error using a simple case; i.e.

Gauss limitedLinear 0.3;
msuaeronautics is offline   Reply With Quote

Old   May 18, 2015, 12:53
Default
  #36
Member
 
Join Date: Nov 2011
Posts: 32
Rep Power: 15
Andy_bm is on a distinguished road
What about internalField for k? Did you set this = k_inlet value or 0?
Andy_bm is offline   Reply With Quote

Old   May 18, 2015, 12:55
Default
  #37
Member
 
Eric Robertson
Join Date: Jul 2012
Posts: 95
Rep Power: 15
msuaeronautics is on a distinguished road
Quote:
Originally Posted by Andy_bm View Post
What about internalField for k? Did you set this = k_inlet value or 0?
I usually set this equal to k_inlet.
msuaeronautics is offline   Reply With Quote

Old   November 28, 2015, 14:41
Default
  #38
Senior Member
 
Join Date: Jan 2013
Posts: 372
Rep Power: 14
openfoammaofnepo is on a distinguished road
Dear Eugene,

Thank you for this suggestions. Do you know any papers or threads in which the LES results from linear and this filteredLinear2V for convection scheme are compared or validated? In the latter, we have two parameters that can be adjusted: "filteredLinear2V 0.2 0". If the first one (0.2 here) is small, this scheme seems equilevant to the linear. The comments from the source file are:
Code:
   // Scaling corefficient for the gradient ratio,
        // 0 = linear
        // 1 = fully limited
For the second parameter, in the source files, we have the following comments:
Code:
   // Maximum allowed overshoot/undershoot relative to the difference
        // across the face.
        // On input:
        //     0 = no overshoot/undershoot
        //     1 = overshoot/undershoot equal to the difference across the face
        // Note: After input 1 is added to l_
I am not sure I completely understand this usage of the second parameter. Could you please give an example? Thanks.

The link for the source file is here:
Code:
https://github.com/OpenFOAM/OpenFOAM-2.1.x/blob/master/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/filteredLinear2/filteredLinear2V.H
Thanks.
openfoammaofnepo is offline   Reply With Quote

Old   July 31, 2017, 15:30
Default
  #39
Senior Member
 
Timofey Mukha
Join Date: Mar 2012
Location: Stockholm, Sweden
Posts: 119
Rep Power: 14
tiam is on a distinguished road
Quote:
Originally Posted by openfoammaofnepo View Post
Dear Eugene,

Thank you for this suggestions. Do you know any papers or threads in which the LES results from linear and this filteredLinear2V for convection scheme are compared or validated? In the latter, we have two parameters that can be adjusted: "filteredLinear2V 0.2 0". If the first one (0.2 here) is small, this scheme seems equilevant to the linear. The comments from the source file are:
Code:
   // Scaling corefficient for the gradient ratio,
        // 0 = linear
        // 1 = fully limited
For the second parameter, in the source files, we have the following comments:
Code:
   // Maximum allowed overshoot/undershoot relative to the difference
        // across the face.
        // On input:
        //     0 = no overshoot/undershoot
        //     1 = overshoot/undershoot equal to the difference across the face
        // Note: After input 1 is added to l_
I am not sure I completely understand this usage of the second parameter. Could you please give an example? Thanks.

The link for the source file is here:
Code:
https://github.com/OpenFOAM/OpenFOAM-2.1.x/blob/master/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/filteredLinear2/filteredLinear2V.H
Thanks.

This is an old thread but I would like to revive it. I assume much more people have done LES on OF by now. Any developments on convective schemes? As for filteredLinear, we have 5 to choose from (including the V variants) and also a bunch of parameters. Any guidelines/suggestions?
tiam is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
AMG parallelisation and convection schemes christian OpenFOAM Running, Solving & CFD 3 December 17, 2007 09:21
Discretization scheme for Convection Terms Mohammad Kazemi CFX 16 December 7, 2004 23:38
Convection Term Discretization Maciej Matyka Main CFD Forum 3 October 7, 2004 05:32
discretization schemes alice FLUENT 1 July 28, 2004 16:58
differencing schemes for 3-D Convection-diffusion problems Nuray Kayakol Main CFD Forum 20 September 16, 1999 05:16


All times are GMT -4. The time now is 13:24.