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

Reloading/Rebuilding Compiled UDFs after Code Changes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 21, 2014, 12:58
Default Reloading/Rebuilding Compiled UDFs after Code Changes
  #1
New Member
 
Rafael Cerqueira
Join Date: Mar 2012
Posts: 13
Rep Power: 14
rafacerq is on a distinguished road
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!
rafacerq is offline   Reply With Quote

Old   January 22, 2014, 04:50
Default
  #2
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27
pakk will become famous soon enough
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.
pakk is offline   Reply With Quote

Old   January 23, 2014, 11:26
Default
  #3
New Member
 
Rafael Cerqueira
Join Date: Mar 2012
Posts: 13
Rep Power: 14
rafacerq is on a distinguished road
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...
rafacerq is offline   Reply With Quote

Old   January 23, 2014, 11:54
Default
  #4
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27
pakk will become famous soon enough
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.
pakk is offline   Reply With Quote

Old   January 23, 2014, 11:58
Default
  #5
New Member
 
Rafael Cerqueira
Join Date: Mar 2012
Posts: 13
Rep Power: 14
rafacerq is on a distinguished road
Quote:
Originally Posted by pakk View Post
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.
Yes, I was closing and reopening Fluent.

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.
rafacerq is offline   Reply With Quote

Reply

Tags
compiled, msvs, udf


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
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


All times are GMT -4. The time now is 07:33.