|
[Sponsors] |
March 3, 2016, 09:16 |
Wrong yPlus calculation in OF 3.0.1?
|
#1 |
Senior Member
Alex
Join Date: Jan 2014
Posts: 126
Rep Power: 12 |
Hi there,
I am currently investigating the flow around a flatback airfoil and I have built a script that calculates the flow and mesh data for me and puts it into a usable BlockMeshDict file. My calculated first cell layer height correlates well to the CFD Online yPlus calculator so the mistake should not be in my formulas. When I view the mesh in ParaFoam and take the ruler to measure my first cell height it also correlates well to the input data. However, when I use the yPlus command, I get values of 3 to 3.5 whereas my input y+ is 1 or lower. Also, the wall shear stress calculated by OF is about 70 times higher than the shear calculated by the Schlichting formula. Does anyone know the physics behind the OF yPlus calculation? I am using the yPlus command for t=0 so the values should match my estimation with the initial conditions. I am using incompressible pisoFoam with kOmegaSST model. Cheers Alex |
|
March 7, 2016, 05:01 |
yStar value instead of yPlus
|
#2 |
Senior Member
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18 |
Hi
OpenFOAM is actually calculating a yStar value instead of yPlus. This can lead to different values. Check this link: http://www.cfd-online.com/Forums/ope...lus-ystar.html Cheers Fabian |
|
March 7, 2016, 05:41 |
|
#3 |
Senior Member
Alex
Join Date: Jan 2014
Posts: 126
Rep Power: 12 |
Hi Fabian,
thanks for you reply! So even if OF is saying 'yPlus', it's just the y* value? That's still a little confusing. I thought they would have sorted that out by v3.0.1. Cheers Alex |
|
May 18, 2016, 05:22 |
|
#4 |
Member
Paul Palladium
Join Date: Jan 2016
Posts: 93
Rep Power: 10 |
Hi !
I am a bit lost (I am a beginners with OF). I read all these threads about yplus calculation with openfoam but I still don't know how to calcul y+. I understand that the command yPlus compute y* and not y+. Then I download the utility of Mojtaba.a on post 8. But how it works ? What do I need to do ? I try to replace in openfoam30/src/postProcessing/functionObjects/utilities/yplus but without success I guess I need to recompile openfoam. How can I do that ? Thanks for your help ! |
|
September 7, 2016, 06:19 |
|
#5 |
Member
Paul Palladium
Join Date: Jan 2016
Posts: 93
Rep Power: 10 |
Still any idea about how to use this utility ?
|
|
September 8, 2016, 10:31 |
|
#6 | |
Member
Paul Palladium
Join Date: Jan 2016
Posts: 93
Rep Power: 10 |
I guess I found out how to install/compile this application.
1. replace the old directory "yPlus" (locate at openFoam30/applications/utilities/postProcessing/wall) by the new one : https://github.com/OpenFOAM/OpenFOAM...ing/wall/yPlus 2. go in the directory "make" (openFoam30/applications/utilities/postProcessing/wall/yPlus) and type Quote:
|
||
December 17, 2016, 09:40 |
|
#7 |
Member
Bashar
Join Date: Jul 2015
Posts: 74
Rep Power: 11 |
||
January 27, 2017, 11:53 |
Help with Y+ openfoam 4.0
|
#8 |
Member
Fredi Cenci
Join Date: Dec 2016
Posts: 38
Rep Power: 9 |
Hey guys, I've been trying to simulate the flow over a 3-D cylinder. I am using wall functions and it is known that Y+ should be 30 < y+ <100 not over 300. I used this calculator http://www.pointwise.com/yplus/ to estimate my first cell hight.
Well, I used the function yPlus in Openfoam 4.0 and seems like the results are different from what I calculated. I've taken a look over this issue, seems like y+ in older versions of openfoam is actually y* and I believe that this is my problem. How can i get out of this? should I stick with y* and control the y* of my mesh instead y+? which is the ideal value of y* for wall functions? Thanks a lot. |
|
February 1, 2017, 23:04 |
File
|
#9 | |
Member
Fredi Cenci
Join Date: Dec 2016
Posts: 38
Rep Power: 9 |
Quote:
Thanks a lot! |
||
April 30, 2017, 13:00 |
|
#10 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
I'm late to the following questions, but since I did some research into this, here are the answers: Quote:
From what I can figure out, the y* is the approximation made to y+ based on the wall function values. This also means that it your cell on the wall is large enough and has a y* or y+ high enough, the wall function has to approximate the result either way. But if the cell is small enough, the layer being modelled is for the laminar sub-layer, in which case the y+ calculation is more appropriate, i.e. based on the wall shear stress. The possible reason that OpenFOAM does not provide the y+ definition, is most likely because the wallShearStress application (OpenFOAM version 2.4.x and older) or function object (as of OpenFOAM 3.0.0, if I'm not mistaken) provides a more accurate depiction of the context in which is should be used, i.e. laminar flow, at least as far as I can figure out (please correct me if I'm wrong). Quote:
Code:
echo $FOAM_RUN Best regards, Bruno
__________________
|
|||
Tags |
komega sst model, openfoam, wall shear stress, y+ value, yplus |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wrong calculation of y+ in flow over backward facing step | hedi-72 | OpenFOAM Post-Processing | 0 | January 26, 2016 12:02 |
Wrong interface curvature capturing and contact line calculation at low capillary nu | Mahmoud_aboukhedr | OpenFOAM Running, Solving & CFD | 0 | April 14, 2015 15:04 |
Increase in CPU number during the FIRE calculation | amin_u50 | AVL FIRE | 0 | August 6, 2014 09:34 |
Solver Yplus of Automatic wall treatment | justjhy | CFX | 2 | May 4, 2013 08:19 |
X-Y plot of Yplus in Fluent 5.3 | Luo | FLUENT | 24 | April 11, 2000 07:07 |