-
-
April 23, 2022 at 8:05 pm
hbilal1076
SubscriberDear All,
In Ansys fluent 2021 R2, I compile and load a UDF file and even initialize successfully but when I click on calculate then at the beginning of 0% calculation I am getting the following error,
Divergence detected in AMG solver: uds-0
Divergence detected in AMG solver: uds-0
Error at host: floating point exception
===============Message from the Cortex Process================================
Compute processes interrupted. Processing can be resumed.
==============================================================================
Error: floating point exception
Error Object: #f
Please tell me the possible solution to solve this error, its been a week but I am stuck in solving this issue, I am really in need of someone who can give guidance. Please Help.
April 25, 2022 at 1:21 pmRK
Ansys EmployeeHello,
Double check all your expressions
Make sure UDF compilation was successful
April 25, 2022 at 8:51 pmhbilal1076
SubscriberThank you very much for your reply.
Previously, I ran my simulation (only flow equation and no UDF addition) till 100 Iteration and it perfectly calculated I just came to know that when I run it with only flow equation (without UDF
) and set iteration till 500 then solution get converged at 269 (written in console).
For your convenience I am attaching you a screenshot.
TIA
April 26, 2022 at 2:34 pmRob
Forum ModeratorAdding brackets into the path is a really bad idea, but doesn't appear to be causing any problems at present.
If the model works without the UDF but fails with, then it's likely something the UDF is doing. Can you send the result of the UDF (ie what it's supposed to do to the flow) to a UDM and not have it alter anything? Then look to see if the result is sensible.
April 27, 2022 at 9:01 pmhbilal1076
SubscriberYes, it work well when I calculating it for only flow equation (without UDF) but when I add UDF and calculate, it give an error
Divergence detected in AMG solver: uds-0
Error at host: floating point exception
April 28, 2022 at 1:53 pmRob
Forum ModeratorYes, the scalar calculation is going wrong. What are you doing with the scalar?
Viewing 5 reply threads- You must be logged in to reply to this topic.
Ansys Innovation SpaceBoost 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.
Trending discussions- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Difference between K-epsilon and K-omega Turbulence Model
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- Suppress Fluent to open with GUI while performing in journal file
- error: Received signal SIGSEGV
Top Contributors-
8754
-
4658
-
3151
-
1678
-
1454
Top Rated Tags© 2023 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-