rpvars#

Examples#

>>> import ansys.fluent.core as pyfluent
>>> solver = pyfluent.launch_fluent(mode="solver")
>>> iter_count = 100
>>> solver.rp_vars("number-of-iterations", iter_count)
'number-of-iterations'
>>> solver.rp_vars("number-of-iterations")
100
>>> # Get dictionary of all available rpvars:
>>> solver.rp_vars()
{'sg-swirl?': False, 'rp-seg?': True, 'rf-energy?': False, 'rp-inviscid?': False, ...
'number-of-iterations': 100, ...}