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 (for example, pres_av/thread-id) on the Scheme side, you can type the following command in the text window:

 (%rpgetvar ’pres_av/thread-id) 

Important:  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.



Release 18.2 - © ANSYS, Inc. All rights reserved.