Ansys Products

Ansys Products

Discuss installation & licensing of our Ansys Teaching and Research products

Unable to load UDF in Ansys Fluent.

    • rohansrivastava
      Subscriber

      I was trying to use a udf for a fluent simulation, I added it, clicked on build, the console showed "done", then I clicked on load and this error message came up:


       


      The UDF library you are trying to load (cdf) is not compiled for parallel use on the current platform (win64).


       


      The system cannot find the file specified.


       


       


      C:UsersrohanDesktopbtp1_filesdp0FLUFluentcdfwin642d_hostlibudf.dll


       


       


      What should I do? Please help me with this problem!


       

    • aniruddhanayak
      Subscriber

      I am also facing the exact same issue.

    • Rob
      Forum Moderator

      When you do the compiler stage read what Fluent tells you very carefully. I suspect there's an nmake complaint in there. 

    • rohansrivastava
      Subscriber
      DESKTOP-NA37T3V: Opening library C:\Users\rohan\Desktop\btp1_files\dp0\FLU\Fluent\unstablefunction...RPC RCX_SC_SET_ERR_MSG failed: RPC: Can't encode argumentsErrEorr at rhosto: rT he UDF alibratry y ou Nare toryindg eto l0o:ad (uTnhstaeble functiUonD) iFs no t compileld for iparallbelr usea on the currernt plyat form y(woin6u4).nnTahe srysete m ctannotr fyind ithneg fi le sptecoi flied.nonaC:d\Us ers(\urnoshtan\Desaktbolpe\fbtupn1_cfitiolne)s\d p0\FiLU\sF lnuoentt \cunsotmablepfuncition\lwiend64\ 2d_hofst\olibrudf.d lplnarallel use on the current platform (win64).nnThe system cannot find the file specified.nnC:\Users\rohan\Desktop\btp1_files\dp0\FLU\Fluent\unstablefunction\win64\2d_node\libudf.dllnnError: The UDF library you are trying to load (unstablefunction) is not compiled for parallel use on the current platform (win64).The system cannot find the file specified.nC:\Users\rohan\Desktop\btp1_files\dp0\FLU\Fluent\unstablefunction\win64\2d_host\libudf.dllnError Object: #fThis is what the console shows when I try loading the udf. Please Help! n
    • Rob
      Forum Moderator
      Recompile the code and see what that tells you: the error you've posted confirms the code didn't compile. When you compile there will be some warnings/errors that should explain why. n
Viewing 4 reply threads
  • The topic ‘Unable to load UDF in Ansys Fluent.’ is closed to new replies.