Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Error: The UDF library you are trying to load is not compiled for 3d on the current platform (win64)

    • kadimtalebe
      Subscriber

      Hello,


      I cant compile my udf . I have ANSYS Release 18.0. I looked other posts but still I have same problem.


       


      /forum/forums/topic/problems-loading-udf-for-moving-mesh-in-fluent/


      according to this post, I installed  Visual Studio Community 2015 and SDK. But nothing changed.


      Do you have any suggestions?

    • Amine Ben Hadj Ali
      Ansys Employee

      SDK is not really required here. Just open x86_46 Cross Tool Command Prompt from VS Program launch Fluent from there, try to compile. 

    • kadimtalebe
      Subscriber

      I tried that but Still I have same problem.

    • Amine Ben Hadj Ali
      Ansys Employee

      Make a clean uninstall of all VS releases and SDK. Install VS once again as admin and try again. I

    • kadimtalebe
      Subscriber

      Am I doing it right? and thank you for your all reponse.


    • kadimtalebe
      Subscriber

      I solved the problem.I applied this:


      "Set the correct environment variables. Browse your way through the Windows system control to 'System'. There you will find a section 'Advanced system settings'. In the following dialog go to the 'Advanced' tabulator and click on 'Environment variables' (lower right corner). Go through the 'System variables' list and search for the 'Path' entry. Add the following to the variable: C:Program Files (x86)Microsoft Visual Studio 10.0Common7Tools;C:Program Files (x86)Microsoft Visual Studio 10.0VCbin;C:Program FilesANSYS Incv120fluentntbinwin64"


      In my system it is like this: C:Program Files (x86)Microsoft Visual Studio 14.0Common7Tools;C:Program Files (x86)Microsoft Visual Studio 14.0VCbin;C:Program FilesANSYS Incv180fluentntbinwin64


      Then, problem is solved.

    • Martita
      Subscriber

      Hi!


      I have the same problem, did you create a new variable or did you edit one of the existing variables??

    • kadimtalebe
      Subscriber

      Hi Martita!,


      I am not sure but as far as I remember, I found the path from system variables then I added a new variable.

    • Martita
      Subscriber

      With a random name?

    • kadimtalebe
      Subscriber

      Ah ok, I think I got it now.


      find the path and click "edit". Then paste the way.


      sorry for the previous misdirection

    • Martita
      Subscriber

      Thank you!! I have solved the problem

    • attiq
      Subscriber
      I am facing this error (statement below) How to get it off?nError: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).The system cannot find the file specified.nC:\Users\HP 15 BS\Desktop\Dynamic Mesh Practice_files\dp0\FFF\Fluent\libudf\win64\2ddp_host\libudf.dllnError Object: #fn
    • Hesam062
      Subscriber
      HinI also have the sane problem. I tried to use your solution but my visual studio (2017) does not include any folder named VC (for second path that you said should be past in variable). Do you know what is wrong by chance?n
    • Amine Ben Hadj Ali
      Ansys Employee
      Update to at least release 2020R2 and use the built in compiler in Fluent.n
Viewing 13 reply threads
  • The topic ‘Error: The UDF library you are trying to load is not compiled for 3d on the current platform (win64)’ is closed to new replies.
[bingo_chatbox]