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

how to use the "yPlusRAS"utility

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By elmo555

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 13, 2012, 02:15
Default how to use the "yPlusRAS"utility
  #1
Member
 
sqing
Join Date: Sep 2012
Location: Dalian
Posts: 77
Rep Power: 14
Sunxing is on a distinguished road
Hi foamers

I'm solving a channel folw case with the kEpsilon model.I want the put out the Y+ and U+, but I don't know how to use the YPlusRAS utility. What's more I don't know how to get the U+. So help me please~


Thanks.
Sunxing is offline   Reply With Quote

Old   November 13, 2012, 03:15
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22
Bernhard is on a distinguished road
You can just use the yPlusRAS utility from the command-line, what is not clear about it?

I think generally, the yPlusRAS utility will calculate y*, and not y+.
Bernhard is offline   Reply With Quote

Old   November 13, 2012, 05:55
Default
  #3
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan will become famous soon enough
In addition to Bernhard's comment, take a look at the thread

http://www.cfd-online.com/Forums/ope...-testcase.html

but make sure to take the time to read through the thread. There are corrections to the provided application and discussion about using of the contributed utility. The link I provided will give you a utility to calculate y+ and u+ and is used for low Reynolds number flows.
chegdan is offline   Reply With Quote

Old   November 13, 2012, 08:33
Default
  #4
Member
 
sqing
Join Date: Sep 2012
Location: Dalian
Posts: 77
Rep Power: 14
Sunxing is on a distinguished road
Just like you said, I have use the yPlusRAS utility from the command-line. But I got an error ——
cannot open file

file: /home/sun/OpenFOAM/sun-2.1.1/1112/constant/transportProperties at line 0.

From function regIOobject::readStream()
in file db/regIOobject/regIOobjectRead.C at line 87.

FOAM exiting

While there is no the transportProperties file in my case actually because I use the rhoPimpleFoam solver for my case and it maybe a bad choice for me to choose this solver.

At first, I want to apply a solver from the incompressible directory because my case is a simple channel flow (1, low Re number; 2, the temperature of the inlet air is 300k,the temperature of the wall is 310k; 3, epsilon=46,k=0.7) While I find that all the cases in the incompressible directory have no dealing with the temperature and I don't know how to add it in the solver, so I chose the rhoPimpleFoam solver for my case and I don't know if it is a right one.

In your opinion, what solver should I choose?
What's more, what is y* ?
Sunxing is offline   Reply With Quote

Old   November 13, 2012, 08:36
Default
  #5
Member
 
sqing
Join Date: Sep 2012
Location: Dalian
Posts: 77
Rep Power: 14
Sunxing is on a distinguished road
Quote:
Originally Posted by Bernhard View Post
You can just use the yPlusRAS utility from the command-line, what is not clear about it?

I think generally, the yPlusRAS utility will calculate y*, and not y+.

First, thanks for your reply.
Just like you said, I have use the yPlusRAS utility from the command-line. But I got an error ——
cannot open file

file: /home/sun/OpenFOAM/sun-2.1.1/1112/constant/transportProperties at line 0.

From function regIOobject::readStream()
in file db/regIOobject/regIOobjectRead.C at line 87.

FOAM exiting

While there is no the transportProperties file in my case actually because I use the rhoPimpleFoam solver for my case and it maybe a bad choice for me to choose this solver.

At first, I want to apply a solver from the incompressible directory because my case is a simple channel flow (1, low Re number; 2, the temperature of the inlet air is 300k,the temperature of the wall is 310k; 3, epsilon=46,k=0.7) While I find that all the cases in the incompressible directory have no dealing with the temperature and I don't know how to add it in the solver, so I chose the rhoPimpleFoam solver for my case and I don't know if it is a right one.

In your opinion, what solver should I choose?
What's more, what is y* ?
Sunxing is offline   Reply With Quote

Old   November 13, 2012, 08:39
Default
  #6
Member
 
sqing
Join Date: Sep 2012
Location: Dalian
Posts: 77
Rep Power: 14
Sunxing is on a distinguished road
Quote:
Originally Posted by chegdan View Post
In addition to Bernhard's comment, take a look at the thread

http://www.cfd-online.com/Forums/ope...-testcase.html

but make sure to take the time to read through the thread. There are corrections to the provided application and discussion about using of the contributed utility. The link I provided will give you a utility to calculate y+ and u+ and is used for low Reynolds number flows.

Dear Dan

Thanks for your reply. It's very helpful for me. Thanks again!
Sunxing is offline   Reply With Quote

Old   November 13, 2012, 17:34
Default
  #7
Senior Member
 
Join Date: Nov 2009
Location: Michigan
Posts: 135
Rep Power: 17
doubtsincfd is on a distinguished road
since you are using a compressible solver, use yplusRAS -compressible
doubtsincfd is offline   Reply With Quote

Old   November 13, 2012, 22:00
Default
  #8
Member
 
sqing
Join Date: Sep 2012
Location: Dalian
Posts: 77
Rep Power: 14
Sunxing is on a distinguished road
Quote:
Originally Posted by doubtsincfd View Post
since you are using a compressible solver, use yplusRAS -compressible
Hello Omkar,

Thanks for your reply. I will have a try.

Best
Sunxing
Sunxing is offline   Reply With Quote

Old   November 20, 2012, 10:52
Default
  #9
Member
 
sqing
Join Date: Sep 2012
Location: Dalian
Posts: 77
Rep Power: 14
Sunxing is on a distinguished road
Quote:
Originally Posted by Bernhard View Post
You can just use the yPlusRAS utility from the command-line, what is not clear about it?

I think generally, the yPlusRAS utility will calculate y*, and not y+.

Hi,

Can you give me a exact explaination of y*? I don't know what does it stand for.

thanks!
Sunxing is offline   Reply With Quote

Old   November 20, 2012, 10:58
Default
  #10
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan will become famous soon enough
Quote:
Originally Posted by Sunxing View Post
Hi,

Can you give me a exact explaination of y*? I don't know what does it stand for.

thanks!
The definition
http://www.cfd-online.com/Forums/ope...lus-ystar.html
chegdan is offline   Reply With Quote

Old   November 20, 2012, 11:01
Default
  #11
Member
 
sqing
Join Date: Sep 2012
Location: Dalian
Posts: 77
Rep Power: 14
Sunxing is on a distinguished road
Quote:
Originally Posted by chegdan View Post
Hi Dan

Thank you very much

Sunxing
Sunxing is offline   Reply With Quote

Old   December 5, 2017, 11:22
Default
  #12
Member
 
Lennart
Join Date: Feb 2016
Posts: 46
Rep Power: 10
elmo555 is on a distinguished road
Just an update, the yPlus tool has been moved into the solvers:
Code:
yPlus has been superceded by the '-postProcess' solver command-line option, e.g.
simpleFoam -postProcess -func yPlus
hadisafaei, Eldrael and Laithz like this.
elmo555 is offline   Reply With Quote

Old   January 11, 2018, 02:08
Default
  #13
New Member
 
Join Date: Mar 2016
Posts: 8
Rep Power: 10
Eldrael is on a distinguished road
Quote:
Originally Posted by elmo555 View Post
Just an update, the yPlus tool has been moved into the solvers:
Code:
yPlus has been superceded by the '-postProcess' solver command-line option, e.g.
simpleFoam -postProcess -func yPlus
This is very helpful, thank you very much.
Eldrael 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



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