-
-
July 31, 2018 at 5:32 pm
nickgaoda
SubscriberI want to calculate the time dependent velocity gradient (G) based on the turbulent kinetic energy and dissipation rate, but I am not sure how to call values of turbulent kinetic energy and dissipation rate from prior time step. From the UDF manual, only the density, velocity, temperature and species mass fraction from previous time step can be called by the macro. Is there anyone knows how to solve it? Thank you.
-
August 1, 2018 at 1:38 am
-
August 1, 2018 at 6:23 pm
-
August 2, 2018 at 1:55 am
Karthik R
AdministratorHello You can use DEFINE_ADJUST macro, which is executed at the beginning of each time-step. If you are storing values using C_D(c,t) into a UDM, it would read the cell values which are from previous time-step.
Hope this helps.
Best Regards Karthik -
August 2, 2018 at 4:29 pm
nickgaoda
SubscriberThat works! Thanks your very much
-
- You must be logged in to reply to this topic.

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
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
-
2522
-
2064
-
1279
-
1094
-
456
© 2023 Copyright ANSYS, Inc. All rights reserved.