CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   Calculate shear stress in a laminar fluid flow using simpleFoam (https://www.cfd-online.com/Forums/openfoam-post-processing/216699-calculate-shear-stress-laminar-fluid-flow-using-simplefoam.html)

dieg01mp April 16, 2019 15:35

Calculate shear stress in a laminar fluid flow using simpleFoam
 
1 Attachment(s)
I'm trying to obtain the shear stress from a flow on a rectangular passage with a cylindrical obstacle in the middle. Something like that on the picture. I saw some people on other posts saying that you can use the command wallShearStress to do the trick, but every time I try, I receive a message telling that the command is not recognized. Now, I don't know if there were some changes in the newer versions, or maybe I have to import some wallShearStress file to the system folder first, but I can't figure it out.

I'm definitely an OpenFOAM newbie, so if I'm not giving enough information, please let me know.

YCarv April 23, 2019 10:06

post processing wss
 
Hello Diego,
did you try doing:

simpleFoam -postProcess -func wallShearStress

after running your case?

dieg01mp April 23, 2019 14:07

Thanks
 
Yes. I have already tried it after much more digging through some other threads and it worked out beautifully. But i still dont know if this is the right WSS, because i read somewhere that the one that is computed in openFOAM is the WSS written on kinematic pressure dimensions, that is, as if we were calculating the WSS using the kinematic viscosity instead of the dynamic one.

And besides, if someone have a tip on how to deal with .dat information, like ploting curves and this sort of stuff, i would be really grateful. As i already am actually, thanks.

sourav90 October 14, 2019 07:28

Post processing / data plotting
 
Quote:

Originally Posted by dieg01mp (Post 731627)
And besides, if someone have a tip on how to deal with .dat information, like ploting curves and this sort of stuff, i would be really grateful.

You can use tools like gnu plot. One such example for monitoring residuals in combination with`foamMonitor`:
Monitoring residuals

Carlo_P October 14, 2019 08:00

Hey Diego,
did you try to use:


functions
{

#includeFunc wallShearStress}


in the controlDict?


Otherwise, just to do as test, you can try simpleFoam -postProcess -list and check if wallShearStress is present.


Otherwise, try to turbolent, also if should not be this one the problem.


Last, reinstall OpenFOAM.


All times are GMT -4. The time now is 10:30.