Problem reading .cas because of UDFs
I've got some problem opening tutorial using UDFs (for example OhmicHeater).
When I try to open the .cas file the error says : Opening library "libudf"... error : open_udf_library : No such file or directory Error Object : #f There is no problem with opening a .msh but the same error appears when when I try to load UDFs. Would anyone have a clue ? Thanks |
Re: Problem reading .cas because of UDFs
#include "udf.h" #define f 10.0 /*vibration frequency in Hz*****/ #define A 10.0 /*vibration amplitude in m/s^2*****/ #define pi 3.14 DEFINE_SOURCE (x_mom,c,thread,dS,eqn) { real source,t,xaccel; t=CURRENT_TIME; xaccel=A*sin(2*pi*f*t); source=xaccel*C_R(c,thread); dS[eqn]=xaccel; return source; } Pleas the above code which describes the inertial body force due to vibration applied in x-direction as a momentum source. Thanks every body Nagi
|
Re: Problem reading .cas because of UDFs
Hi,
Are you using a compiled version for your UDF? That is when libudf is used. You might want to see if it has been loaded into your case file and if possible remove it. You can unload it by going to UDF->Functions->Manage->Unload. Hope this helps. Regards Antimony |
All times are GMT -4. The time now is 03:45. |