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

Is yPlusRAS correct?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 11, 2013, 11:39
Default Is yPlusRAS correct?
  #1
Member
 
Miro
Join Date: Jan 2013
Location: Europe
Posts: 51
Rep Power: 13
miro2000 is on a distinguished road
Hello everyone,

i know there are some threads about whether this utility calculates y+ or y*, but those threads are pretty old afaik. So i apologise in advance if this was answered recently.

So, I'm using OF 2.2.0 to calculate flow around a aerofoil in 3D. I believe that my mesh is OK. I'm running simpleFoam and KomegaSST.
My y+ ranges cca [29,300], at least that's what yPlusRAS says.

Omega diverges when I use "linearUpwind grad(omega)" scheme. (upwind works fine)

I'm suspecting that is happening because calculated value of yPlusRAS is not correct. I tried compiling yPlus and yPlusRANS(i think) utility that can be found on the forums but they don't seem to work with 2.2.0.

Thank you for reading and have a cool day.
- miro

edit: my Re is 4e6

Last edited by miro2000; August 11, 2013 at 12:59. Reason: Re
miro2000 is offline   Reply With Quote

Old   August 11, 2013, 13:27
Default
  #2
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
Hi
for your mesh that y+ is overall bigger than 30 (high-Re) yPlusRAS utility that works with wall functions and calculates y* in fact is correct and works fine.
if you want to model with low-Re mesh (if you want to model separation very well for example) tell me so that I send you the proper utility.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   August 11, 2013, 13:59
Default
  #3
Member
 
Miro
Join Date: Jan 2013
Location: Europe
Posts: 51
Rep Power: 13
miro2000 is on a distinguished road
Hello and thank you for your interest.

Forgive my ignorance (I am still a student), but i don't think I'm using low-Re mesh, since i was trying to achieve y+ > 30, and in other words am not calculating what's happening inside the boundary layer directly in an area where viscous forces are greater than inertial.

So if I understand correctly yPlusRAS is not good for my model and it would be great if you would sent me your utility.

miro2000 is offline   Reply With Quote

Old   August 11, 2013, 14:15
Default
  #4
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
no yPlusRAS works correctly for high-Re mesh.
you better set turbulent terms to first order upwind instead of second order,they are only models and aren't a lot precise in fact that you want to use second order.just set a lower value for their tolerances in fvSolution for more accuracy.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   August 11, 2013, 14:31
Default
  #5
Member
 
Miro
Join Date: Jan 2013
Location: Europe
Posts: 51
Rep Power: 13
miro2000 is on a distinguished road
OK, i will try that.
I am curios why is it diverging for second order upwind though...
My mesh should be OK, it passes meshCheck and looks nice, and calculation converges nicely for first order, and when i switch it to second o.u. omega gets bounded after 3 iterations..

Currently I'm looking into the boundary conditions as a possible cause.

Thanks for help,
- miro
miro2000 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
Is my Dynamic mesh setup correct? cfd seeker FLUENT 16 October 30, 2020 06:16
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Is there a way to find a correct "spacing"? Jordi P. Main CFD Forum 2 August 15, 2013 10:05
yPlusRAS in OF 1.6.x - Low Re Models ivan_cozza OpenFOAM Running, Solving & CFD 0 September 23, 2009 05:27
LES correct function luiz eduardo OpenFOAM Running, Solving & CFD 6 September 14, 2007 04:10


All times are GMT -4. The time now is 15:49.