I'm using the subroutine GETVAR to couple a combustion code to CFX. I am a bit confused about the the different options of the argument ACTION (type of action taken by GETVAR):
I couldn't find any documentation for this subroutine.
Could anyone explain the meaning and the difference between these options?
You should use user_getvar which is documented in the help.
In the user fortran course I took, they said that getvar is an internal call which is not recommended to use and therefore not documented.
GETVAR can be used with three types of ACTION argument:
The first one simply returns the data stored in memory. The second one preforms recalculation of the certain data. Each call with RETURN and RECALC arguments must be supplied by the subsequent call of GETVAR with RELEASE argument.
I've never heard about arguments GET and FIND in function GETVAR.
2joey2007: Function USER_GETVAR have limited functionality and cannot be used in junction box routines. So if you want to calculate something in JB routine you have to use GETVAR instead of USER_GETVAR.
You are right. However where it is not required user_getvar is easier to use.
|All times are GMT -4. The time now is 05:58.|