TAGGED: define_adjust, fluent, udf
-
-
May 1, 2023 at 1:46 pm
satri
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
SubscriberHi,
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
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- Difference between K-epsilon and K-omega Turbulence Model
- The solver failed with a non-zero exit code of : 2
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error: Received signal SIGSEGV
-
5268
-
3299
-
2469
-
1308
-
998
© 2023 Copyright ANSYS, Inc. All rights reserved.