CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

About turbulentForceAndTorque

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 12, 2008, 16:43
Default one question about the way the
  #1
pbo
Member
 
Patrick Bourdin
Join Date: Mar 2009
Posts: 40
Rep Power: 17
pbo is on a distinguished road
one question about the way the viscous force is computed in turbulentForceAndTorqueFunctionObject.C:

// Viscous component
viscousForces[patchI] =
gSum
(
-nuEff.boundaryField()[curPatch]*
U.boundaryField()[curPatch].snGrad()*
mesh.magSf().boundaryField()[curPatch]
);

This is only valid in regions where the velocity field is more or less linear (snGrad being approximated by a one sided finite difference if I am not mistaken). In other words, for models with wall functions (log law), the above formulation will give incorrect viscous force estimates at the wall. Am I correct?
pbo is offline   Reply With Quote

Old   February 12, 2008, 17:07
Default I've also wondered about this
  #2
sek
Member
 
Sung-Eun Kim
Join Date: Mar 2009
Posts: 76
Rep Power: 17
sek is on a distinguished road
I've also wondered about this and haven;t had time to look into the code. If the slip velocity (extrapolated using the wall-law) is somehow patched on the wall faces and the consistent eddy viscosity is used, the aboce expression should give correct wall-shear.

I'm not sure this is the way the OF works.
sek is offline   Reply With Quote

Old   February 14, 2008, 05:29
Default I am not familiar with this fu
  #3
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21
eugene is on a distinguished road
I am not familiar with this function object (I guess it does the same as my liftDrag function object), but I can confirm that boundary values of nuEff on a wall will include the effects of wall functions if they are present in the turbulence model.
eugene 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



All times are GMT -4. The time now is 09:55.