|
[Sponsors] |
May 3, 2002, 01:28 |
memory deallocation problem in UDF
|
#1 |
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 |
|
May 6, 2002, 01:20 |
Re: memory deallocation problem in UDF
|
#2 |
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 |
|
May 6, 2002, 02:04 |
Re: memory deallocation problem in UDF
|
#3 |
Guest
Posts: n/a
|
Thanks a lot Greg. You gave me a brilliant idea which, I could not get from Fluent people here.
Hiranya |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |