|
[Sponsors] |
November 13, 2012, 02:15 |
how to use the "yPlusRAS"utility
|
#1 |
Member
sqing
Join Date: Sep 2012
Location: Dalian
Posts: 77
Rep Power: 14 |
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. |
|
November 13, 2012, 03:15 |
|
#2 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
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+. |
|
November 13, 2012, 05:55 |
|
#3 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
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. |
|
November 13, 2012, 08:33 |
|
#4 |
Member
sqing
Join Date: Sep 2012
Location: Dalian
Posts: 77
Rep Power: 14 |
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* ? |
|
November 13, 2012, 08:36 |
|
#5 | |
Member
sqing
Join Date: Sep 2012
Location: Dalian
Posts: 77
Rep Power: 14 |
Quote:
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* ? |
||
November 13, 2012, 08:39 |
|
#6 | |
Member
sqing
Join Date: Sep 2012
Location: Dalian
Posts: 77
Rep Power: 14 |
Quote:
Dear Dan Thanks for your reply. It's very helpful for me. Thanks again! |
||
November 13, 2012, 17:34 |
|
#7 |
Senior Member
Join Date: Nov 2009
Location: Michigan
Posts: 135
Rep Power: 17 |
since you are using a compressible solver, use yplusRAS -compressible
|
|
November 13, 2012, 22:00 |
|
#8 |
Member
sqing
Join Date: Sep 2012
Location: Dalian
Posts: 77
Rep Power: 14 |
||
November 20, 2012, 10:52 |
|
#9 |
Member
sqing
Join Date: Sep 2012
Location: Dalian
Posts: 77
Rep Power: 14 |
||
November 20, 2012, 10:58 |
|
#10 | |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
Quote:
http://www.cfd-online.com/Forums/ope...lus-ystar.html |
||
November 20, 2012, 11:01 |
|
#11 | |
Member
sqing
Join Date: Sep 2012
Location: Dalian
Posts: 77
Rep Power: 14 |
Quote:
Thank you very much Sunxing |
||
December 5, 2017, 11:22 |
|
#12 |
Member
Lennart
Join Date: Feb 2016
Posts: 46
Rep Power: 10 |
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 |
|
January 11, 2018, 02:08 |
|
#13 |
New Member
Join Date: Mar 2016
Posts: 8
Rep Power: 10 |
||
|
|