memory deallocation problem in UDF
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 |
Re: memory deallocation problem in UDF
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 |
Re: memory deallocation problem in UDF
Thanks a lot Greg. You gave me a brilliant idea which, I could not get from Fluent people here.
Hiranya |
All times are GMT -4. The time now is 12:01. |