Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Missing ::libudf for hooking udf code of body force profile

    • ANSYSCOMP
      Subscriber

      Hello 


      After i interpreted my udf code according the ANSYS FLUENT UDF MANUAL, I tried to take the hooking task, but in my box the ::libudf is missing.


    • Amine Ben Hadj Ali
      Ansys Employee
      Was the interpretation successful? Which version?
    • ANSYSCOMP
      Subscriber

      Thank you for your reply.


      Version : 17.0


      According the below picture, I think that the interpretation was successfully done.



      The second question . Could you check my discussion titled : 


      Fluent doesn't take into account the udf's code

    • Amine Ben Hadj Ali
      Ansys Employee
      Try compiling the udf.
    • ANSYSCOMP
      Subscriber

      I tried to compile my udf's code according to UDF MANUAL. Unfortunately, the program has encountered the following problems.


      I had configured VS2012 to become accessible from fluent 2017



      1. Define>>>User Defined>>>Functions>>>Compiled


      2. ADD UDF code



      2. For header files (.h), Could you please verify it, if it is correct or not.


      #include "udf.h"


      DEFINE_DPM_BODY_FORCE(particle_body_force,d,i).



      3. Build>>>ok


      4. Load>>error



       

Viewing 4 reply threads
  • The topic ‘Missing ::libudf for hooking udf code of body force profile’ is closed to new replies.