I just saw your comment today because I didn't get any notification that someone had commented on the post. I will try your suggested way and comment here to update you. So, if I understand it correctly, you are suggesting that I use the method in Fluent Customization Manual and access the gradients in UDF as needed without writing the DEFINE_ADJUST UDF? Is that what you are saying?