We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.

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.