Topics relate to Fluent, CFX, Turbogrid and more

basic UDF setup

    • mblee

      Hello, I just need help with the basics of loading a UDF into Fluent.  I have an example UDF that I got off of the internet but I keep running into different errors. 

    • pgl
      Ansys Employee

      Firstly, are you sure that you need to use a UDF? Can you explain what type of simulation you are trying to achieve? I ask because ANSYS Fluent has a tremendous amount of built-in functionality.

      UDF's are covered in the ANSYS Fluent Customization Manual, this documentation is included with the product.  There are quite a few examples in the doc. 

      My best guess is that the UDF you got from the internet is intended to be used with an older version of Fluent, and the errors you are getting relate to either obsolete commands, or commands that have changed their syntax. Review the UDF and check each command with the version of the Fluent doc that you are using.

    • DrAmine
      Ansys Employee

      Can you tell us what are you trying to do?

    • Zion

      Please could you kindly explain to me when does one decide to use a parallel or serial "Processing Options" during simulation using a UDF CODE?


      FLUENT received fatal signal (ACCESS_VIOLATION)

      1. Note exact events leading to error.

      2. Save case/data under new name.

      3. Exit program and restart to continue.

      4. Report error to your distributor.

      Error Object: #f

    • DrAmine
      Ansys Employee

      Check the part in the documentation related to parallelization of UDF. Generally whenver global sums or reduction is requierd or whenver the UDF macro does not provide thread to cell or face you need to make it parallel. 

Viewing 4 reply threads
  • The topic ‘basic UDF setup’ is closed to new replies.