CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Fluent UDF and Scheme Programming

Error in opening UDF library

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 19, 2011, 09:33
Default Error in opening UDF library
  #1
New Member
 
Join Date: Apr 2011
Posts: 8
Rep Power: 6
anon_d is on a distinguished road
I am trying to load my UDf library.It's working fine while building the library.I am experiencing the below error while trying to load the library

Opening UDF library Error open_UDF_library:The system cannot find the file specified
================================================== =
The source file contains 3 header files in addition to udf.h
only 1 one of them exists in 'src' folder..


please help ..........
anon_d is offline   Reply With Quote

Old   May 19, 2011, 15:43
Default
  #2
Member
 
alighaffari
Join Date: May 2011
Posts: 31
Rep Power: 6
alighaffari is on a distinguished road
Please explain more. Are you using windows or Linux platform? What are your header files? I think your system have not compiled your UDF properly.
alighaffari is offline   Reply With Quote

Old   May 20, 2011, 13:00
Default
  #3
New Member
 
Join Date: Apr 2011
Posts: 8
Rep Power: 6
anon_d is on a distinguished road
Dear ali,
I'm using windows 7 professional(64 bit) platform.
My headers are:
#include "udf.h" /* must be at the beginning of every UDF */
#include "sg.h" /* must be at the beginning of this UDF */
#include "math.h" /* must be at the beginning of this UDF */
#include "Slip.h" /* must be at the beginning of this UDF */
thanks for the kind answer.
Best Regards
anon_d is offline   Reply With Quote

Old   May 20, 2011, 15:28
Default
  #4
Member
 
alighaffari
Join Date: May 2011
Posts: 31
Rep Power: 6
alighaffari is on a distinguished road
I think your problem is related to compiling your UDF not to your header files. For confidence in this matter I suggest you first try to compile a simple example UDF code and use TUI method instead of GUI to compile UDFs certainly.Then if there are any problems yet look at this thread in this URL it will be helpful.
http://www.cfd-online.com/Forums/fluent/44201-attn-all-soluton-udf-compile-problem.html
alighaffari is offline   Reply With Quote

Old   May 21, 2011, 02:10
Default
  #5
New Member
 
Join Date: Apr 2011
Posts: 8
Rep Power: 6
anon_d is on a distinguished road
Thanks,I'm gonna try it!
anon_d is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 21:38
problem loading UDF library in parallel cluster Veera Gutti FLUENT 7 July 3, 2011 09:15
error open udf library adjie_mesin06 Main CFD Forum 1 October 27, 2010 01:49
fluent UDF external library lapack problem Rick FLUENT 0 May 7, 2008 10:16
Error in opening the UDF library Sri FLUENT 3 December 11, 2006 17:19


All times are GMT -4. The time now is 09:29.