October 23, 2018 at 11:49 amTahaSubscriber
I have simulated TFM simulation and it runs fine but when I add UDF for granular viscosity, I get divergence error due to back flow after certain time steps? What are the possible reasons for this and How to modify UDF to avoid divergence (floating point error)?
Minimum Orthogonal Quality = 7.12847e-01
Maximum Ortho Skew = 2.87153e-01
Maximum Aspect Ratio = 3.49884e+00
October 23, 2018 at 12:18 pmDrAmineAnsys Employee
You can try to debug why by using the UDF you end up with divergence. What is in the code included which is not provided by Standard Fluent models for granular viscosity?
October 23, 2018 at 12:32 pmTahaSubscriber
I have already used this UDF in another case and its working fine. Also i have used this case without granular viscosity UDF and its working fine. Now problem is that I am not able to run this case with UDF.
so in short combination of UDF and case (in consideration) is not working
October 23, 2018 at 12:44 pmDrAmineAnsys Employee
Okay. Perhaps you need to be more Conservative at the beginning of the run (time step size, URF's) and store some UDMI from UDF to see if they are some under/overshoots.
October 23, 2018 at 2:07 pmRobAnsys Employee
If the model runs for a time then fails, run the model until near the failure point and have a look at the flow field. You're looking for weird results, and excessive velocity/pressure spikes. If you're using a UDF I'd also check what the solver thinks granular viscosity is.
October 23, 2018 at 2:15 pmTahaSubscriber
This is the UDF. Kindly help me and let me know what is the the real problem.
October 23, 2018 at 3:02 pmDrAmineAnsys Employee
Please check as rwoolhou suggested what the solver thinks about the granular viscosity. You can post a screenshot of the UDF as I won't hit the link you shared here.
October 23, 2018 at 9:13 pm
- 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.
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
© 2023 Copyright ANSYS, Inc. All rights reserved.