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

yPlusRAS : result = 0

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 14, 2009, 15:43
Default yPlusRAS : result = 0
  #1
jmf
Member
 
Jean-Michel FONTAINE
Join Date: Aug 2009
Location: Orleans - France
Posts: 55
Rep Power: 16
jmf is on a distinguished road
Hello dear all

Situation of a novice : I fail in using yPlusRAS
After running simpleFoam, yPLusRAS returns following message :
"Patch 0 named wall y+ : min: 0 max: 0 average: 0"

It creates a yPLus containing :
Code:
internalField   uniform 0;
boundaryField
{
    wall
    {
        type            calculated;
        value           uniform 0;
    }
    inlet
    {
        type            calculated;
        value           uniform 0;
    }
    outlet
    {
        type            calculated;
        value           uniform 0;
    }
and a file 'y' with non null values (almost one value per model node), of which the average is 0.38

What did I miss ?

Best regards

Jean-Michel
jmf is offline   Reply With Quote

Old   October 15, 2009, 05:34
Default
  #2
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
Since yPlus is calculated by
Code:
    if (isType<wallFvPatch>(curPatch))
    {
        Yp = pow(Cmu, 0.25)
            *y_[patchNo]
            *sqrt(k()().boundaryField()[patchNo].patchInternalField())
            /nu().boundaryField()[patchNo];
    }
in file RASModel.C

So, I am bold to guess something wrong with the k field, eg. you are missing it?
__________________
~
Daniel WEI
-------------
Boeing Research & Technology - China
Beijing, China
Email
lakeat is offline   Reply With Quote

Old   October 15, 2009, 16:16
Default yPlusRAS : result = 0
  #3
jmf
Member
 
Jean-Michel FONTAINE
Join Date: Aug 2009
Location: Orleans - France
Posts: 55
Rep Power: 16
jmf is on a distinguished road
Hi Daniel

My k dictionary contains:
Code:
 inlet
    {
        type            fixedValue;
        value           uniform 3 ;
    }
    outlet
    {
        type            zeroGradient;
    }
    wall
    {
        type            kqRWallFunction;
        value           uniform 5;
    }
and Cmu = 0.09

Is following message from solver normal :
"smoothSolver: Solving for nuTilda, Initial residual = 0, Final residual = 0, No Iterations 0" ?

Thanks for your help
J-Michel
jmf is offline   Reply With Quote

Old   October 16, 2009, 03:36
Default
  #4
Senior Member
 
tian's Avatar
 
Tian
Join Date: Mar 2009
Location: Berlin, germany
Posts: 119
Rep Power: 17
tian is on a distinguished road
Hi,

maybe you have to set the boundary patch to "wall"?

Byt
Thomas
tian is offline   Reply With Quote

Old   October 17, 2009, 06:02
Default yPlusRAS : result = 0
  #5
jmf
Member
 
Jean-Michel FONTAINE
Join Date: Aug 2009
Location: Orleans - France
Posts: 55
Rep Power: 16
jmf is on a distinguished road
Hi Thomas

The boundary patches are set to "wall"

Thanks to everybody for the time

J-Michel
jmf is offline   Reply With Quote

Reply

Tags
yplusras

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Result and trn files! Usman CFX 10 September 27, 2013 21:38
YPlusRAS and interFoam dkingsley OpenFOAM Bugs 4 April 28, 2010 09:08
yPlusRAS in OF 1.6.x - Low Re Models ivan_cozza OpenFOAM Running, Solving & CFD 0 September 23, 2009 05:27
Result Validation Saang Siemens 0 November 23, 2005 02:34
Result is not correct Li FLUENT 1 December 30, 2000 00:21


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