Tagged: udf
-
-
January 18, 2023 at 12:38 am
Theodore St George
SubscriberHello,
I'm trying to get a pseudo-timestep from each cell for a steady-state calculation. I was previously referred to C_DT(cell,thread) which appears to work well with the Density-based solver. However, upon switching to the Pressure-Based solver, even with Coupled and Pseudo Time Method turned to Global Time Step, utilizing C_DT(cell,thread) causes Fluent to hard crash and close. The CURRENT_TIMESTEP command has no such issues, but I don't have any confirmation the timestep is indeed the actual pseudo timestep, not just a value that's held over from the last time I did a transient simulation.
Notably, I can extract a contour plot of the Time Step (Residuals -> Time Step) while using the Density-Based Solver, and I cannot while using the Pressure-Based Solver
Is this the expected behavior and/or are there other commands I should be looking at?
-
January 18, 2023 at 12:02 pm
Rob
Ansys EmployeeCURRENT_TIMESTEP is for transient models. I suspect the C_DT is for the density based solver only, and there may not be an equivalent for pressure based. We're a bit limited in what we can offer for UDF support - other than the documentation. Other community members are not under the same restrictions.
-
January 18, 2023 at 7:47 pm
Theodore St George
SubscriberUnderstood, thanks Rob.
-
- 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
-
2630
-
2110
-
1335
-
1110
-
461
© 2023 Copyright ANSYS, Inc. All rights reserved.