|
[Sponsors] |
December 1, 2019, 10:42 |
Law of the wall plot
|
#1 |
New Member
Majid Arjmandi
Join Date: Oct 2018
Posts: 21
Rep Power: 8 |
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? |
|
December 2, 2019, 02:51 |
|
#2 |
Senior Member
Join Date: Jun 2012
Location: Germany, Bochum
Posts: 230
Rep Power: 16 |
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. |
|
December 2, 2019, 04:04 |
|
#3 | |
New Member
Majid Arjmandi
Join Date: Oct 2018
Posts: 21
Rep Power: 8 |
Quote:
|
||
December 2, 2019, 04:19 |
|
#4 |
Senior Member
Join Date: Jun 2012
Location: Germany, Bochum
Posts: 230
Rep Power: 16 |
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.
|
|
February 17, 2021, 09:54 |
|
#5 | |
Senior Member
Arijit Saha
Join Date: Feb 2019
Location: Singapore
Posts: 132
Rep Power: 7 |
Quote:
If so could you please share the methodology? Will be really helpful. |
||
February 21, 2021, 17:24 |
|
#6 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 736
Rep Power: 14 |
Generate a set of probes, normal to the wall, and output the mean velocity at each probe location. Also extract the wall shear stress, so that you can calculate u*. Now calculate U+ = U/u* and y+=y.u*/nu for each probe location and hey presto you can plot U+ vs y+.
|
|
Tags |
law of the wall, uplus-yplus |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Divergence in AMG solver! | marina | FLUENT | 20 | August 1, 2020 12:30 |
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 |