Rob
Ansys Employee

The best way is to use the example in the manual, then compare data in the model with the maths in the UDF. Setting some of the returned values to constants may help.