CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Floating point exception after some time of simulation (https://www.cfd-online.com/Forums/fluent/251161-floating-point-exception-after-some-time-simulation.html)

Shaik Raheem July 31, 2023 01:14

Floating point exception after some time of simulation
 
2 Attachment(s)
Hi all.
I am facing floating point exception error. I have tried so many ways to get rid of it. But still I am not able to resolve the issue.
I am doing a 2d simulation of the domain having porous media in which refrigerant is present. R134a refrigerant is given as real gas nist. Boundary conditions are as follows
bottom and left side walls as isothermal walls (at 308 K)
Right side is symmetry
top is considered as adiabatic wall.
Domain initial pressure is 11.5bar and temp is 351K . It has to cool to 308K
I am using udf to add mass and energy source terms.

error showing divergence detected in AMG solver. I couldn't sort out this error. I have set the verbosity in controls settings as 1. Then it was showing temp, pressure equations tolerance. There I have found that the temperature equation has high tolerance (1.643 e+3 we can see from the image attached). It was showing
"" Exit as omega becomes NaN for a norm of s equals to 0.0000e+00 "". I have no idea what it is and how to control it. I am attaching the error message here.

Please guide me to solve the issue.

Geetanjali August 3, 2023 07:15

were you able to solve it? I am also facing a floating point exception error. I am unable to solve it.

Shaik Raheem August 3, 2023 08:00

Quote:

Originally Posted by Geetanjali (Post 854604)
were you able to solve it? I am also facing a floating point exception error. I am unable to solve it.

I have not yet resolved the issue. Waiting for some one to help. if your case is not the same, then you see the boundary conditions and also if you are having some code, care fully look at it. Some value might be going undefined.

MKuhn August 4, 2023 05:40

Hi Shaik,
only one hint. The Refprop Real Gas Model is only valid outside the saturation dome in FLUENT. Regarding your temperature and pressure, I'm not sure if you are in the two-phase region. This could be the reason for the floating point exception.

Shaik Raheem August 4, 2023 06:24

thank you for reply..

Actually it is single phase only. And i tried keeping ideal gas also. But same error is occurring.

MKuhn August 4, 2023 08:02

If you have mass terms in your UDF, the mass balance inside the UDF should be zero, as I can not see a flow boundary in your first post.


All times are GMT -4. The time now is 22:56.