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

How to use the routine GETVAR in CFX10.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 5, 2006, 13:13
Default How to use the routine GETVAR in CFX10.
  #1
windhair
Guest
 
Posts: n/a
Besides the USER_GETVAR in the manual, i find there is another rouutine named GETVAR, but the format of variable name is different with what used in USER_GETVAR, in USER_GETVAR I can use the name like "fluid name.component name.variable name.operation Name". But for GETVAR, the similar name description does not work. Can any expert tell me what is the variable format in GETVAR routine, or if there are adiitional document about this routine, Thanks.
  Reply With Quote

Old   April 5, 2006, 13:38
Default Re: How to use the routine GETVAR in CFX10.
  #2
opaque
Guest
 
Posts: n/a
Dear windhair,

The routine GETVAR is undocumented (developers only), and it is internal to the ANSYS CFX solver.. You may have seen it in examples for User Fortran junction boxes...

What are you trying to do that cannot be done via USER_GETVAR?

Your best source for help with undocumented functionality is your CFX help desk.. Give them a call.

Good luck, Opaque..

  Reply With Quote

Old   April 5, 2006, 14:36
Default Re: How to use the routine GETVAR in CFX10.
  #3
windhair
Guest
 
Posts: n/a
Thx, since the example I get from the surrport have the routine GETVAR rather than USER_GETVAR, so I want to know some detail about GETVAR , especiall about the variable name structure. But I can not get my surrport at this moment. Any idea?
  Reply With Quote

Old   April 5, 2006, 16:21
Default Re: How to use the routine GETVAR in CFX10.
  #4
opaque
Guest
 
Posts: n/a
Dear windhair,

Please contact CFX help desk.. The information about using GETVAR is far from trivial:

For example, if you were using USER_GETVAR and you make a call to USER_CALC_INFO the returned values you get use the convention for GETVAR

- the returned value of CVAR represents the WHAT argument

- the returned value of CZONE, LOCALE and ENTITY are combined to represent the WHERE argument

- the returned value of WHEN

Then, there is the issue of the array indexing after you get the pointer stack.. Different (Variables,Locale,Entity) combinations get different shapes..

So far this is just the tip of the iceberg..

Good luck, Opaque..
  Reply With Quote

Reply


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
Importing CFX10 data into CFX 11 Stephen CFX 1 May 10, 2007 23:42
Importing CFX10 data into CFX 11 Stephen CFX 0 May 9, 2007 06:55
user subroutine error CFDUSER CFX 2 December 9, 2006 06:31
CFX 10 User Routine NOT in Fortran Andre CFX 14 August 8, 2006 23:03
user defined function cfduser CFX 0 April 29, 2006 10:58


All times are GMT -4. The time now is 05:29.