CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   hook a compiled DEFINE_ADJUST UDF to FLUENT (https://www.cfd-online.com/Forums/fluent-udf/31706-hook-compiled-define_adjust-udf-fluent.html)

caloggero June 24, 2003 09:59

hook a compiled DEFINE_ADJUST UDF to FLUENT
 
Hi everybody I wrote a DEFINE_ADJUST UDF that prints face centroid coordinates of a wall zone, but after I compiled it, it doesn't appear in the "Adjust function" drop-down list of the Define -> User-Defined -> Function Hooks...PANEL!!! could anyone tell me why ? thanx!


Andrew Garrard June 25, 2003 04:59

Re: hook a compiled DEFINE_ADJUST UDF to FLUENT
 
did you load the UDF library into fluent after complining it. can do this by typing def, user, comp, l and then the directory of your UDF library, e.g. libudf

caloggero June 25, 2003 07:24

Re: hook a compiled DEFINE_ADJUST UDF to FLUENT
 
Hi Andrew ! yes I did, and it loads normally. I tried to hook it from the text command mode: Define/User-Defined/Function-Hooks...but still doesn't work!! it gives me the error message: ******************************* *Error: eval: unbound variable *Error Object: myUDF.c *Invalid string. ******************************** and still doesn't appear in the drop down list. I tried to initialize before...that doesn't change anything.

Jaimedopoulos December 14, 2012 03:08

Hi! I have exactly the same problem. Everything works fine, but in the window "User-Defined Function Hooks" nothing appears...and cause of this I canīt save the dynamic results...
I donīt know what means this problem. I sospite itīs due to the way I define my UDF.
Please ideas/help!! :)


All times are GMT -4. The time now is 12:01.