|
[Sponsors] |
August 28, 2012, 05:25 |
[solved] WallShearStress for settlingFoam
|
#1 |
New Member
Elise
Join Date: Jan 2012
Posts: 15
Rep Power: 14 |
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. |
|
August 28, 2012, 06:50 |
|
#2 |
New Member
Elise
Join Date: Jan 2012
Posts: 15
Rep Power: 14 |
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. |
|
|
|
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 |