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

how to use the "yPlusRAS"utility

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools 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: 4
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: 12
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
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 538
Rep Power: 18
chegdan will become famous soon enough
In addition to Bernhard's comment, take a look at the thread

y+ and u+ values with low-Re RANS turbulence models: utility + testcase

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.
__________________
Dan

Find me on twitter @dancombest and LinkedIn
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: 4
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: 4
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: 4
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

y+ and u+ values with low-Re RANS turbulence models: utility + testcase

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: 7
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: 4
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: 4
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
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 538
Rep Power: 18
chegdan 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
Yplus and ystar
__________________
Dan

Find me on twitter @dancombest and LinkedIn
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: 4
Sunxing is on a distinguished road
Quote:
Originally Posted by chegdan View Post
The definition
Yplus and ystar
Hi Dan

Thank you very much

Sunxing
Sunxing is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On



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