Ansys Learning Forum Forums Discuss Simulation Fluids How to get shear rate macro in UDF? Reply To: How to get shear rate macro in UDF?

montenegro
Subscriber
Hi.

Yes, I know I can set the viscosity equation via the 'custom field functions' option, but the problem persists. I am still doubtful regarding which parameter should I use, the "Strain rate" (C_STRAIN_RATE_MAG(c, t)) or the "dX-velocity/dy" (C_DUDY(c,t)) and if I use the latter one, my solution doesn't converge.

Thank you.
Best regards.