Rob
Ansys Employee

Plot the function in Excel and see how it looks. Whenever I see coefficients with that many significant figures I always expect the curve to be very different to what you're expecting. 


Also remember that UDFs use SI units: your coordinates are in metres regardless of the units in your model.