-
-
September 8, 2023 at 6:33 pm
James
SubscriberHi,Â
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 pm
Rob
Forum ModeratorThe 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 pm
James
SubscriberÂ
alright thank youÂ
Â
-
-
September 11, 2023 at 1:51 pm
SRP
Ansys EmployeeHi,
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.
- air flow in and out of computer case
- Varying Bond model parameters to mimic soil particle cohesion/stiction
- Eroded Mass due to Erosion of Soil Particles by Fluids
- Guidance needed for Conjugate Heat Transfer Analysis for a 3s3p Li-ion Battery
- Centrifugal Fan Analysis for Determination of Characteristic Curve
- I am doing a corona simulation. But particles are not spreading.
- Issue to compile a UDF in ANSYS Fluent
- JACOBI Convergence Issue in ANSYS AQWA
- affinity not set
- Resuming SAG Mill Simulation with New Particle Batch in Rocky
-
3862
-
1414
-
1231
-
1118
-
1015
© 2025 Copyright ANSYS, Inc. All rights reserved.