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

Divergence detected in AMG solver and floating point exception error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 7, 2018, 01:53
Default Divergence detected in AMG solver and floating point exception error
  #1
New Member
 
Masroor
Join Date: Nov 2015
Posts: 10
Rep Power: 11
Masroor is on a distinguished road
Dear Experts,
I am simulating the unsteady multiphase flow dynamics of air and water in a bubble column. I am using class method of population balance to study the bubble size distribution. In this study I need to use some drag correlations through the compiled c source files. As I iterate the solution, after several iterations I receive the divergence detected in AMG solver and the floating point exception. Basically, as in that drag I define the sauter mean diameter through this macro "diamb=C_PB_DISCI(cell, thread_b,3)/C_PB_DISCI(cell, thread_b,2)". But when I define it through the "C_PHASE_DIAMETER" (without using above mentioned macro/without PBM), it works. I don't know where the problem exists and how it can be rectified. I need your expert opinion to get rid of this unwanted solution.
Thanking you in advance and looking forward to receive a quick and positive response from your side.
Masroor is offline   Reply With Quote

Old   June 8, 2018, 10:51
Default
  #2
Senior Member
 
Join Date: Sep 2017
Posts: 246
Rep Power: 12
obscureed is on a distinguished road
Hi Masroor,


Your formula would correctly calculate a Sauter mean diameter if applied to (length-based, number-weighted) moments of the size distribution, but that is not appropriate for C_PB_DISCI. C_PB_DISCI(c,tc,i) is the mass fraction in bin "i" of the size distribution in cell c, (sub-)thread tc. (I always have to remind myself that i=0 is the largest bin, not the smallest.)


If you can live with using C_PHASE_DIAMETER (which can be defined as the phase's Sauter mean diameter in the GUI), then this is a lot simpler.


Best regards,
Ed
obscureed 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
PEMFC model with FLUENT brahimchoice FLUENT 22 April 19, 2020 16:44
Floating Point Exception Error nyox FLUENT 11 November 30, 2018 13:31
[ANSYS Meshing] Help with element size sandri_92 ANSYS Meshing & Geometry 14 November 14, 2018 08:54
fluent divergence for no reason sufjanst FLUENT 2 March 23, 2016 17:08
Divergence problem Smaras FLUENT 13 February 21, 2013 06:03


All times are GMT -4. The time now is 17:24.