Fluids

Fluids

UDF – Second Derivative – FLUENT

    • Nidal
      Subscriber
      Hello Everyone ! Hope Everything goes well ??
      I have a question regarding the second derivative of a UDS scalar in FLUENT...In fact, there is no macro for a second derivative mentioned in FLUENT documentations, is there any method to code the second derivative of a UDS scalar ?? could it be done in FLUENT ???
      Thanks in Advance !
    • Karthik R
      Administrator

      Hello,


      You are correct, there is no macro for second derivative. The way to do this is to store the first derivative into an additional 'new UDS' and use the first derivative macro again (on this new UDS) to estimate the second derivative. Please make sure that you are not sending this 'new UDS' to the solver through 'Solution Controls'.


      Best Regards,


      Karthik 

Viewing 1 reply thread
  • You must be logged in to reply to this topic.