CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

plot wall shear stress vs Re

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

LinkBack Thread Tools Search this Thread Display Modes
Old   January 24, 2016, 05:49
Question plot wall shear stress vs Re
New Member
Harnoor Singh
Join Date: Jan 2016
Posts: 14
Rep Power: 8
Harnoor is on a distinguished road
I am simulating naca0012 airfoil in openfoam. I am done with the solution. I want to plot a graph of wall shear stress vs Reynolds number. I have obtained the wall shear stress along the airfoil boundary by the utility wallShearStress. Now I want to get the x coordinate of the cells along the boundary (To calculate Re) so that I can plot wall shear stress vs Re on gnuplot. I have heard that this can be done by adding some code to the solver. I am new to OpenFoam and do not know what code to add and where to add it. Please help me. Is there a simpler way to get the x coordinates? I know the cell IDs at the boundary.

Also, I have another query. I have set the prefvalue=0 and prefcell=0 in the fvSolution file. But when I go to paraview View>Selection Display Inspector and select the cell corresponding to ID 0, I find that it has a p value of -342.
Why is this discrepancy there?

Please help me. I am struck on this problem since a long time.
Harnoor is offline   Reply With Quote


airfoil 3d, prefcell/prefvalue, reynolds number, wall shear stress

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
Wall shear stress definition anthi CFX 2 June 8, 2015 08:44
DEFINE_GRID_MOTION with calculation of wall shear stress Entwistle Fluent UDF and Scheme Programming 1 July 10, 2014 03:12
Drift-flux model and wall shear stress laoji FLUENT 0 July 8, 2014 22:42
LES: mean wall shear stress Francois FLUENT 0 July 7, 2005 11:15
Specifying shear stress on wall in 5.5.1 michael rasmussen CFX 1 May 19, 2003 09:49

All times are GMT -4. The time now is 23:27.