Fluids

Fluids

Topics relate to Fluent, CFX, Turbogrid and more

Correct/better way to debug udfs?

    • atulsingh92
      Subscriber
      Hi, nI wanted to know if there is IDE toolkit that I could download for correctly debugging UDF's within some IDE.nThe reason is, my current method seems long and inefficient, or perhaps I am unaware of a better one.nI usually write my udf's in a text editor, then build and load within fleunt (2019R2), then I run my simulation and execute on demand if any.nNow, if have to change something in the text editor and update again, I first unload from fluent, then add my new text (c) file, and then build and load again.nBetter way would be to have a zip files of all the necessary files imported to VS studio or vs code, or any other IDE, and write ready to run c files over there, and debug there itself, before importing to fluent.nCould you suggest anything on this?n
    • Rob
      Ansys Employee
      You can compile externally, using VS Studio or (possibly) CLANG that's in the newer releases of Fluent. If it's not in the manual however, you'll need to rely on the wider community for assistance. n
Viewing 1 reply thread
  • You must be logged in to reply to this topic.