Karthik R
Administrator
Hi Can you use the gradient macros for this? Please see the customization manual to get the syntax for this. You are looking for the x-component of this vector field.
https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v211/en/flu_udf/flu_udf_udf_cellvar.html?q=derivative
Karthik