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

Divergence Detected in AMG solver- Species 0

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 25, 2015, 06:03
Default Hi Sanjeet
  #21
New Member
 
Join Date: Jun 2009
Location: India
Posts: 7
Rep Power: 16
eegala is on a distinguished road
Try these two methods,

1. First run the cold flow without energy equation, and then start the energy and species transport equations. Than give a high temperature by patching above 1400 K near the fuel + air mixing zone.

2. Reduce the time step to a very low value (around 10^-6 s) and run for some iterations and then increase the time step.

The errors in combustion simulations occurs due to very high local gradients due to ignition.
eegala is offline   Reply With Quote

Old   April 25, 2015, 09:58
Default
  #22
Member
 
sanjeet Limbu
Join Date: Mar 2015
Posts: 91
Rep Power: 11
sanjeetlimbu is on a distinguished road
Thanks for help!

actually i was doing patch with 766K for whole body (my case is autoignition for a closed system vessel, so not inlet point to patch).. doing the same cold flow step calculation to initialise. but could not get ignition

If I do with 1400K as you adviced... Will it show the low temperature two stage ignition which that fuel mixture show at 766K.

Anyway I will try with 1400 and see...

thanks again
sanjeetlimbu is offline   Reply With Quote

Old   April 25, 2015, 16:54
Default
  #23
Member
 
sanjeet Limbu
Join Date: Mar 2015
Posts: 91
Rep Power: 11
sanjeetlimbu is on a distinguished road
Dear Sir


I tried using the cold flow+ patch at 1400K the body -part in mesh , but no combustion observed , only the temp raised....

I tried then 900K but no raise observed in products _ CO2 or H20 in mole fraction...

In both cases the temperature just climbs to the patch value and there is no temp /pressure raise after than
Attached Images
File Type: jpg patch _using 1400, 9000_No combustion.jpg (27.7 KB, 20 views)
File Type: jpg model+op_condition.jpg (64.0 KB, 16 views)
File Type: jpg patch.jpg (62.2 KB, 14 views)
sanjeetlimbu is offline   Reply With Quote

Old   April 26, 2015, 00:37
Default
  #24
Member
 
sanjeet Limbu
Join Date: Mar 2015
Posts: 91
Rep Power: 11
sanjeetlimbu is on a distinguished road
Dear sir...

Can i get autoignition using chemical equilibrium- in partially premixed

As I tried the flamelet , but getting some error about the scaler mixture fraction limit grater than domain largest mixture fraction.

Since I used the equilibrium, and can you guide me how to achieve autoignition by any method... I am facing huge problem
sanjeetlimbu is offline   Reply With Quote

Old   April 26, 2015, 21:19
Default
  #25
Member
 
sanjeet Limbu
Join Date: Mar 2015
Posts: 91
Rep Power: 11
sanjeetlimbu is on a distinguished road
Pl reply I think that due to some setting the reaction not happening - its seem suppressed chemistry case
sanjeetlimbu is offline   Reply With Quote

Old   November 8, 2015, 00:58
Default question
  #26
Member
 
Join Date: Nov 2014
Posts: 42
Rep Power: 11
Maryam-A is on a distinguished road
Hello everybody
I used uds for adding transport equation of particles to investigate Brownian motion and thermophoresis ,but see divergence detected for x-momentum .
I reduced all URF and tried different solving method but no help
after that I did try what you said with the f-cycle and bcgstab method, but it then said there was divergence in Y-Momentum, so i did the same for it, but then it said there was divergence in temperature, so i did the same for it, and the same for uds.

when i did that it just gave out this error:

Error: > (greater-than): invalid argument [2]: wrong type [not a number]
Error Object: 1.#qnan


Any ideas?
Please help me it took me much time to define source term,convection flux and boundary flux according to manual (no help from my supervisor )

Thanks
Maryam-A is offline   Reply With Quote

Old   November 8, 2015, 04:11
Default
  #27
Member
 
Join Date: Jul 2012
Posts: 48
Rep Power: 13
Abhya is on a distinguished road
Quote:
Originally Posted by Maryam-A View Post
Hello everybody
I used uds for adding transport equation of particles to investigate Brownian motion and thermophoresis ,but see divergence detected for x-momentum .
I reduced all URF and tried different solving method but no help
after that I did try what you said with the f-cycle and bcgstab method, but it then said there was divergence in Y-Momentum, so i did the same for it, but then it said there was divergence in temperature, so i did the same for it, and the same for uds.

when i did that it just gave out this error:

Error: > (greater-than): invalid argument [2]: wrong type [not a number]
Error Object: 1.#qnan


Any ideas?
Please help me it took me much time to define source term,convection flux and boundary flux according to manual (no help from my supervisor )

Thanks
Try getting a flow field close to the physical field without the source terms first, after sufficient convergence switch on the source terms (keep all solver parameters to the default values)
Abhya is offline   Reply With Quote

Old   November 8, 2015, 10:52
Default
  #28
Member
 
Join Date: Nov 2014
Posts: 42
Rep Power: 11
Maryam-A is on a distinguished road
Thankyou for your advice
I tried it before, but no change

when I used default mass flow rate(as convection flux of uds equation), it ran without problem but as you know I wanted to investigate effect of Brownian and Thermophresis of particle,so I should use udf for convection flux of equation by particle's density and I think this causes all the problems about divergence

any idea?
help me plz

maryam
Maryam-A is offline   Reply With Quote

Old   November 14, 2015, 00:19
Default
  #29
Member
 
Join Date: Nov 2014
Posts: 42
Rep Power: 11
Maryam-A is on a distinguished road
I still cant solve divergence detected problem in -x momentum
I really dont know why and what part of my code causes this problem
please help me

maryam
Maryam-A is offline   Reply With Quote

Old   November 14, 2015, 00:43
Default
  #30
Member
 
Join Date: Nov 2014
Posts: 42
Rep Power: 11
Maryam-A is on a distinguished road
maybe mu-uds-flux-function leads to divergence, because I see problem as soon as active this part in uds panel.

this is:

DEFINE_UDS_FLUX(my_uds_flux,f,t,i)
{
cell_t c0, c1 = -1;
Thread *t0, *t1 = NULL;

real NV_VEC(psi_vec), NV_VEC(A), flux = 0.0;

c0 = F_C0(f,t);
t0 = F_C0_THREAD(f,t);
F_AREA(A, f, t);

/* If face lies at domain boundary, use face values; */
/* If face lies IN the domain, use average of adjacent cells. */

if (BOUNDARY_FACE_THREAD_P(t)) /*Most face values will be available*/
{

NV_DS(psi_vec, =, F_U(f,t), F_V(f,t),F_W(f,t), *, ro_p);

flux = NV_DOT(psi_vec, A); /* flux through Face */
}
else
{
c1 = F_C1(f,t); /* Get cell on other side of face */
t1 = F_C1_THREAD(f,t);

NV_DS(psi_vec, =, C_U(c0,t0),C_V(c0,t0),C_W(c0,t0),*,ro_p);
NV_DS(psi_vec, +=, C_U(c1,t1),C_V(c1,t1),C_W(c1,t1),*,ro_p);

flux = NV_DOT(psi_vec, A)/2.0; /* Average flux through face */

}

/* Fluent will multiply the returned value by phi_f (the scalar's
value at the face) to get the "complete'' advective term. */

return flux;
}

***********************************************
help me plz
Maryam-A is offline   Reply With Quote

Old   November 23, 2015, 15:41
Default
  #31
New Member
 
Farzaneh A
Join Date: Nov 2015
Posts: 3
Rep Power: 10
Farzaneh* is on a distinguished road
Hi everybody
I'm modeling the plume of an industrial stack with fluent, to find the concentration of SO2 in a special distance of stack, and there are 9 components that coming out from the stack.
the temperature of stack is 141 degree of centigrade and the ambient temperature is 15 degree.
when I define just SO2 for the outlet of stack, the solution will be converge. but when I inter all of components, at final it's diverged and I see these messages:
divergence of temperature
divergence of species-1
divergence of species-2

could you help me please? I think I make a mistake in the definition of mixture that comes out from the stack.

Farzaneh
Farzaneh* is offline   Reply With Quote

Old   August 21, 2019, 21:06
Default
  #32
New Member
 
bo wang
Join Date: Feb 2018
Posts: 2
Rep Power: 0
bo_5042 is on a distinguished road
Thanks, everyone. This thread really helped me. I'll describe my case for future readers.

I'm using ANSYS FLUENT 18.2 to develop a transient model for a reactive packed bed. The model diverges in the middle of the simulation without obvious fluctuation in any of the observed parameters. The error messages are:

Code:
# Divergence detected in AMG for mp-x-momentum: protective actions enabled!
# Divergence detected in AMG for mp-x-momentum, temporarily solve with BCGSTAB!
# Divergence detected in AMG for mp-y-momentum: protective actions enabled!
# Divergence detected in AMG for mp-y-momentum, temporarily solve with BCGSTAB!
# Divergence detected in AMG for mp-z-momentum: protective actions enabled!
# Divergence detected in AMG for mp-z-momentum, temporarily solve with BCGSTAB!

Divergence detected in AMG solver: pressure correction# Divergence detected in AMG for gas-species-0: protective actions enabled!
# Divergence detected in AMG for gas-species-0, temporarily solve with BCGSTAB!
I changed the cycle type of all species from the default "Flexible" to "F-cycle" in Advanced Solution Control. The BCGSTAB is used. The problem is solved.
bo_5042 is offline   Reply With Quote

Old   January 15, 2022, 10:39
Default
  #33
Member
 
Join Date: Apr 2020
Posts: 76
Rep Power: 6
mz_uon is on a distinguished road
Hey Depan

For how long did you run your simulation? Does anyone have any suggestions?
(Although this is quite an old post)

Quote:
Originally Posted by whtrs View Post
hi

I have ever meet this kind of problem。
At begining, I stop the calculation of all specie equations and energy euqation, after some iterations,turn on those equations。And no divergence detected anymore. good luck to you!

depan
mz_uon is offline   Reply With Quote

Old   February 15, 2023, 03:54
Default Divergence in AMG Solver
  #34
New Member
 
Amanpreet Singh
Join Date: Feb 2023
Posts: 4
Rep Power: 3
Amanpreet is on a distinguished road
Hello
i am facing the issue while simulating a model in icepak.
what i do to resolve this issue
1. Refine the mesh
2. Change the under relaxation setting.

Every time solution diverges and error shows "divergence detected in AMG solver: species-0 "
Please help to resolve this
Thanks
Amanpreet is offline   Reply With Quote

Old   February 15, 2023, 10:08
Default
  #35
Member
 
Join Date: Apr 2020
Posts: 76
Rep Power: 6
mz_uon is on a distinguished road
Quote:
Originally Posted by Amanpreet View Post
Hello
i am facing the issue while simulating a model in icepak.
what i do to resolve this issue
1. Refine the mesh
2. Change the under relaxation setting.

Every time solution diverges and error shows "divergence detected in AMG solver: species-0 "
Please help to resolve this
Thanks
Hello Amanpreet

See my earlier post. How I resolved this was by solving only a few equations and after some amount of simulation initiating other equations.
mz_uon is offline   Reply With Quote

Reply

Tags
amg solver, divergence


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
Divergence detected in AMG solver: pressure correction emlejeen FLUENT 5 December 14, 2016 23:47
species transport: amg divergence luke FLUENT 2 November 22, 2015 14:25
divergence detected in AMG solver !!! yansheng FLUENT 0 September 27, 2007 11:22
divergence detected in AMG solver:vof1 rashmi FLUENT 1 May 1, 2006 14:37
DIVERGENCE detected in AMG solver ENTHALPY MANOJKUMAR FLUENT 2 December 25, 2005 09:54


All times are GMT -4. The time now is 11:44.