DrAmine
Ansys Employee

We won't debug the UDF. What you can do first is to start writing some return messages in the UDF to check which part is causing issues. If you are using user vars or cell udmis do no forget to define them first before loading the UDF.