-
-
August 4, 2023 at 6:07 am
Raheem Shaik (IIT KGP)
SubscriberHello all,
I am using udf to print the variables in a text file. It is printing the results but for each timestep, it is printing two times. First, it is showing the correct values and next time it is printing -1#IND00 values. I don't know the reasong for printing like this. I am attaching the image of the printing file. Please reply if anyone knows about the issue.
Thank you...
-
August 4, 2023 at 10:34 am
Rob
Ansys EmployeeHow many nodes are you running on? How many phases are there?
-
August 4, 2023 at 10:40 am
Raheem Shaik (IIT KGP)
SubscriberParallel (local machine)
solver processes: 1
Fluent is running on 6 CPU cores.
Domain is having 12000 nodes and only single phase is there.
-
August 4, 2023 at 10:59 am
Rob
Ansys EmployeeOK, so it's not likely to be a parallel issue. If you set up a report for those values in Fluent how does the plot look?
-
August 4, 2023 at 11:14 am
Raheem Shaik (IIT KGP)
SubscriberPlots are normal. It is taking correct values only for every time step. Only problem is with printing.
I have another doubt about the verbosity. I have set that to 1 to see equations tolerance. After some time of simulation, temperature equation tolerance going like 1.643e+3 and then it is stopping the simulation with the message "" Exit as omega becomes NaN for a norm of s equals to 0.0000e+00 "". I am getting floating point exception. I have no idea how to get rid of the issue.
-
August 4, 2023 at 11:17 am
Rob
Ansys EmployeeThat's diverging. Have a look at the flow field just before it fails to see what's going on.
-
August 4, 2023 at 11:28 am
Raheem Shaik (IIT KGP)
SubscriberActually i have printed the values of the flow variables(Pressure and temperature of the domain) at every iteration using define_adjust macro. I have not observed any abnormal values before error encountered.
-
August 4, 2023 at 11:38 am
Raheem Shaik (IIT KGP)
SubscriberThank you for giving response.
First error in printing now got resolved. Actually problem is with udf Define_execute_at_end where i gave file open pointer inside the macro. Now I have kept it before the macro. It is printing correctly now without -1#IND00 values..
😊
-
August 4, 2023 at 12:21 pm
Rob
Ansys EmployeeIf it's "just failing" try and restart from an autosave. Otherwise look at what's going on in the flow (images not just numbers) to see if something is going on.
-
- 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.
- 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
- Suppress Fluent to open with GUI while performing in journal file
- Mesh Interfaces in ANSYS FLUENT
- Time Step Size and Courant Number
- error: Received signal SIGSEGV
-
7626
-
4456
-
2955
-
1427
-
1322
© 2023 Copyright ANSYS, Inc. All rights reserved.