DrAmine
Ansys Employee
Have you followed the examples from UDF manual?