Respected Sir Thank you for your response.
I also tried your recommendations of using 'double' type, cell macros for both strain and temperature and also tried the viscosity expression with a simple function. But same "floating point exception" error exists.
The above udf works fine when we assign a constant value to strain rate.
Please help.