|
[Sponsors] |
[B]the compiler keep on compile previous udf without updating new udf?[/B] |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 13, 2014, 04:26 |
[B]the compiler keep on compile previous udf without updating new udf?[/B]
|
#1 |
Member
kiwi
Join Date: Mar 2012
Location: South East Asia
Posts: 58
Rep Power: 14 |
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 |
|
July 14, 2014, 17:51 |
|
#2 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
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.
|
|
July 14, 2014, 22:46 |
|
#3 |
Member
kiwi
Join Date: Mar 2012
Location: South East Asia
Posts: 58
Rep Power: 14 |
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 |
|
July 18, 2014, 03:20 |
|
#4 |
Member
kiwi
Join Date: Mar 2012
Location: South East Asia
Posts: 58
Rep Power: 14 |
is there anyone know how I can update the compiler compiled file rather than let it keep on compile the old file?
thank you. |
|
July 24, 2014, 10:03 |
|
#5 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
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? |
|
July 24, 2014, 20:38 |
|
#6 |
Member
le hoang anh
Join Date: Oct 2012
Posts: 96
Rep Power: 14 |
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 |
|
|
|
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 |