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

memory deallocation problem in UDF

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 3, 2002, 01:28
Default memory deallocation problem in UDF
  #1
Hiranya
Guest
 
Posts: n/a
I have a global link list in an UDF file that is filled with data in the starting iteration. I want the data in the link list in every subsequent iteration. I can allocate the memory for the link list, but I did not find a way to free the memory. Could any one tell me how can I free the memory just before tha last iteration in a run.

Thanks in advance, Hiranya
  Reply With Quote

Old   May 6, 2002, 01:20
Default Re: memory deallocation problem in UDF
  #2
Greg Perkins
Guest
 
Posts: n/a
Probably easier to do the deallocation inside a DEFINE_ON_DEMAND udf which you run after convergence.

Its not possible I believe to know when you're about to converge!

Greg
  Reply With Quote

Old   May 6, 2002, 02:04
Default Re: memory deallocation problem in UDF
  #3
Hiranya
Guest
 
Posts: n/a
Thanks a lot Greg. You gave me a brilliant idea which, I could not get from Fluent people here.

Hiranya
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
User Defined Memory Problem Melih FLUENT 17 February 21, 2020 08:43
A problem about 'printf' and 'Message' in UDF. LICH Fluent UDF and Scheme Programming 2 May 2, 2013 03:45
Memory storage problem IBM-machine, xlf compiler abelme Hardware 0 April 21, 2011 09:16
Help! Compiled UDF problem 4 Wave tank tutorial Shane FLUENT 1 September 3, 2010 03:32
the problem of UDF zzb FLUENT 2 April 5, 2006 06:36


All times are GMT -4. The time now is 10:22.