|
[Sponsors] |
January 26, 2005, 12:10 |
compiling UDF
|
#1 |
Guest
Posts: n/a
|
Hi,
I am trying to compile a UDF. I put the .c file and udf.h file in the same directory as the .cas file. there is no other .h file created by myself. When I clikc "build", it did create the directory and copy a few files in that directory, but when click "load" it gave me an error message say "Error: open_udf_library: The system cannot find the file specified." Is there anyone can tell me why it happened and how to solve the problem? Thanks a lot. joyce |
|
January 26, 2005, 12:28 |
Re: compiling UDF
|
#2 |
Guest
Posts: n/a
|
are you sure there aren't any syntax errors in your code? you should check the log file first in order to localize and correct the syntax errors.
greetz |
|
January 26, 2005, 17:44 |
no syntax errors
|
#3 |
Guest
Posts: n/a
|
Hi,
Thank you for your reply. There is no syntax errors, then how could this happen? Thank you. Bing Ma |
|
January 26, 2005, 18:01 |
no syntax errors
|
#4 |
Guest
Posts: n/a
|
Hi,
Thank you for your reply. There is no syntax errors, then how could this happen? Thank you. Bing Ma |
|
January 27, 2005, 05:43 |
Re: no syntax errors
|
#5 |
Guest
Posts: n/a
|
You don't have to put the udf.h file explicitly in your directory. just the .c file is enough. The rest(udf.h) fluent will find or create on its own... I think this could be the error, but i'm not sure... you can try this by deleting the udf.h file....
Diet |
|
January 30, 2005, 11:02 |
Re: compiling UDF
|
#6 |
Guest
Posts: n/a
|
Hi Joyce,
you should put your .c file in src folder that contains all sorts of UDFs in Fluent. you should not forget .c extension to your filename. the moment you compile your UDF, a file "udfconfig.h" is automatically created and you can leave it untouched. This may help you. Regards, Swarup. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
About UDF compiling issues: 'nmake' | Haoyin Shan | Fluent UDF and Scheme Programming | 15 | November 4, 2019 19:05 |
Compiling UDF on a cluster | Adya | FLUENT | 1 | December 14, 2009 12:30 |
UDF compiling problem in Flient 6.3 | jeevan kumar | FLUENT | 2 | February 25, 2009 01:43 |
udf compiling problem | akr | FLUENT | 3 | August 22, 2007 08:14 |
On Compiling a UDF | David Chabot | FLUENT | 5 | May 20, 2005 10:13 |