Ansys Products

Ansys Products

Discuss installation & licensing of our Ansys Teaching and Research products.

Issue with UDF compilation

    • vipul.gupta
      Subscriber

      I am facing building and loading the UDF in Fluent. 

      following errors are showing on the console window.

       

      Please help me in resolving the issue. 

    • Nicholas DeFranzo
      Subscriber

      It looks like you are trying to compile your UDFs but you dont have a the VS Code C/C++ compiler installed on your windows system. When you compile your UDF try using the Built-in Compiler (Clang) by selecting the box in the compile window. If you did get the compiler on your windows system then it probably isnt set up correctly or there is some other issue. I cant tell exactly what the parallel use error is about but it could have to do with a problem with your UDF and how it is written. Also, are you trying to reload a UDF? Because you would have to unload the library (libudf folder) first by clicking manage in the UDF function window, and then deleting the libudf folder from your file. Otherwise it would cause problems when trying to load your UDF again. Here is a video i found about the parallel error:

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