DrAmine
Ansys Employee

I won't comment on your UDF/ Routine as I do not debug Routines or UDF on this forum.  (Double printing means for me the node and the host are printing). I do not understand why you need to print anything into a file. Get_Input_Pramater function can help you to access the input parameter value of interest.