|
[Sponsors] |
August 21, 2020, 19:32 |
LES simulation and wall modeling
|
#1 |
New Member
Join Date: May 2020
Posts: 12
Rep Power: 6 |
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. |
|
August 21, 2020, 23:12 |
|
#2 |
Senior Member
joegi
Join Date: Nov 2009
Location: genoa
Posts: 104
Rep Power: 17 |
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). |
|
August 22, 2020, 11:31 |
|
#3 |
New Member
Join Date: May 2020
Posts: 12
Rep Power: 6 |
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 |
|
August 22, 2020, 12:44 |
|
#4 |
Senior Member
joegi
Join Date: Nov 2009
Location: genoa
Posts: 104
Rep Power: 17 |
k is not computed for wale and smagorinsky. You can erase that file safely. For nut use nutUSpaldingWallFunction, it is y+ insensitive.
|
|
August 22, 2020, 13:19 |
|
#5 |
New Member
Join Date: May 2020
Posts: 12
Rep Power: 6 |
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 |
|
August 22, 2020, 13:47 |
|
#6 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
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.
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
August 22, 2020, 15:53 |
|
#7 |
New Member
Join Date: May 2020
Posts: 12
Rep Power: 6 |
Hi HPE
That was a very good guidance. Thank you so much Best |
|
|
|
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 |