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

USER_GET_MESHDATA, RETURN, RELEASE

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 21, 2007, 08:18
Default USER_GET_MESHDATA, RETURN, RELEASE
  #1
Bloshchitsyn Vladimir
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?
  Reply With Quote

Old   November 21, 2007, 08:36
Default Re: USER_GET_MESHDATA, RETURN, RELEASE
  #2
opaque
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

  Reply With Quote

Old   November 21, 2007, 08:46
Default Re: USER_GET_MESHDATA, RETURN, RELEASE
  #3
Bloshchitsyn Vladimir
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',....)

  Reply With Quote

Old   November 21, 2007, 09:15
Default Re: USER_GET_MESHDATA, RETURN, RELEASE
  #4
opaque
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

  Reply With Quote

Old   November 21, 2007, 09:19
Default Re: USER_GET_MESHDATA, RETURN, RELEASE
  #5
Bloshchitsyn Vladimir
Guest
 
Posts: n/a
Dear Opaque, Thanks for answer!
  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
Extend Project Release 1.6-ext hjasak OpenFOAM Announcements from Other Sources 33 July 14, 2011 18:54
Error in CFX Solver Leuchte CFX 5 November 6, 2010 06:12
OpenCFD release OpenFOAMŪ version 1.7.1 opencfd OpenFOAM Announcements from ESI-OpenCFD 0 August 26, 2010 11:40
Diesel combustion simulation ( Heat release rate) venkatesh Siemens 2 April 29, 2009 07:38
Missing math.h header Travis FLUENT 4 January 15, 2009 11:48


All times are GMT -4. The time now is 23:02.