Rob
Ansys Employee
Try and initialise without the UDF and then use the UDF. It's possible you are trying to call values that don't exist (eg position) without a more general initialisation. n