Fluids

Fluids

If I change something in my UDF, how do I recompile and relink?

    • admin
      Ansys Employee

      If I change something in my UDF, how do I recompile and relink?

    • admin
      Ansys Employee

      Compile the UDF and load it again. You may encounter an error when you try to recompile a UDF if your libudf is loaded into a case. In that case, go to Define → User-Defined → Functions → Manage Then unload the libudf and compile and load again. You can repeat this process also using TUI commands: /define/user-defined/compiled-functions unload “libudf” /define/user-defined/compiled-functions compile “libudf” yes “test.c” , /define/user-defined/compiled-functions load “libudf” For more information on this subject open ANSYS Help Viewer click on the Go To Page icon and enter the command help/fluug/x1-269000035.3.21.html#fluugUDFLibrary_Manager in the pop-up window then click on Go.

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