Fluids

Fluids

Derivative of turbulent kinetic energy in UDF

    • Dilini
      Subscriber

      Hello,

      I am writing a UDF and I was wondering if there is a Macro available for the derivative of turbulent kinetic energy (dk/dx). I could not find one in the UDF manual. I would really appreciate if someone can help me define this (dk/dx) in my UDF. Thanks in advance.

      Dilini

    • 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

    • Dilini
      Subscriber
      Yes. I could do that. Thank you so much.
Viewing 2 reply threads
  • You must be logged in to reply to this topic.