CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   Wall shear stress or Cell yPlus (https://www.cfd-online.com/Forums/fluent-udf/140385-wall-shear-stress-cell-yplus.html)

sharif88 August 13, 2014 17:08

Wall shear stress or Cell yPlus
 
Hello everyone
I was wondering if anyone knows a macro or a way to obtain wall shear stress on a wall or a macro for obtaining yPlus.
I found the following macro for wall shear but I have no idea how it works,
NV_V(Shear,=,F_STORAGE_R_N3V(f,t,SV_WALL_SHEAR))
if i wanted to calculate the total shear force on a wall boundary do I have to put this macro inside a f_loop? Actually I tried that but it causes the fluent to get stuck on the initialization stage.
Thanks
Majid

Exodiah August 15, 2014 15:39

Yes, you need to put this inside a f_loop. Take a look at this thread for reference.

http://www.cfd-online.com/Forums/flu...shear-udm.html

And it would help if you could copy and paste your code here.


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