Rob
Ansys Employee

The code looks OK, although I'm not sure why you included strain_rate_mag = pow(C_STRAIN_RATE_MAG(c, t),1);  rather than just using the macro. Is the result from the UDF maths or the solution?