TAGGED: define_adjust, fluent, udf
-
-
May 1, 2023 at 1:46 pm
Shyam Prasad V Atri
SubscriberI have an adjust function which i want to attach as a udf and run for a simulation. I have some parameters in the adjust function which change through the simulation through the define on demand and i run the simulation with the aid of a TUI.
When I restart the simulation, I put a copy of the original adjust function I created.
the original function had a parameter dp = 50
after running 10 rounds the dp value is now 100.
I want to restart the simulation i put a copy of the original adjust function that i have which has a value of dp=50. when i do this I make sure that I unload the udf, and recompile the udf with the original adjust function. so now why does ansys still take the updated adjust function which has dp = 100?
why does Ansys still take the changed just function when I restart and run the simulations? I even unload the udf and recompile it every time.
please let me know why this happens. this is so annoying when you compile a different file and ansys still takes the old files. How do I fix this?
-
May 3, 2023 at 12:20 pm
SRP
Ansys EmployeeHi,
The updated UDF is being cached: ANSYS Fluent may be caching the updated version of the UDF, even after it has been unloaded and recompiled.
Are you using linux or windows?
Thanks
-
- The topic ‘ansys compiles wrong functions’ is closed to new replies.
-
6535
-
1906
-
1463
-
1311
-
1022
© 2026 Copyright ANSYS, Inc. All rights reserved.