Ansys Products

Ansys Products

UDF Compiling Error

    • agnesr

      Hello, I have been trying to compile a UDF on Fluent but am getting trouble and receive the following error.

      The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).nnThe system cannot find the file specified.

      nnC:UsersAgnes RobangDocumentsANSYScurvefin_135EXP2_filesdp0FFFFluentlibudfwin643ddp_hostlibudf.dll


      Error Object: #f

      I am using Microsoft Visual Studio 2019, and I followed tips from a different forum to add system path variables. In consecutive order, my path variables are:



      D:Program FilesMicrosoft Visual Studio2019CommunityCommon7Tools

      D:Program FilesMicrosoft Visual Studio2019CommunityVC

      D:Program FilesANSYS IncANSYS Studentv195fluentntbinwin64


    • Karthik R


      Our apologies for this delayed response. I'll try and help you with this issue. Are you able to compile any UDFs at all on your system?

      Could you please try to compile a simple UDF like this one here? Please let me know if you are successful. Please use a serial launch.




    • Joe001
      same issue. nhave you solved it?nthanksn
    • Rob
      Ansys Employee
      If you're using 2020R2 you'll spot an option for an inbuilt compiler on the UDF compile panel: try that. n
Viewing 3 reply threads
  • You must be logged in to reply to this topic.