|
[Sponsors] |
February 12, 2009, 06:40 |
Problem reading .cas because of UDFs
|
#1 |
Guest
Posts: n/a
|
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 |
|
February 12, 2009, 10:14 |
Re: Problem reading .cas because of UDFs
|
#2 |
Guest
Posts: n/a
|
#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
|
|
February 12, 2009, 11:01 |
Re: Problem reading .cas because of UDFs
|
#3 |
Guest
Posts: n/a
|
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Please help!!!COMPILED UDFs PROBLEM!!! | Melih | Fluent UDF and Scheme Programming | 9 | August 2, 2013 02:56 |
Re:Case reading problem | krishna | FLUENT | 0 | December 19, 2008 12:59 |
How to use more than one UDFS in one problem | Thanh | FLUENT | 2 | August 13, 2008 22:28 |
UDFs' problem | Benny | FLUENT | 14 | June 13, 2005 12:05 |
Problem in writing UDFs | Nima Sheyad | FLUENT | 1 | November 25, 2002 02:04 |