If need to read the such individual variables in CFX as current timestep, current loop and so on, the subroutines ‘USER_GET_TRANS_INF’ and ‘PEEKI/PEEKR’ are used. (Not ‘USER_GETVAR’).
When use PEEKI/PEEKR/PEEKL/PEEKD to get the variables, user should note that which function is used depends on the type of variable. Also user should make sure to claim the correct type of variable in CFX subroutine.
There is an example in CFX help and user can refer to it for using it in correct way.