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

WallShearStress for settlingFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 28, 2012, 05:25
Default [solved] WallShearStress for settlingFoam
  #1
New Member
 
Elise
Join Date: Jan 2012
Posts: 15
Rep Power: 14
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 09:27.
Elise is offline   Reply With Quote

Old   August 28, 2012, 06:50
Default
  #2
New Member
 
Elise
Join Date: Jan 2012
Posts: 15
Rep Power: 14
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 http://www.cfd-online.com/Forums/ope...tml#post186008

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

Reply


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
Problems with YPlusRAS and wallShearStress Peter85 OpenFOAM Post-Processing 21 May 4, 2016 06:15
problem with wallShearstress at interFaom jignesh_thaker2007 OpenFOAM 7 March 30, 2012 09:43
wallShearStress with compressible flow Ruehri OpenFOAM Post-Processing 0 June 11, 2010 05: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 11:28


All times are GMT -4. The time now is 11:32.