CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   AMG solver divergence; (https://www.cfd-online.com/Forums/fluent/37829-amg-solver-divergence.html)

Mike September 7, 2005 17:43

AMG solver divergence;
 
Hi, I've been performing a grid size study on the case that I'm currently working on and received the error message after approximately 20 time steps:

divergence detected in AMG solver: pressure correction primitive error at Node 0: floating point exception. Error: floating point exception. Error Object: #f

This error message repeats itself for nodes 1-3. The case is unsteady 2D flow past a rectangular plate in a duct. I'm using a structured grid with 825,000 cells, PISO P-V coupling, and my pressure discretization is set to 2nd order. My case is running in parallel using 4 processors. I previously ran this case using 170,000, 325,000, and 500,000 cells with no problems. I changed the under-relaxation factors to 0.2 and 0.5 for pressure and momentum respectively, but still get the error message after approx. 15-25 time steps. Any help will be greatly appreciated.

zxaar September 7, 2005 17:52

Re: AMG solver divergence;
 
change the pressure discretisation to standard, it should not give this error, if it gives then examine your case closely because then the problem is with set up not with discretisation. Fluent is very stable solver.

Mike September 8, 2005 15:51

Re: AMG solver divergence;
 
Thanks, switching the pressure over to standard seems to have solved the problem.

zxaar September 11, 2005 22:38

Re: AMG solver divergence;
 
If you wish to switch back to second order , you can do it, once you have some order of convergence by standard scheme.

Endee September 12, 2005 13:44

Re: AMG solver divergence;
 
Hi, Is this true for the 3D-unsteady as well? As I am trying to do a 3d flow over circular cylinder using DES but from the very beginning it gives the NAN (division by zero). Any comments (As i have tried both segregated and couple solvers with same result). Cheers, Endee

zxaar September 12, 2005 17:40

Re: AMG solver divergence;
 
I have been doing 3D unsteady cylinder calculations, and yes fluent can give you problems if you chose second order scheme in the start. In fact, i am able to make fluent diverge with 2000 cells, with 1m/s velocity inlet, if i started with second order. You can always switch to higher order schemes after you have some degree of convergence. This is generally true.

Endee September 13, 2005 05:43

Re: AMG solver divergence;
 
thanks...Zxaar Just some queries about simulation with 3D unsteady cylinder at vel of about 70m/s and temp 300 K with legth to dia 2-1. How did you specify the boundary condition? What time step do you recommend and what should be the data saving frequecy to capture the unsteady vortices? cheers, Endee

zxaar September 13, 2005 18:01

Re: AMG solver divergence;
 
i have been mostly working around of flow 60m/s, and with LES i have been using 1E-05 as time step since i am using sliding mesh aproach for rotation. You can use NITA also if you do not have any rotating parts. (with sliding mesh NITA always diverges). i am using vel inlet, pressure outlet, with operating condition 0 pressure

dralosdir January 8, 2010 09:29

Quote:

Originally Posted by zxaar
;124022
change the pressure discretisation to standard, it should not give this error, if it gives then examine your case closely because then the problem is with set up not with discretisation. Fluent is very stable solver.

i have that problem too. where can i set the pressure discretisation to standard?

krishnaprasad September 15, 2010 01:58

hi all
i am working in ansys 12.1 fluent to generate waves using udf. during the solution it is showing,,divergence detected in the AMG solver and stopped the iteration.??
i had tried many times ...can you please help me.

and also i don't know how to set unsteady flow and non iterative time advancement solver controls..please help me.
thank you in adv

jhthoh February 19, 2011 22:43

where can i set the pressure discretisation to standard? i m using ANSYS 12.0 fluent

sanjose February 25, 2011 09:21

Re: AMG solver divergence
 
Hi! I'm trying to determine a residence time distribution of a plug flow reactor by calculation of an advection-diffusion equation for a tracer (scalar transport) using a user defined scalar (uds).
I receive this message:
divergence detected in AMG solver: uds-0
Primitive Error at Node 2: floating point exception


How can solve this problem?
Thank you.

hadikhayyamian April 20, 2011 00:25

@ dralosdir :
If u r using Fluent 6.3.26 and u would like to set the pressure discretisation to standard then follow:
Main Menu > Solve > Controls > Solution... Under Discretization set Pressure to Standard.

skander August 7, 2013 06:52

Hi guys ,

i am simulating a flow around a naca profil, using fluent
when i run the calculation it stops and gives this msg

Error: Floating point error: invalid number

Error Object: ()

do you have a solution for this problem?

sampathevs August 7, 2013 08:40

Thats means, your BC's are wrong !

msbhatti123 August 7, 2013 10:15

Error message - Divergence detected in AMG solver: pressure correction
 
Dear All,

I am doing wind analysis around buildings. Analysis is working fine on single building but around many buildings it is giving me few errors as mentioned below. I used same set up of single building and same boundary conditions. one more things why software is generating more walls in analysis and showing me some interface problems. Thanks in advance for your answers.

Divergence detected in AMG solver: pressure correction

and

Note: zone-surface: cannot create surface from sliding interface zone.
Creating empty surface.

Kanarya September 9, 2014 07:30

Hi,
I have problem with uds.. residual seems ok but still it is stopping..
PHP Code:

Updating solution at time levels N and N-1.
 done
.
  
iter  continuity       u-gas     u-solid       v-gas     v-solid       uds-0       uds-1    vf-solid     time/iter
 10750  8.8121e-11  2.2626e-12  6.1116e-16  1.3528e-13  6.3501e-17  3.8446e-03  1.3206e-06  3.7602e-15  0
:00:28  100
eta_r
0.430262
tau_c
12.2609
tau_x
0.0164504
tau_t
18.5566
abs_v
3.76477
abs_v1
3.76477
abs_v2
3.76476
 10751  2.2053e-03  5.7549e-05  1.1280e-04  1.4713e-05  4.0489e-06  2.5946e-03  1.9169e-04  1.8546e-05  0
:00:32   99
eta_r
0.430485
tau_c
12.2609
tau_x
0.0164553
tau_t
18.5415
abs_v
3.7617
abs_v1
3.7617
abs_v2
3.7617
 10752  1.5026e-03  2.0906e-05  3.6006e-05  5.0037e-06  1.2944e-06  2.5935e-03  1.7131e-04  9.5630e-06  0
:00:31   98
eta_r
0.430556
tau_c
12.2609
tau_x
0.0164568
tau_t
18.5367
abs_v
3.76073
abs_v1
3.76073
abs_v2
3.76073
 10753  1.9169e-03  2.0543e-05  1.1497e-05  1.8165e-06  4.1447e-07  2.7509e-03  1.5509e-04  4.9279e-06  0
:00:30   97
eta_r
0.430579
tau_c
12.2609
tau_x
0.0164573
tau_t
18.5352
abs_v
3.76041
abs_v1
3.76041
abs_v2
3.76041
# Divergence detected in AMG solver: uds-0 -> Increasing relaxation sweeps!

Divergence detected in AMG solveruds-0
Divergence detected in AMG solver
uds-1
Divergence detected in AMG solver
uds-0
Divergence detected in AMG solver
uds-1
Divergence detected in AMG solver
uds-0
Divergence detected in AMG solver
uds-1
Divergence detected in AMG solver
uds-0
Divergence detected in AMG solver
uds-1
Divergence detected in AMG solver
uds-0
Divergence detected in AMG solver
uds-1
Divergence detected in AMG solver
uds-0
Divergence detected in AMG solver
uds-1
Divergence detected in AMG solver
uds-0
Divergence detected in AMG solver
uds-1
Divergence detected in AMG solver
uds-0
Divergence detected in AMG solver
uds-1
Warning
An error or interrupt occurred while reading the journal file.
Some commands may not have been completed.

Halting due to end of file on input

do you have any idea?
thanks in advance!

bia December 14, 2015 13:01

if it doesn't work you can chege it to second order


All times are GMT -4. The time now is 20:40.