|
[Sponsors] |
November 21, 2007, 09:18 |
USER_GET_MESHDATA, RETURN, RELEASE
|
#1 |
Guest
Posts: n/a
|
Hello! Can you tell me, I should use RETURN, RELEASE CALLS for every function... Or enough do it for block of functions?
|
|
November 21, 2007, 09:36 |
Re: USER_GET_MESHDATA, RETURN, RELEASE
|
#2 |
Guest
Posts: n/a
|
Dear Vladimir,
If the documentation indicates that RELEASE is available, you should RELEASE the variable once you are done with it. Opaque |
|
November 21, 2007, 09:46 |
Re: USER_GET_MESHDATA, RETURN, RELEASE
|
#3 |
Guest
Posts: n/a
|
I should to do:
1) USER_GET_MESHDATA(....,'RETURN',....) ........ USER_GET_MESHDATA(....,'RETURN',....) USER_GET_MESHDATA(....,'RETURN',....) USER_GET_MESHDATA(....,'RETURN',....) ..... USER_GET_MESHDATA(....,'RELEASE',....) or 2) USER_GET_MESHDATA(....,'RETURN',....) USER_GET_MESHDATA(....,'RELEASE',....) USER_GET_MESHDATA(....,'RETURN',....) USER_GET_MESHDATA(....,'RELEASE',....) USER_GET_MESHDATA(....,'RETURN',....) USER_GET_MESHDATA(....,'RELEASE',....) USER_GET_MESHDATA(....,'RETURN',....) USER_GET_MESHDATA(....,'RELEASE',....) |
|
November 21, 2007, 10:15 |
Re: USER_GET_MESHDATA, RETURN, RELEASE
|
#4 |
Guest
Posts: n/a
|
Dear Vladimir,
My style is "first in-last out" or "last in, first out". That is, USER_GET_MESHDATA(....'OPTION 1','RETURN',....) USER_GET_MESHDATA(....'OPTION 2','RETURN',....) USER_GET_MESHDATA(....'OPTION 3','RETURN',....) Compute what you need, and after you are done. USER_GET_MESHDATA(....'OPTION 3','RELEASE',....) USER_GET_MESHDATA(....'OPTION 2','RELEASE',....) USER_GET_MESHDATA(....'OPTION 1','RELEASE',....) Order of the release should not matter as long as you execute them. Opaque |
|
November 21, 2007, 10:19 |
Re: USER_GET_MESHDATA, RETURN, RELEASE
|
#5 |
Guest
Posts: n/a
|
Dear Opaque, Thanks for answer!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Extend Project Release 1.6-ext | hjasak | OpenFOAM Announcements from Other Sources | 33 | July 14, 2011 19:54 |
Error in CFX Solver | Leuchte | CFX | 5 | November 6, 2010 07:12 |
OpenCFD release OpenFOAMŪ version 1.7.1 | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 0 | August 26, 2010 12:40 |
Diesel combustion simulation ( Heat release rate) | venkatesh | Siemens | 2 | April 29, 2009 08:38 |
Missing math.h header | Travis | FLUENT | 4 | January 15, 2009 12:48 |