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

Wall treatment with OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Like Tree109Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 20, 2015, 04:13
Default
  #41
Senior Member
 
Join Date: Mar 2015
Posts: 250
Rep Power: 12
KateEisenhower is on a distinguished road
Hello foamers,

As I understood from the source code, the omegaWallFunction is continuous and so can be used for a low-Re simulation as well. My boundary field in the omega dictionary looks as follows:

Code:
no_slip_wall
{
     type             omegaWallFunction;
     value            uniform ???;
     Cmu              0.09;
     kappa            0.41;
     E                9.8;
     beta1            0.075;
}
I am not sure what I should set as value. Is it reasonable to take the value I have calculated for my velocity inlet?

Best regards,

Kate
KateEisenhower is offline   Reply With Quote

Old   November 20, 2015, 04:16
Default
  #42
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 27
RodriguezFatz will become famous soon enough
As far as I know, "value" is only used for the very first iteration of the very first time step. So unless the solution does diverge, I think you can set any value you want. Since this is a wall, I would go for a very high value.
KateEisenhower and piu58 like this.
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Old   November 20, 2015, 04:43
Default
  #43
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
akidess will become famous soon enough
A possible guideline is
\omega_w = 6 \nu / (\beta * y^2)

I'm not sure if the standard kOmega model in OpenFoam is suitable for lowRe setups. Anyway, as Rodriguez said, it's just an initial guess, but why not make an educated one

See also: http://www.cfd-online.com/Wiki/Near-...k-omega_models
KateEisenhower likes this.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   November 20, 2015, 04:45
Default
  #44
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 27
RodriguezFatz will become famous soon enough
Anton, as you can see from the formula you posted, omega goes to infinity at the wall. So it will never be a good guess to set omega to zero, not for high-Re and not for low-Re. It's always pretty high, such as 1e8.
akidess likes this.
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Old   November 20, 2015, 04:54
Default
  #45
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
akidess will become famous soon enough
Right, I mixed something up there. Fixed now, thanks!
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   September 5, 2016, 06:41
Default
  #46
Senior Member
 
Join Date: Mar 2015
Posts: 250
Rep Power: 12
KateEisenhower is on a distinguished road
Quote:
Originally Posted by RodriguezFatz View Post
As far as I know, "value" is only used for the very first iteration of the very first time step. So unless the solution does diverge, I think you can set any value you want. Since this is a wall, I would go for a very high value.

Hello all,

can anyone confirm this? Is this also the case for other turbulent paramters at a wall?

Best regards,

Kate
KateEisenhower is offline   Reply With Quote

Old   March 2, 2017, 08:38
Default
  #47
New Member
 
Giuseppe
Join Date: Jan 2017
Location: London
Posts: 3
Rep Power: 9
Giuseppe92 is on a distinguished road
Hello,
I found this post very intersting and I would like to clarify something about the k-omega SST model in OpenFoam.
I have understood that if I want to use wall function I need a y+ between 30 and 100 for a good result. In order to do this I can write like this in 0/k file for a boundary:

liner
{
type kqRWallFunction;
value uniform 4e-07;
}

If I want to solve the boundary layer I need a y+<=1 first of all and not to call the wall function.
My question is: How can I manage k-omega SST without wall function for example on the above boundary for k?

Thank you in advance.

Best Regards,
Giuseppe

Last edited by Giuseppe92; March 2, 2017 at 09:49.
Giuseppe92 is offline   Reply With Quote

Old   July 21, 2018, 22:00
Default
  #48
Member
 
Cristina Hernandez
Join Date: May 2018
Posts: 35
Rep Power: 8
crizpi21 is on a distinguished road
Quote:
Originally Posted by Giuseppe92 View Post
My question is: How can I manage k-omega SST without wall function for example on the above boundary for k?
Hi Giuseppe,

Did you find any answer to your question?
I am also interested in how to model the boundary layer using k-omega SST
(I am running a simulation of the flow past a bluff body), either using wall functions or directly solving the boundary layer.
Maybe it would also be helpful if you could share your case.

Thanks in advance

Cristina
crizpi21 is offline   Reply With Quote

Old   May 28, 2021, 12:38
Default
  #49
Member
 
Guanjiang Chen
Join Date: Apr 2020
Location: Bristol, United Kingdom
Posts: 54
Rep Power: 6
guanjiang.chen is on a distinguished road
Quote:
Originally Posted by Giuseppe92 View Post
Hello,
I found this post very intersting and I would like to clarify something about the k-omega SST model in OpenFoam.
I have understood that if I want to use wall function I need a y+ between 30 and 100 for a good result. In order to do this I can write like this in 0/k file for a boundary:

liner
{
type kqRWallFunction;
value uniform 4e-07;
}

If I want to solve the boundary layer I need a y+<=1 first of all and not to call the wall function.
My question is: How can I manage k-omega SST without wall function for example on the above boundary for k?

Thank you in advance.

Best Regards,
Giuseppe
I think the type should be fixedValue or calculated.
Noah Zhang likes this.
guanjiang.chen 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
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
[Commercial meshers] tmerge utility creates unwanted interface/walls comes in the final mesh Shoonya OpenFOAM Meshing & Mesh Conversion 11 January 20, 2012 07:23
Radiative equilibrium wall condition in OpenFOAM JLight OpenFOAM 0 September 12, 2011 00:31
Near Wall treatment sven OpenFOAM 1 September 13, 2009 21:57
Hybrid Wall Treatment in OpenFOAM cbarry OpenFOAM 1 August 27, 2009 05:02


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