Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Reacting Flows

Reacting Flows

How to calculate second derivative of a flow variable in a UDF?

    • FAQFAQ
      Participant

      Second derivatives are not stored, but a gradient of a variable, e. g. C_T_G can be stored in a user-defined scalar C_USDI, and then gradient of C_USDI can be calculated by C_USDI_G, thus giving the second derivative data Temp memory must be allocated before manipulating gradient macros, as usual.