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

Law of the wall plot

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

Like Tree1Likes
  • 1 Post By Bazinga

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 1, 2019, 10:42
Default Law of the wall plot
  #1
New Member
 
Majid Arjmandi
Join Date: Oct 2018
Posts: 19
Rep Power: 3
majidsvn7 is on a distinguished road
Hi all,
My case is a turbulent pipe flow which has been simulated in openFoam v7.
I wanna plot famous uplus-yplus graph (law of the wall) like the attached image and I don't know what shall I do?
Attached Images
File Type: png Screenshot 2019-12-01 18:11:40.png (50.6 KB, 5 views)
majidsvn7 is offline   Reply With Quote

Old   December 2, 2019, 02:51
Default
  #2
Senior Member
 
Join Date: Jun 2012
Location: Germany, Bochum
Posts: 216
Rep Power: 11
Bazinga is on a distinguished road
Well, you could use the sample utility to extract the velocity at the wall. Use some software (e.g. matlab, excel, python, whatever you prefer) to calculate your non-dimensional u+ and y+ and plot it. You would need to calculate the wall shear stress for this - I believe there might be a tool for this in OpenFOAM.

It's not as straightforward as I would like it to be, maybe someone has a better idea to get this more convenient.
majidsvn7 likes this.
Bazinga is offline   Reply With Quote

Old   December 2, 2019, 04:04
Default
  #3
New Member
 
Majid Arjmandi
Join Date: Oct 2018
Posts: 19
Rep Power: 3
majidsvn7 is on a distinguished road
Quote:
Originally Posted by Bazinga View Post
Well, you could use the sample utility to extract the velocity at the wall. Use some software (e.g. matlab, excel, python, whatever you prefer) to calculate your non-dimensional u+ and y+ and plot it. You would need to calculate the wall shear stress for this - I believe there might be a tool for this in OpenFOAM.

It's not as straightforward as I would like it to be, maybe someone has a better idea to get this more convenient.
I've read all the threads and post about law of the wall plot in cfd-online but I can't understand properly what shall I do for plotting this graph... Yes, there is a utility to calculate yPlus (min-max-avg) and wallShearStress in openFoam and I know how to using those for this purpose but I don't understand how can use these values ( single value) to plot the graph?! yPLus in each case have a range and I've force the case to have a specific range of yPlus ?!!!!
majidsvn7 is offline   Reply With Quote

Old   December 2, 2019, 04:19
Default
  #4
Senior Member
 
Join Date: Jun 2012
Location: Germany, Bochum
Posts: 216
Rep Power: 11
Bazinga is on a distinguished road
These functions give you the value at the first nodal point at the wall. What you need is the velocity profile at the wall. For example, you use the sample utility to get u and y over a line. Then you need to calc u+ and y+ by yourself before plotting.
Bazinga is offline   Reply With Quote

Reply

Tags
law of the wall, uplus-yplus

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
Divergence in AMG solver! marina FLUENT 19 March 22, 2018 10:00
How can I plot area averaged wall shear stress variation with time over a surface? Gourabc FLUENT 0 February 1, 2017 00:56
wall slip law for newtonian fluid tsi07 FLUENT 0 April 19, 2012 13:13
[Commercial meshers] tmerge utility creates unwanted interface/walls comes in the final mesh Shoonya OpenFOAM Meshing & Mesh Conversion 11 January 20, 2012 07:23
A girl fail to plot velocity profile when mesh changes + Wall function asherah STAR-CCM+ 0 February 19, 2010 18:45


All times are GMT -4. The time now is 17:30.