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

WallShearStress for settlingFoam

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

LinkBack Thread Tools Display Modes
Old   August 28, 2012, 04:25
Default [solved] WallShearStress for settlingFoam
New Member
Join Date: Jan 2012
Posts: 15
Rep Power: 7
Elise is on a distinguished road
I did a case with settlingFoam in a special geometry; water is flowing into a hemisphere as well as sand.

Now i would like to calculate the bed shear stress at this hemisphere, but the function wallshearstress only uses nu from the singlephase transport model.

What do I have to change in the file wallshearstress.C or createFields.H to obtain this wall shear stress in postprocessing mode?

I can also do the calculation myself with

tau = mu * dU/dy

Only how do I calculate this gradU normal to this hemisphere does wallgradU does this automatically or do I have to add a normal vector but how to do this?

Last edited by Elise; August 28, 2012 at 08:27.
Elise is offline   Reply With Quote

Old   August 28, 2012, 05:50
New Member
Join Date: Jan 2012
Posts: 15
Rep Power: 7
Elise is on a distinguished road
I changed the wallGradU.C file to

wallGradU.boundaryField()[patchi]= - U.boundaryField()[patchi].snGrad*patch().nf();

Is this the correct way to do this or does the wallgradU allready gives the values related to the wall instead of to the
defined axes?

Answere was in

Last edited by Elise; August 28, 2012 at 08:26.
Elise is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with YPlusRAS and wallShearStress Peter85 OpenFOAM Post-Processing 21 May 4, 2016 05:15
problem with wallShearstress at interFaom jignesh_thaker2007 OpenFOAM 7 March 30, 2012 08:43
wallShearStress with compressible flow Ruehri OpenFOAM Post-Processing 0 June 11, 2010 04:14
linking wallshearstress values and faces prjohnston OpenFOAM Post-Processing 1 November 3, 2009 14:40
wallShearStress for compressible flow cbarry OpenFOAM 2 October 12, 2009 10:28

All times are GMT -4. The time now is 12:14.