CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Floating point exception after some time of simulation

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By MKuhn

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 31, 2023, 01:14
Default Floating point exception after some time of simulation
  #1
New Member
 
Shaik Raheem
Join Date: Jul 2023
Posts: 10
Rep Power: 2
Shaik Raheem is on a distinguished road
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.
Attached Images
File Type: jpg anysy3.JPG (81.4 KB, 12 views)
File Type: jpg ansys.JPG (52.9 KB, 10 views)
Shaik Raheem is offline   Reply With Quote

Old   August 3, 2023, 07:15
Default
  #2
New Member
 
Geetanjali Alle
Join Date: Aug 2023
Posts: 4
Rep Power: 2
Geetanjali is on a distinguished road
were you able to solve it? I am also facing a floating point exception error. I am unable to solve it.
Geetanjali is offline   Reply With Quote

Old   August 3, 2023, 08:00
Smile
  #3
New Member
 
Shaik Raheem
Join Date: Jul 2023
Posts: 10
Rep Power: 2
Shaik Raheem is on a distinguished road
Quote:
Originally Posted by Geetanjali View Post
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.
Shaik Raheem is offline   Reply With Quote

Old   August 4, 2023, 05:40
Default
  #4
Senior Member
 
Moritz Kuhn
Join Date: Apr 2010
Location: Germany, Dresden
Posts: 207
Rep Power: 17
MKuhn is on a distinguished road
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.
MKuhn is offline   Reply With Quote

Old   August 4, 2023, 06:24
Default
  #5
New Member
 
Shaik Raheem
Join Date: Jul 2023
Posts: 10
Rep Power: 2
Shaik Raheem is on a distinguished road
thank you for reply..

Actually it is single phase only. And i tried keeping ideal gas also. But same error is occurring.
Shaik Raheem is offline   Reply With Quote

Old   August 4, 2023, 08:02
Default
  #6
Senior Member
 
Moritz Kuhn
Join Date: Apr 2010
Location: Germany, Dresden
Posts: 207
Rep Power: 17
MKuhn is on a distinguished road
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.
Shaik Raheem likes this.
MKuhn is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
icoFoam - Floating point exception (core dumped) File OpenFOAM Running, Solving & CFD 26 March 6, 2021 04:26
LES, Courant Number, Crash, Sudden Alhasan OpenFOAM Running, Solving & CFD 5 November 22, 2019 02:05
Facing a floating point error when reducing time step in a unsteady simulation withwolf STAR-CCM+ 7 November 14, 2018 19:38
rhoSimpleFoam time step continuity errors deepbandivadekar OpenFOAM Running, Solving & CFD 2 September 13, 2018 05:50
Help with solving floating point exception crash. rendagar Main CFD Forum 1 March 26, 2014 07:34


All times are GMT -4. The time now is 09:53.