|
[Sponsors] |
March 23, 2015, 03:43 |
|
#41 |
Senior Member
Blanco
Join Date: Mar 2009
Location: Torino, Italy
Posts: 193
Rep Power: 17 |
Hi Xinguang,
I don't have experience with sonicFoam, but I think for sure you need to define mu and mut -> cinematic viscosity with varying density, laminar and turbulent, in order to perform your compressible simulation. In the results you will get the rho field and it will be used by yPlusRAS to calculate y+ values. |
|
March 23, 2015, 08:15 |
|
#42 |
Member
Xinguang Wang
Join Date: Feb 2015
Posts: 45
Rep Power: 11 |
Hi Andrea
As you said, yPlusRAS could give the yplus at the wall after I generate the rho fields. But the value is quite small than I expected, since I calculate yplus using the yplus calculator: http://geolab.larc.nasa.gov/APPS/YPlus/ yPlusRAS give the value of 0.03 compare with 1 of the yplus calculator. But in the website, there is no information about the calculation. So I think I should calculate the yplus by hand to compare with the results of OF. Thanks for your reply. |
|
March 25, 2015, 11:59 |
|
#43 |
Senior Member
Blanco
Join Date: Mar 2009
Location: Torino, Italy
Posts: 193
Rep Power: 17 |
Hi Xinguang,
yes you can check at a wall what is the y+ value "by hand", but I'm pretty sure you will find that OF is using the right formula. Check my post #37 HTML Code:
http://www.cfd-online.com/Forums/openfoam-solving/116358-how-calculate-y-plus-2.html#post530569 Best, Andrea |
|
September 8, 2015, 05:22 |
yPlusRAS error
|
#44 |
New Member
jaydeep
Join Date: Sep 2015
Location: Pune, Maharashtra, India
Posts: 7
Rep Power: 11 |
Hello,
Currently I am running the case in OpenFOAM 2.3.0. I am having a problem calculating the y plus value. My case is in sonicfoam having Re 3e6 and I am using K-Epsilon RAS model. However, after post processing I type the command yPlusRAS in terminal, I get following error message, * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Create time Create mesh for time = 0 Time = 0 Calculating wall distance Writing wall distance to field y Reading field U Reading/calculating face flux field phi --> FOAM FATAL IO ERROR: cannot open file file: /home/cae/OpenFOAM/cae-2.3.0/run/jaydeep/Pen_3D_4.5/constant/transportProperties at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 87. FOAM exiting * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Can anybody suggest a possible solution to overcome this error message ? Thanks and Regards jaydeep |
|
September 8, 2015, 05:51 |
|
#45 |
Senior Member
Blanco
Join Date: Mar 2009
Location: Torino, Italy
Posts: 193
Rep Power: 17 |
OF doesn't find the transportProperties file inside the correct path. Check if it's there, OF needs to check what RANS model you are using and what are the nu or mu values.
|
|
September 8, 2015, 06:45 |
|
#46 | |
Member
Xinguang Wang
Join Date: Feb 2015
Posts: 45
Rep Power: 11 |
Quote:
try yPlusRAS -compressible -time [time folder] Before this, change the mut wall bc to mutLowReWallfunction, which is used to calculate the yPlus value. |
||
December 8, 2015, 04:34 |
|
#47 |
New Member
hamide hayati
Join Date: Oct 2015
Posts: 28
Rep Power: 11 |
hello friends
i'm new in openFoam. i want to calculate y-plus in openFoam. i don't know how!!! it's turbulent duct flow with Re=3e+5 would you please help me? |
|
December 8, 2015, 05:39 |
|
#48 |
Member
Xinguang Wang
Join Date: Feb 2015
Posts: 45
Rep Power: 11 |
change wall bc in the mut file as mutLowReWallFunction, and in the terminal 'yPlusRAS (-compressible) (-time)'.
Hope it is helpful. |
|
December 8, 2015, 05:46 |
|
#49 |
New Member
hamide hayati
Join Date: Oct 2015
Posts: 28
Rep Power: 11 |
||
December 8, 2015, 07:50 |
|
#50 |
Member
Xinguang Wang
Join Date: Feb 2015
Posts: 45
Rep Power: 11 |
In the nut file, nutLowReWallFunction, then type in yPlusRAS
|
|
June 16, 2016, 00:56 |
yPlusLES is very small
|
#51 |
Senior Member
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 17 |
Hi,
I am doing simulaion inside a channel with Re=4900 based on channel half width. The channel is 10mm*60mm*10mm. The mesh is 50*300*50. The flow direction is in y-direction. I use yPlusLES utility but I get weird results. the yPlus in all over the domain, near or far from the wall, is very small, let's say maximum 3. I also calculated UPlus=U_mean/Utau Utau=sqrt(gardP*h) h=half channel width I put gradp in respect to spanwise direction. I am not pretty sure that this gradP is correct. I got it by adding gradP in controlDict. Thanks for any comment. |
|
December 17, 2016, 13:01 |
|
#52 |
Member
Bashar
Join Date: Jul 2015
Posts: 74
Rep Power: 11 |
Hi,
I am little confused! So, I am running an LES simulation flow past plate with Re=50000. If I use the yPlusLES will this give me ystar or yplus? I am using pimpleFoam.Also if I want to comput the y+ around the plate and not the full domain , how can I do that? Sent from my iPhone using CFD Online Forum mobile app |
|
December 19, 2016, 15:40 |
|
#53 |
Member
Bashar
Join Date: Jul 2015
Posts: 74
Rep Power: 11 |
Thanks , I found the answer.
In my version , 3.0.1, I used yPlus command to get it. Thanks a lot. |
|
May 23, 2017, 12:46 |
How can I calculate y+ without any SGS model in LES?
|
#54 |
Member
Mohamed Elghorab
Join Date: May 2016
Location: Coventry, Engalnd
Posts: 41
Rep Power: 10 |
Hi everybody,
So now, How can I calculate y+ without any SGS model in LES? as I have no nuEff |
|
May 23, 2017, 14:29 |
|
#55 | |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 |
Quote:
You get the friction velocity using the wall shear stress. With this calculated for a point you may express the y-value of the first cell center. This is the y+ values the tools in OF give.
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
||
May 23, 2017, 15:59 |
|
#56 |
Member
Mohamed Elghorab
Join Date: May 2016
Location: Coventry, Engalnd
Posts: 41
Rep Power: 10 |
Dear Uwe,
thanks a lot for the quick reply. I think I managed to get it by put turbulenceProperties file as a laminar in the studied case after the run and just put the utility command yPlus Thanks |
|
July 10, 2017, 08:31 |
|
#57 |
Member
Join Date: May 2017
Posts: 47
Rep Power: 9 |
Hello everyone,
I'm simulating the flow past a sphere using k-omega SST model and I'm trying to calculate the yPlus on the sphere. I tried to type "yPlusRAS" in the terminal, as you said, but it gives me the following message: Code:
[ofuser@default c9]$ yPlusRAS bash: yPlusRAS: command not found Can anybody help me? |
|
July 10, 2017, 09:07 |
|
#58 | |
Member
Join Date: May 2017
Posts: 47
Rep Power: 9 |
Quote:
|
||
August 20, 2017, 07:05 |
|
#59 |
New Member
Join Date: Jul 2017
Posts: 14
Rep Power: 9 |
hi
I am doing open channel for simulating atmospheric boundary layer with openFoam. my solver is pimple and the LES model is oneEqEddy. and I do not know how can I calculate y+. domain size is 1400,1000,100 m and thats whye the first y+ became so large! |
|
August 23, 2017, 06:13 |
|
#60 |
Senior Member
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 12 |
Take a look at post #55.
You can get the wall shear stress by using the wallShearStress postProcessing functionality and calculating its magnitude. Remember that OpenFOAM uses kinematic pressure and that you have to multiply your wallShearStress by the density of your fluid. For your mesh size, try to use mesh grading or snappyHexMesh to refine the section of your mesh close to the wall. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] Problem to calculate grad(U) using swak4Foam | Hugoles | OpenFOAM Community Contributions | 12 | November 24, 2020 11:28 |
how to calculate flow properties along the first grid point near to the wall | kiran | OpenFOAM Post-Processing | 2 | September 12, 2010 13:59 |
calculate values for eps and k from Re or u????? | sbar | OpenFOAM Pre-Processing | 5 | August 16, 2010 05:10 |
How to calculate Torque for francis turbine | manish | CFX | 4 | March 15, 2007 03:57 |
How to calculate density of solid phase | zhou | Main CFD Forum | 0 | December 17, 1999 20:06 |