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

Reloading/Rebuilding Compiled UDFs after Code Changes

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

Reply
 
LinkBack Thread Tools 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: 10
Rep Power: 5
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: 677
Rep Power: 9
pakk is on a distinguished road
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: 10
Rep Power: 5
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: 677
Rep Power: 9
pakk is on a distinguished road
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: 10
Rep Power: 5
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

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
Give me some advice CFD in Fortran code or Matlab code. tringuyenttt Main CFD Forum 4 May 29, 2013 08:32
Small 3-D code Zdravko Stojanovic Main CFD Forum 2 July 19, 2010 10:11
problem using property udfs in parallel mode EllenW Fluent UDF and Scheme Programming 5 July 10, 2009 04:31
problem using property udfs in parallel mode EllenW FLUENT 0 June 23, 2009 17:18
UDFs error Shuailin FLUENT 0 November 7, 2005 23:09


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