[ANSYS, Inc. Logo] return to home search
next up previous contents index

3.6.2 Accessing a Scheme Variable in the Text Interface

After you define a Scheme variable in the text interface, you can access the variable. For example, if you want to check the current value of the variable (e.g., pres_av/thread-id) on the Scheme side, you can type the following command in the text window:

(%rpgetvar 'pres_av/thread-id)

figure   

It is recommended that you use %rpgetvar when you are retrieving an ANSYS FLUENT variable using a scheme command. This will ensure that you access the current cached value.


next up previous contents index Previous: 3.6.1 Defining a Scheme
Up: 3.6 Scheme Macros
Next: 3.6.3 Changing a Scheme
Release 12.0 © ANSYS, Inc. 2009-01-14