The Ansys Innovation Space website recently experienced a database corruption issue. While service has been restored there appears to have been some data loss from November 13. We are still investigating and apologize for any issues our users may have as a result.

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.