As support we do not debug UDFs. But can provide help on particular syntex. Please check following link for details of UDF. Also if you have any subsequent questions, please post it on Ansys Forum Ansys Learning Forum under specific category.
Chapter 1: Overview of User-Defined Functions (UDFs) (ansys.com)
Regards,
Keyur
How to access Ansys Online Help Document
Guidelines on the Student Community
Fluids Engineering Courses | Ansys Innovation Courses
Please Login to Report Topic
Please Login to Share Feed