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

Error in opening UDF library

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 19, 2011, 10:33
Default Error in opening UDF library
  #1
Disabled
 
Join Date: Apr 2011
Posts: 8
Rep Power: 15
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, 16:43
Default
  #2
Member
 
alighaffari
Join Date: May 2011
Posts: 31
Rep Power: 15
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, 14:00
Default
  #3
Disabled
 
Join Date: Apr 2011
Posts: 8
Rep Power: 15
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, 16:28
Default
  #4
Member
 
alighaffari
Join Date: May 2011
Posts: 31
Rep Power: 15
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, 03:10
Default
  #5
Disabled
 
Join Date: Apr 2011
Posts: 8
Rep Power: 15
anon_d is on a distinguished road
Thanks,I'm gonna try it!
anon_d is offline   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
problem loading UDF library in parallel cluster Veera Gutti FLUENT 8 July 26, 2016 08:24
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 22:38
error open udf library adjie_mesin06 Main CFD Forum 1 October 27, 2010 02:49
fluent UDF external library lapack problem Rick FLUENT 0 May 7, 2008 11:16
Error in opening the UDF library Sri FLUENT 3 December 11, 2006 17:19


All times are GMT -4. The time now is 03:21.