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

y+ plotting into the Volume with OpenFoam 3.0.1 / plotting a viscosity with OF 3.0.1

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

Like Tree3Likes
  • 2 Post By Kina
  • 1 Post By Kina

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 25, 2016, 20:27
Question y+ plotting into the Volume with OpenFoam 3.0.1 / plotting a viscosity with OF 3.0.1
  #1
New Member
 
Björn
Join Date: Jul 2016
Location: Germany, Amberg
Posts: 7
Rep Power: 9
BjoernFoam is on a distinguished road
Dear Foamers,

I have to do an y+ / u+ plot on the NASA 2D Zero Pressure Gradient Flat Plate Case.
As far as i can see, I have everything I need for my calculations, except for a viscosity.

I have searched the Forum, but couldn't find a solution, suitable to my remaining time on the task.

I'm using the rhoSimple solver on a subsonic, turbulent air flow with the kOmegaSST RAS model.

It would really make my day if anybody got an usefull hint for me.
... One could consider me as a beginner

This is my first post, so don't hesitate to tell me about everything i did wrong in detail, in a kind way.
BjoernFoam is offline   Reply With Quote

Old   July 26, 2016, 03:50
Default
  #2
Senior Member
 
Alex
Join Date: Jan 2014
Posts: 126
Rep Power: 12
Kina is on a distinguished road
The command "yPlus" will write the cell-y+ to a specific field called "yPlus".
After starting paraview using the paraFoam-command, you will then be able to activate said field in the "fields" tab on the left. After that, you can use either the "Plot on Intersection Curves" filter in paraview in order to create the plot directly in paraview. Or you can use the "Integrate Variables" filter followed by the "Save data" option to export the points an their corresponding y+ values.
I hope there is an option that suits your needs.

Cheers
Alex
mo_na and qutadah.r like this.
Kina is offline   Reply With Quote

Old   July 26, 2016, 06:39
Default
  #3
New Member
 
Björn
Join Date: Jul 2016
Location: Germany, Amberg
Posts: 7
Rep Power: 9
BjoernFoam is on a distinguished road
Hello Kina!

Thanks for your quick reply!
As far as i understand it, the "yPlus" command will write the current y+ values for the first cell layer of the volume, for all defined walls, into a file.

What i need to know is "what would the y+ be like, if the first cell was bigger in the wall normal direction (only at one point of the wall, not even all along it)".

I think also a Reynolds number within the Volume should do just fine for my calculations, using the formulas "1." and "5." from this page:
http://www.cfd-online.com/Wiki/Y_plu...nce_estimation

Or am I on a completely wrong track here..?


Greetings

Björn
BjoernFoam is offline   Reply With Quote

Old   July 27, 2016, 11:43
Default
  #4
Senior Member
 
Alex
Join Date: Jan 2014
Posts: 126
Rep Power: 12
Kina is on a distinguished road
Well, yes and no. The viscosity is just the viscosity of your fluid that is defined in the TransportProperties file. This is the nominal viscosity that you are estimating the initial y+ with. However, since the first cell layer is very very influencing in terms of near wall viscosity, velocity distribution and such, the REAL y+ calculation can only be read out of the solver when you have a convergent solution. That's why we can't simply take the velocity field of a y+ = 30 solution and extrapolate down to y+ = 1 since this can change everything and crash your theoretical approach.

Cheers
Alex
BjoernFoam likes this.
Kina is offline   Reply With Quote

Old   August 20, 2016, 14:25
Default
  #5
New Member
 
Björn
Join Date: Jul 2016
Location: Germany, Amberg
Posts: 7
Rep Power: 9
BjoernFoam is on a distinguished road
Hello Kina,

it has been a while and I have written the theory part of my work now, thanks for your help, I understand a lot more now of what you tried to tell me, it was really helpful!
It looks like that in the end it really was just, to simply take the viscosity as a given constant.
This thread can be considered as closed.
BjoernFoam is offline   Reply With Quote

Old   February 22, 2022, 03:50
Exclamation no y+ field found
  #6
Senior Member
 
qutadah
Join Date: Jun 2021
Location: USA
Posts: 101
Rep Power: 4
qutadah.r is on a distinguished road
Quote:
Originally Posted by Kina View Post
The command "yPlus" will write the cell-y+ to a specific field called "yPlus".
After starting paraview using the paraFoam-command, you will then be able to activate said field in the "fields" tab on the left. After that, you can use either the "Plot on Intersection Curves" filter in paraview in order to create the plot directly in paraview. Or you can use the "Integrate Variables" filter followed by the "Save data" option to export the points an their corresponding y+ values.
I hope there is an option that suits your needs.

Cheers
Alex



what if i cant seem to find the field even after postprocessing?? I only see yPlus in the cell Arrays.... What should i do?


thanks!
qutadah.r is offline   Reply With Quote

Reply

Tags
openfoam, turbulent gas, viscosity, y+/u+

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
coefficient of power-Law viscosity Model in OpenFOAM Daniel_Khazaei OpenFOAM Running, Solving & CFD 6 April 5, 2016 04:23
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 14:11
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00


All times are GMT -4. The time now is 05:34.