CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   Error in opening UDF library (https://www.cfd-online.com/Forums/fluent-udf/88528-error-opening-udf-library.html)

anon_d May 19, 2011 09:33

Error in opening UDF library
 
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 ..........

alighaffari May 19, 2011 15:43

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.

anon_d May 20, 2011 13:00

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

alighaffari May 20, 2011 15:28

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

anon_d May 21, 2011 02:10

Thanks,I'm gonna try it!


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