-
-
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.
- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Script error Code: 800a000d
- Cyclone (Stairmand) simulation using RSM
- Fluent fails with Intel MPI protocol on 2 nodes
- error udf
- Diesel with Ammonia/Hydrogen blend combustion
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script Error
-
1216
-
543
-
523
-
225
-
209
© 2024 Copyright ANSYS, Inc. All rights reserved.