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

LES simulation and wall modeling

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 1 Post By joegi.geo
  • 1 Post By joegi.geo
  • 3 Post By HPE

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 21, 2020, 19:32
Default LES simulation and wall modeling
  #1
New Member
 
Join Date: May 2020
Posts: 12
Rep Power: 6
milad1990 is on a distinguished road
Hi Foamers!
I am trying to use WALE and Smagornsky for simulating flow around cylinder. My Re is 10^4 and my fluid is water. I have U, P, nut, k files in my /0 folder. I know that for turbulent simulations in order to capture fluid properties near wall we have two ways:

1- Using very fine mesh near wall.

2- Using wall modelings and a fair mesh near wall.

For case 2, I know that for boundary conditions I have to use wall functions like (nutUSpaldingWallFunction) or (nutUWallFunction) or etc for "nut", and (kLowReWallFunction) or (kqRWallFunction) for "k".

But I do not know exactly what should I consider for wall boundary condition for "nut and "k" in case 1. (of course no wall modeling but what instead?)

Thank you in advance for your response.
milad1990 is offline   Reply With Quote

Old   August 21, 2020, 23:12
Default
  #2
Senior Member
 
joegi
Join Date: Nov 2009
Location: genoa
Posts: 104
Rep Power: 17
joegi.geo is on a distinguished road
Niether of the models use k. nutUSpaldingWallFunction is fine in both cases.


By the way, wall modeling LES does not strictly mean that you can use a coarse mesh close to the wall. Your y+ can be larger than 30, but you still need to have a low deltaX+ and deltaZ+, and this translates in fine meshes (thou coarser than wall resolving LES).
milad1990 likes this.
joegi.geo is offline   Reply With Quote

Old   August 22, 2020, 11:31
Default
  #3
New Member
 
Join Date: May 2020
Posts: 12
Rep Power: 6
milad1990 is on a distinguished road
Dear Joegi.geo
Thank you so much for your response.

Yes. you are right about deltaX+ and deltaZ+. Also you said, when we use wall modeling, we do not necessarily need to prove Y+<1. But suppose that we need to do a simulation without wall modeling. So what should we use for "boundary condition" for "k" and "nut" on walls (cylinder)?

Also I am using templates from wiki open-foam (wiki.openfoam.com/Vortex_shedding_by_Joel_Guerrero_3D)
and they use both "nut" and "k" as boundary conditions for LES in 0/ folder.

Thank you so much
milad1990 is offline   Reply With Quote

Old   August 22, 2020, 12:44
Default
  #4
Senior Member
 
joegi
Join Date: Nov 2009
Location: genoa
Posts: 104
Rep Power: 17
joegi.geo is on a distinguished road
k is not computed for wale and smagorinsky. You can erase that file safely. For nut use nutUSpaldingWallFunction, it is y+ insensitive.
milad1990 likes this.
joegi.geo is offline   Reply With Quote

Old   August 22, 2020, 13:19
Default
  #5
New Member
 
Join Date: May 2020
Posts: 12
Rep Power: 6
milad1990 is on a distinguished road
Thank you dear Joegi.geo
I think from what you said, for "nut" boundary condition on walls, we should always use a wall function. I am looking for a method to not use a wall function.

Best
milad1990 is offline   Reply With Quote

Old   August 22, 2020, 13:47
Default
  #6
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13
HPE is on a distinguished road
Sometimes OpenFOAM namings are a bit misleading. For y+<5 grids, nut and k wall functions automatically switch to non-wall function behaviour in a stepwise manner. Have a look at their implementations.

For example, for y+<5, nutUSpalding is a safe and preferable one (within the derivation assumptions of Spalding model expression) because it is smooth between viscous and inertial layers, but you can use any nut wall function, because for such fine grids the selected wall function does not apply/compute the wall function expressions - but applies viscous sublayer analytical expressions as if no wall function is being used. Most do switch in stepwise manner by default, but you can also specify exponential or binomial smooth blending.

The same argument applies to epsilon and omega wall functions as well.

Yet the other way around is not possible. For example, nutLowReWallFunction (which is not a wall function, but a wrapper class - another name for either fixedValue or zeroGrad BC) should not be used for y+>30 grids.
acgnipper, Gang Wang and milad1990 like this.
HPE is offline   Reply With Quote

Old   August 22, 2020, 15:53
Default
  #7
New Member
 
Join Date: May 2020
Posts: 12
Rep Power: 6
milad1990 is on a distinguished road
Hi HPE
That was a very good guidance.
Thank you so much

Best
milad1990 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
To calculate wall shear stress in of210 for les simulation suryawanshi_nitin OpenFOAM Post-Processing 44 August 3, 2018 14:01
OpenFoam 4.1: interDyMFoam LES Simulation for hydro turbine in river pi__sec OpenFOAM Running, Solving & CFD 13 July 19, 2017 05:08
Grid difference between wall modeled LES and wall resolved LES hityangsir Main CFD Forum 9 April 17, 2015 12:59
LES wall function for a cylinder simulation mike_ OpenFOAM Running, Solving & CFD 0 January 12, 2015 10:54
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32


All times are GMT -4. The time now is 21:10.