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

  • 15 Views
  • Last Post 16 May 2020
ANSYSCOMP posted this 13 May 2020

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.

Order By: Standard | Newest | Votes
abenhadj posted this 13 May 2020

Was the interpretation successful? Which version?

Best regards, Amine

ANSYSCOMP posted this 13 May 2020

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

abenhadj posted this 14 May 2020

Try compiling the udf.

Best regards, Amine

ANSYSCOMP posted this 16 May 2020

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

 

Close