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

BCs for k and epsilon at walls with y+=1

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By sylvester

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 15, 2012, 15:18
Default BCs for k and epsilon at walls with y+=1
  #1
Senior Member
 
Vangelis Skaperdas
Join Date: Mar 2009
Location: Thessaloniki, Greece
Posts: 287
Rep Power: 21
vangelis is on a distinguished road
Hello everybody,

I would like to know the following for OpenFOAM 2.1.1:

when setting up a turbulent flow case with a mesh that leads to y+ values of 1 I do not need to use wall functions.
What is the correct BC for k and epsilon in such a case
Are they fixedValue=0 or
zeroGradient?

Similar question for k-omega models also.

I have found this post
http://www.cfd-online.com/Forums/ope...m-1-5-dev.html
but it refers to previous OF releases

Thanks!

Last edited by vangelis; October 15, 2012 at 16:44.
vangelis is offline   Reply With Quote

Old   October 16, 2012, 03:22
Default
  #2
Member
 
Roland
Join Date: Mar 2009
Location: Netherlands
Posts: 92
Rep Power: 17
sylvester is on a distinguished road
Hi Vangelis,

To my understanding you would (theoretically) set both at fixedValue = 0, as there is no turbulence possible in the viscous sublayer. And as there is no turbulence, you also can't have dissipation of turbulence.

I say theoretical because actually setting the BC's to 0 would result in a division by zero in the OpenFOAM implementation. In practice you would therefore set them to a very small value, for example fixedValue = 1e-12.

Best regards,
Sylvester
saeed jamshidi likes this.
sylvester is offline   Reply With Quote

Old   October 16, 2012, 03:51
Default
  #3
Senior Member
 
Vangelis Skaperdas
Join Date: Mar 2009
Location: Thessaloniki, Greece
Posts: 287
Rep Power: 21
vangelis is on a distinguished road
Hi Sylvester!

Thank you very much for your reply.

Best regards

Vangelis
vangelis is offline   Reply With Quote

Old   October 16, 2012, 08:57
Default
  #4
Senior Member
 
Vangelis Skaperdas
Join Date: Mar 2009
Location: Thessaloniki, Greece
Posts: 287
Rep Power: 21
vangelis is on a distinguished road
Hi Sylvester

I forgot to also specify that
nut should also be set to fixedValue=0
like k, right?

Vangelis
vangelis is offline   Reply With Quote

Old   October 16, 2012, 09:14
Default
  #5
Member
 
Roland
Join Date: Mar 2009
Location: Netherlands
Posts: 92
Rep Power: 17
sylvester is on a distinguished road
Hi Vangelis,

Or use nutLowReWallFunction, which makes the patch accessible from yPlusRAS.
From nutLowReWallFunctionFvPatchScalarField.H:
Quote:
Description
Boundary condition for turbulent (kinematic) viscosity when for use with
low Reynolds number models.

Sets nut to zero, and provides an access function to calculate y+.
regards,
Sylvester

ps. Can we perhaps expect improved OpenFOAM pre-processing in ANSA v13.3?
sylvester is offline   Reply With Quote

Old   October 16, 2012, 10:25
Default
  #6
Senior Member
 
Vangelis Skaperdas
Join Date: Mar 2009
Location: Thessaloniki, Greece
Posts: 287
Rep Power: 21
vangelis is on a distinguished road
We are trying to do this.
And in this sense thank you for your help!

so you mean that it is better to use
nutLowReWallFunction

so that afterwards I can get values for y+?

Otherwise it would be the same as setting fixedValue=0 for nut at walls?
vangelis is offline   Reply With Quote

Old   October 16, 2012, 10:52
Default
  #7
Member
 
Roland
Join Date: Mar 2009
Location: Netherlands
Posts: 92
Rep Power: 17
sylvester is on a distinguished road
Hi Vangelis,

Yes, from what I can gather it is better to use the nutLowReWallFunction. But I haven't done much work with low Re turbulence models, so I may be wrong here.

Best regards,
Sylvester

sylvester is offline   Reply With Quote

Old   October 16, 2012, 11:45
Default
  #8
Senior Member
 
Vangelis Skaperdas
Join Date: Mar 2009
Location: Thessaloniki, Greece
Posts: 287
Rep Power: 21
vangelis is on a distinguished road
Thanks again Sylvester!
vangelis 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
Epsilon boundary condition for walls in LamBremhorst LowRe model maruthamuthu_venkatraman OpenFOAM 1 April 21, 2019 06:25
SimpleFoam k and epsilon bounded nedved OpenFOAM Running, Solving & CFD 16 March 4, 2017 08:30
How to set up BCs for k epsilon model Julian K. OpenFOAM Pre-Processing 44 October 26, 2015 09:23
Dealing with BC's in OF 1.6 vkrastev OpenFOAM Running, Solving & CFD 5 September 4, 2012 11:58
SimpleFoam k and epsilon bounded nedved OpenFOAM Running, Solving & CFD 1 November 25, 2008 20:21


All times are GMT -4. The time now is 14:54.