CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Problem reading .cas because of UDFs

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 12, 2009, 05:40
Default Problem reading .cas because of UDFs
  #1
Star-Fluent-X
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
  Reply With Quote

Old   February 12, 2009, 09:14
Default Re: Problem reading .cas because of UDFs
  #2
Nagi
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
  Reply With Quote

Old   February 12, 2009, 10:01
Default Re: Problem reading .cas because of UDFs
  #3
Antimony
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
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help!!!COMPILED UDFs PROBLEM!!! Melih Fluent UDF and Scheme Programming 9 August 2, 2013 01:56
Re:Case reading problem krishna FLUENT 0 December 19, 2008 11:59
How to use more than one UDFS in one problem Thanh FLUENT 2 August 13, 2008 21:28
UDFs' problem Benny FLUENT 14 June 13, 2005 11:05
Problem in writing UDFs Nima Sheyad FLUENT 1 November 25, 2002 01:04


All times are GMT -4. The time now is 02:34.