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

[B]the compiler keep on compile previous udf without updating new udf?[/B]

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By pakk
  • 1 Post By lehoanganh07

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 13, 2014, 04:26
Question [B]the compiler keep on compile previous udf without updating new udf?[/B]
  #1
Member
 
fruitkiwi's Avatar
 
kiwi
Join Date: Mar 2012
Location: South East Asia
Posts: 58
Rep Power: 14
fruitkiwi is on a distinguished road
Dear all,

I am using fluent in ansys 14.5, my compiler working in the first time, eg. compile sixdof.udf, and it manage to work flawlessly.

However, when I try to compiler other udf file eg. velocity.udf, the result never changes, in the fluent windows it still using the old sixdof.udf as end results. I can see the message telling me that it is still using the previous library file, C:\Users\fruitkiwi\libudf\win64\3ddp\libudf.dll

even when i am moving the library file go to other places, it still compile the previous udf, without updating the new udf which i instruct in the compiler GUI.

May I know if there is anyone of you face the similar problem and manage to solve it?

Thank you in advance.

Last edited by fruitkiwi; July 13, 2014 at 04:29. Reason: put a question mark to highligh the post
fruitkiwi is offline   Reply With Quote

Old   July 14, 2014, 17:51
Default
  #2
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27
pakk will become famous soon enough
Probably (but this is a bit of a guess) when you thought that you compiled the 'new' udf, it did not work and you got a warning on your screen, that you missed. If the compilation failed, Fluent uses the most recent compiled version.
pakk is offline   Reply With Quote

Old   July 14, 2014, 22:46
Default
  #3
Member
 
fruitkiwi's Avatar
 
kiwi
Join Date: Mar 2012
Location: South East Asia
Posts: 58
Rep Power: 14
fruitkiwi is on a distinguished road
Dear Pakk,

thanks for reply.
as attachment shown, in that way, based on your experience, is it possible for me to delete any file to let it compile the latest version?

fluent file.jpg
fruitkiwi is offline   Reply With Quote

Old   July 18, 2014, 03:20
Default
  #4
Member
 
fruitkiwi's Avatar
 
kiwi
Join Date: Mar 2012
Location: South East Asia
Posts: 58
Rep Power: 14
fruitkiwi is on a distinguished road
is there anyone know how I can update the compiler compiled file rather than let it keep on compile the old file?

thank you.
fruitkiwi is offline   Reply With Quote

Old   July 24, 2014, 10:03
Default
  #5
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27
pakk will become famous soon enough
Fluent will always try to compile the newest version. You don't need to delete any files for that.

Sometimes, Fluent will have a problem with compiling the newest version, for example when you you made a mistake in the udf. In that case, nothing will be compiled. And when you try to use the udf, Fluent will use the most recent compiled version.

Check what is showing on your screen when you try to compile the udf. Do you see warnings or errors?
fruitkiwi likes this.
pakk is offline   Reply With Quote

Old   July 24, 2014, 20:38
Default
  #6
Member
 
le hoang anh
Join Date: Oct 2012
Posts: 96
Rep Power: 14
lehoanganh07 is on a distinguished road
Different UDF file, you should make the diffrent name for library.
First UDF file the defaul name in Fluent is libudf. So fo second UDF file such as velocity.c, you compile with name libudf1
fruitkiwi likes this.
lehoanganh07 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
udf compile in parallel system tahereh FLUENT 1 December 9, 2008 10:48
interpret or compile an UDF (emergency) Lotfi FLUENT 1 August 26, 2007 13:58
Fluent doesn´t compile UDF on Windows HSeldon FLUENT 4 February 15, 2007 00:01
Accessing previous time step temperature in UDF Sam Bennett FLUENT 0 February 27, 2006 11:46
Help to Compile UDF chiph FLUENT 2 November 2, 2003 10:14


All times are GMT -4. The time now is 12:14.