Any expert in udf writing here?
Although I am new user, I have been online everyday for over one week. But I cannot find answers to my problem. Anyone here experience in writing udfs?
I just need a critical touch.
Waiting from you.
Thanks to mAx
I thank mAx very much for his guidence through my problem!
Can you quick detail how do you solved your issue on your previous thread
It can be helpfull for someone else
How I solved my problem
When I attemped to hook my udf to Fluent, the following problem occured:
Creating library libudf.lib and object libudf.exp
my_herschel_bulkley.obj : error LNK2019: unresolved external symbol __imp__Cell_Strain_Rate_Mag referenced in function _my_herschel_bulkley
libudf.dll : fatal error LNK1120: 1 unresolved externals
As you can guess the problem was with my assignment the Cell_Strain_Rate_Mag to a symbol. I deleted assignment and instead I used Cell_Strain_Rate_Mag in the following definitions, then hooked the udf to Fluent and saw that it worked.
Thank you again mAx.
|All times are GMT -4. The time now is 10:55.|