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

Compiled UDF

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 3, 2003, 04:15
Default Compiled UDF
  #1
Ale
Guest
 
Posts: n/a
Hi to all,

I'm using compiled UDF on a PC (Windows system). If I modify my code and compile it again, I have to exit Fluent and restart it, otherwise the new libraries won't be created ('cannot open libudf.dll for writing').

Does anybody know a way to avoid closing and restarting Fluent at each modification of the code?

Thanks a lot in advance!

Ale
  Reply With Quote

Old   October 3, 2003, 09:01
Default Re: Compiled UDF
  #2
thomas
Guest
 
Posts: n/a
Hello, Try to change the name of the libraries each time you compile your UDF. Or erase before compilation the libudf file. regards thomas
  Reply With Quote

Old   October 3, 2003, 15:09
Default Re: Compiled UDF
  #3
ap
Guest
 
Posts: n/a
This happens because FLUENT opens the library libudf.dll when you open a case file which uses a compiled UDF.

You can't overwrite an opened file, so the only safe way to compile your UDF again is to exit FLUENT.

Hi

ap
  Reply With Quote

Old   October 6, 2003, 03:55
Default Re: Compiled UDF
  #4
Ale
Guest
 
Posts: n/a
Thanks for your reply! I cannot erase the libudf file since I cannot access it until Fluent is open. Thank you anyway.

Regards, Ale
  Reply With Quote

Old   October 6, 2003, 03:56
Default Re: Compiled UDF
  #5
Ale
Guest
 
Posts: n/a
Thank you ap!

Hi

Ale
  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
I want to use pressure of 1 face in udf that compiled on other face iman_1844 Fluent UDF and Scheme Programming 3 June 10, 2010 12:55
Why udf can not be compiled in my pc? Xinqiang FLUENT 0 June 10, 2009 14:32
difference between udf compiled and udf interprete chandra sekhar FLUENT 2 April 11, 2006 00:04
how to quit compiled or interprited UDF tian FLUENT 0 April 8, 2003 23:53


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