Prashanth
Ansys Employee

It looks like the parameters must return a constant value. This leaves you with the option to use the UDF definition for particle viscosity.

Or, you can just switch off the breakup model to avoid this mismatch.