DrAmine
Ansys Employee

You can only access the gradient of quantity if you are are in the DEFINE Macro eligible  for that: Example Temperature gradient can be accessed directly if you have to define a Source for the energy equation. For all other scenarios like you have, there is an official and supported way (some other ways are possible) will be via /solve/set> expert and then choose to Keep temporary solver memory from being freed? [yes]. That should work for almost all gradients.