CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Wall shear stress in channel flow

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

LinkBack Thread Tools Search this Thread Display Modes
Old   September 3, 2014, 15:44
Default Wall shear stress in channel flow
New Member
Join Date: Jul 2014
Posts: 10
Rep Power: 11
sreeyuth is on a distinguished road
Dear All,

I am solving a 2D channel flow of wind in simpleFoam (kEpsilon model). I use a double-graded domain (Domain.jpg). There is a uniform wind flow of 1.53 m/s in the x direction.

I am currently doing a mesh refinement study, with number of cells in both directions doubling with each simulation (see Results.jpg). In this figure, the velocity profile at the centre of the channel in the z direction and the wall shear stress profile at the bottom wall of the channel (z=0) are shown. As you can see, with increasing mesh refinement, the wall shear stress is clearly not overlapping. The wall shear stress has been calculated using the magwallShearStress utility.

The residuals have been set very low (10e-15) and have converged, so that is not the issue. The coefficients used are Cmu=0.09, C1=1.44, C2=1.92 and SigmaEps=1.3. kqRWallFunction and epsilonWallFunction are used. The yplus values at the bottom wall calculated using the yPlusRAS utlity are between 0-3 for the four cases.

In the future, the bottom wall will be heated and so the heat flux at the bottom wall, and thereby the wall shear stress there, is of the utmost importance. Can anyone tell me why the wall shear stresses are not overlapping even though the number of cells are most probably more than adequate for resolving accurately a 2D channel flow?

I have also attached the entire case (zip and tar formats) for easy reference.

Thank you in advance for your time.
Attached Images
File Type: jpg Results.jpg (22.0 KB, 97 views)
File Type: jpg Domain.jpg (53.1 KB, 49 views)
Attached Files
File Type: gz Channel_flow.tar.gz (6.0 KB, 14 views)
File Type: zip (18.1 KB, 14 views)

Last edited by sreeyuth; September 5, 2014 at 04:47.
sreeyuth is offline   Reply With Quote

Old   September 5, 2014, 07:41
New Member
Hans Barósz
Join Date: May 2014
Posts: 22
Rep Power: 12
HanSolo123 is on a distinguished road
Not sure about your case, but the wall shear stress for me is usually a "value", not a "function".

So I dont know what you have plotted on the right side of your chart. When it is the shear stress, you can see that the behaviour near the wall in your 3 finest meshes is nearly the same. This could be a point, that thoses meshes are fine enough to resolve the wall shear stress, while the coarse one (red) shows another trend which correspsonds to the velocity profile of the red curve.

I also cant find the OpenFOAM utility magwallshearstress on GitHub. And I am unsure about the wall functions. You have low y+ values (shouldnt it be z+?). Why do you also use a wall function? Maybe you can decrease z+ to 1 and neglect the wall functions? What turbulence model do you use? (people like me dont wanna download zip files to look in cases, so just write them in starting post next time )

What you could do:
clarify what kind of stress is plotted. Calculate the wall shear stress by this:
Plot the velocity profile normalized with the wall shear stress velocity in a log chart. That is usually a good way to analyse the velocity profile because the "important" areas are resolved better.

Just my thoughts.
HanSolo123 is offline   Reply With Quote

Old   September 5, 2014, 10:02
New Member
Join Date: Jul 2014
Posts: 10
Rep Power: 11
sreeyuth is on a distinguished road
Dear Hans,

Thank you for your reply. The graph that confused you is the wall shear stress at the different cells starting from the inlet all the way to the outlet. Of course, for a fully developed flow, the wall shear stress is a constant value.

I apologize for the typo earlier. The utlity that I used is wallShearStress. As mentioned in the opening line of the post, I used a kEpsilon turbulence model. I was also thinking along the lines of switching off the wall functions since the z+ value is close to 1. Thank you for your suggestion.
sreeyuth is offline   Reply With Quote


channel flow, k-e model, simplefoam, 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
Issues on the simulation of high-speed compressible flow within turbomachinery dowlee OpenFOAM Running, Solving & CFD 11 August 6, 2021 06:40
Contour of wall shear stress (average in the flow time) pedroxramos FLUENT 6 March 12, 2014 12:02
UDF for wall slipping HFLUENT Fluent UDF and Scheme Programming 0 April 27, 2011 12:03
about wall shear stress shoushibo FLUENT 5 May 9, 2010 10:33
shear stress scalar definitions? Novak Elliott CFX 0 April 6, 2003 01:45

All times are GMT -4. The time now is 10:07.