-
-
September 8, 2023 at 6:33 pmJamesSubscriber
Hi,Â
I understand that I can use schemes to change parameters that are in my UDF. I have a few questions:
1) How do I define it? In a DEFINE macro in a UDF? In fluent? In a completely different file?
2) The fluent manual suggests that a scheme variable can be defined, for example, (rp-var-define ’pres_av/thread-id 2 ’integer #f). Does it have to be in parentheses?
3) If it is defined in a DEFINE macro, can I access the variable in another DEFINE macro?
4) I am a bit confused with the term "text interface". Does it mean the C compiler like vscode?
-
September 11, 2023 at 1:43 pmRobForum Moderator
The TUI (text interface) is the console part and is usually found below the graphics window in the default view.Â
Scheme and rpvar commands are not something I'd recommend messing with unless you REALLY know what's going to happen. You will need the brackets, apostophies etc and they must be in the correct places. Otherwise they'll either fail, or do something interesting to your model, often both.Â
-
September 11, 2023 at 1:54 pmJamesSubscriber
Â
alright thank youÂ
Â
-
-
September 11, 2023 at 1:51 pmSRPAnsys Employee
Hi,
I suggest you to check ansys customization manual on scheme for detail explanation: 3.6.4. Accessing a Scheme Variable in a UDF (ansys.com)
Hope you will find this useful.
Thank you.
-
- The topic ‘Change parameters without unloading and reloading the UDF’ is closed to new replies.
-
1116
-
468
-
445
-
225
-
201
© 2024 Copyright ANSYS, Inc. All rights reserved.