|
[Sponsors] |
Reloading/Rebuilding Compiled UDFs after Code Changes |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 21, 2014, 12:58 |
Reloading/Rebuilding Compiled UDFs after Code Changes
|
#1 |
New Member
Rafael Cerqueira
Join Date: Mar 2012
Posts: 13
Rep Power: 14 |
Hello!
I'm currently compiling UDFs with the help of MSVS 2010 and every time I make some code modification I need to close and reopen Ansys Fluent. When I was "interpreting" the UDFs I pressed the "Interpret" button on the "Interpreted UDFs" panel after i changed the code in the MSVS 2010 window. It's boring and a completely wast of time close/reopen the software. Can someone enlighten me on this? Thanks! Last edited by rafacerq; January 21, 2014 at 12:58. Reason: Forget to thank! |
|
January 22, 2014, 04:50 |
|
#2 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
I don't know if it is the smartest way, but what I do:
Go to Define->User-defined->Function->Manage Select your compiled library (by default libudf), and unload it. Then you can recompile and load it again. |
|
January 23, 2014, 11:26 |
|
#3 |
New Member
Rafael Cerqueira
Join Date: Mar 2012
Posts: 13
Rep Power: 14 |
That's exactly what I'm doing right now. A waste tons of time in this process.
I think there's a quicker way to do it... |
|
January 23, 2014, 11:54 |
|
#4 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
If this is exactly what you are doing, then I don't understand your first description, because there you said that you closed and reopened Fluent. In my process, you don't close and reopen Fluent.
|
|
January 23, 2014, 11:58 |
|
#5 | |
New Member
Rafael Cerqueira
Join Date: Mar 2012
Posts: 13
Rep Power: 14 |
Quote:
I discovered your way some moments after the creation of this thread, but I still think there's a quicker way. Anyway, thanks for helping me out. Let's hope someone reply a better way than ours. |
||
Tags |
compiled, msvs, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Give me some advice CFD in Fortran code or Matlab code. | tringuyenttt | Main CFD Forum | 4 | May 29, 2013 09:32 |
Small 3-D code | Zdravko Stojanovic | Main CFD Forum | 2 | July 19, 2010 11:11 |
problem using property udfs in parallel mode | EllenW | Fluent UDF and Scheme Programming | 5 | July 10, 2009 05:31 |
problem using property udfs in parallel mode | EllenW | FLUENT | 0 | June 23, 2009 18:18 |
UDFs error | Shuailin | FLUENT | 0 | November 7, 2005 23:09 |