CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] Viscous forces in paraview (https://www.cfd-online.com/Forums/paraview/164467-viscous-forces-paraview.html)

WhiteW December 22, 2015 06:33

Viscous forces in paraview
 
Hi, How is it possible to calculate the viscouse forces of an OpenFoam simulation in paraview?
In Openfoam I can obtain the sum of pressure forces and viscous forces with the libforces utility.

In paraview I obtain the pressure forces using the following filters:
extractSurfaces
generateSurfaceNormals
calculator (p-pref)*normals
integrate variables

However how can I calclulate the sum of viscous forces in paraview?
Thanks,
WhiteW

tomf January 6, 2016 04:12

Hi,

If you run the wallShearStress utility prior to opening ParaView you can just integrate the wallShearStress vector. There may be a *(-1) required to get the correct direction (I remember this from a couple of years ago, things may have changed).

Regards,
Tom


All times are GMT -4. The time now is 06:38.