Rob
Ansys Employee

I suspect the solver is clearing the gradient value before it's saved in the case. I'd have a look at UDM rather than UDS: there is a difference, and also check the options in the TUI  /solve/set/expert


As an aside, please don't post into old threads which are marked as "solved": we don't tend to check in those!