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

divergance detected in amg solver-coupled

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 17, 2016, 03:39
Default problem with turbulent model- divergence in amg solver
  #1
New Member
 
arshia
Join Date: Feb 2016
Posts: 18
Rep Power: 10
hamed1987 is on a distinguished road
hi all,
i'm tring to simulate a moving object in a pipe by patching a high pressure and tempreture zone behind the object,
i used a six dof udf for moving object by dynamic mesh scheme ,
i solved this by using fluent 6.3.26 and it work well without any problem
but when i'm tring to use ansys fluent 15 , it diverge at the first time step
with inviscid model it works well on fluent 6.3.26 and fluent 15
viscous model : k-e standard
density based
transient - time step:1e-6
all of the setup are the same
so thanks to help me
after one time step this error apears:
divergance detected in amg solver-coupled- coursening group size
divergance detected in amg solver-coupled- increasing relaxation sweep

i tried to decrease relaxation factor and courant number to 1 but it didn't help
also i tried to fine the mesh but it didn't affected the problem

Last edited by hamed1987; February 17, 2016 at 06:21.
hamed1987 is offline   Reply With Quote

Old   February 17, 2016, 10:50
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,752
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
After patching, did you iterate a few times before proceeding to the next time-step? It's important to do a few iterations after patching so that the solution field is updated and consistent with the current state.
LuckyTran is offline   Reply With Quote

Old   February 17, 2016, 11:40
Default
  #3
New Member
 
arshia
Join Date: Feb 2016
Posts: 18
Rep Power: 10
hamed1987 is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
After patching, did you iterate a few times before proceeding to the next time-step? It's important to do a few iterations after patching so that the solution field is updated and consistent with the current state.
thank a lot lucky for your response
after patching the temp and press
i set the time step to 1e-6
and iretation per time step 20
so we have 20 iteration in each time step and so the first time step

and after these 20 iteration for first time step it diverges.
hamed1987 is offline   Reply With Quote

Old   February 17, 2016, 11:44
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,752
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Quote:
Originally Posted by hamed1987 View Post
thank a lot lucky for your response
after patching the temp and press
i set the time step to 1e-6
and iretation per time step 20
so we have 20 iteration in each time step and so the first time step

and after these 20 iteration for first time step it diverges.
You need to enter solve iterate 20 into the TUI in order to iterate without time-stepping
If you simply patch and then press the calculate, it will go to the next time-step and not iterate on the patched fields.

You will go into the next time-step with uniform fields from the previous time-step, which may be "inconsistent"
LuckyTran is offline   Reply With Quote

Old   February 17, 2016, 12:15
Default
  #5
New Member
 
arshia
Join Date: Feb 2016
Posts: 18
Rep Power: 10
hamed1987 is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
You need to enter solve iterate 20 into the TUI in order to iterate without time-stepping
If you simply patch and then press the calculate, it will go to the next time-step and not iterate on the patched fields.

You will go into the next time-step with uniform fields from the previous time-step, which may be "inconsistent"
dear lucky
i tried to solve the problem for some time step with inviscid method without any dynamic mesh( dynamic mesh was off) and then i switched the method to k-e standard and the dynamic mesh on
but it didn't work
so is it diffrent with the method you say??
how can i iterate into the TUI??
thanks a lot
hamed1987 is offline   Reply With Quote

Old   February 17, 2016, 12:56
Default
  #6
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,752
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Ok you did several things that all resulted in the same problem. In a transient simulation, after you make any changes you should always do some iterations before proceeding to the next time-step.

When you switch from inviscid to a turbulence model in a transient simulation, the turbulence fields are empty and not initialized. If you press the calculate button, then it will go to the next time-step but it won't have any turbulence on the old field to solve with.

You should feeze all current fields and iterate only the turbulence fields if you want to ensure that no other fields are affected.

Quote:
Originally Posted by hamed1987 View Post
dear lucky
i tried to solve the problem for some time step with inviscid method without any dynamic mesh( dynamic mesh was off) and then i switched the method to k-e standard and the dynamic mesh on
but it didn't work
so is it diffrent with the method you say??
how can i iterate into the TUI??
thanks a lot
TUI (text-user-interface)

just type this in and press enter
solve iterate 20
LuckyTran is offline   Reply With Quote

Old   February 21, 2016, 07:00
Default
  #7
New Member
 
arshia
Join Date: Feb 2016
Posts: 18
Rep Power: 10
hamed1987 is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
Ok you did several things that all resulted in the same problem. In a transient simulation, after you make any changes you should always do some iterations before proceeding to the next time-step.

When you switch from inviscid to a turbulence model in a transient simulation, the turbulence fields are empty and not initialized. If you press the calculate button, then it will go to the next time-step but it won't have any turbulence on the old field to solve with.

You should feeze all current fields and iterate only the turbulence fields if you want to ensure that no other fields are affected.



TUI (text-user-interface)

just type this in and press enter
solve iterate 20
dear lucky
i did what you do,
after patching pressure and tempreture i typed solve iterate 20,
residuals was reach :
continuty e-18
x-vel e-12
y-vel e-12
energy e-19
k e-16
epsilon e-16
after that i run the calculation by time step size e-6,
it didnt diverge but i have a new problem ,
the residuals of continuty and x-vel and y-vel and energy goes to be constant at these values (like the picture)Untitled.jpg
and the object didn't move until now (after 1000 time step)
hamed1987 is offline   Reply With Quote

Old   February 21, 2016, 14:19
Default
  #8
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,752
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
It looks like your simulation is working.

It looks like you have stationary boundary conditions (constant pressure outlets and some sort of constant inlet) and probably also constant properties. After an initial short transient your velocity and turbulence are stationary and hence the residuals stay constant (because the velocities and turbulence do not change at all).

It will take time for your patched temperature to convect downstream into your domain. You should have a good feel for this. If your time-step is very small then it will take many time-steps for the new inlet conditions to arrive in the domain.

This is probably unrelated to your problem, but I forgot to mention that you should not switch models (from inviscid to turbulent) in the middle of a transient simulation. You may get the wrong physics because your initial state is inviscid and suddenly you activate a turbulence model so the flow evolves from inviscid and transitions (temporally) into a turbulent flow. Unless this is what you are trying to simulate...
LuckyTran is offline   Reply With Quote

Old   February 21, 2016, 14:59
Default
  #9
New Member
 
arshia
Join Date: Feb 2016
Posts: 18
Rep Power: 10
hamed1987 is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
It looks like your simulation is working.

It looks like you have stationary boundary conditions (constant pressure outlets and some sort of constant inlet) and probably also constant properties. After an initial short transient your velocity and turbulence are stationary and hence the residuals stay constant (because the velocities and turbulence do not change at all).

It will take time for your patched temperature to convect downstream into your domain. You should have a good feel for this. If your time-step is very small then it will take many time-steps for the new inlet conditions to arrive in the domain.

This is probably unrelated to your problem, but I forgot to mention that you should not switch models (from inviscid to turbulent) in the middle of a transient simulation. You may get the wrong physics because your initial state is inviscid and suddenly you activate a turbulence model so the flow evolves from inviscid and transitions (temporally) into a turbulent flow. Unless this is what you are trying to simulate...
sorry lucky ,
i did'nt understand completly what you say
when i calculate my problem with turbulent model in fluent 6.3.26 or inviscid model, the object move from the first time step because we have high pressure(350e6) and high tempreture (3000) and the object weight is 0.4 ,
so there is a high force behind the object that it must move at the first time step
but when i tried to do what you said( tui iterations)
after that i calculate it dosent move after 0.001s
after 0.001s it must reach the middle of the barrel
i have two stationary in mesh zone
hamed1987 is offline   Reply With Quote

Old   February 22, 2016, 06:18
Default
  #10
New Member
 
arshia
Join Date: Feb 2016
Posts: 18
Rep Power: 10
hamed1987 is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
It looks like your simulation is working.

It looks like you have stationary boundary conditions (constant pressure outlets and some sort of constant inlet) and probably also constant properties. After an initial short transient your velocity and turbulence are stationary and hence the residuals stay constant (because the velocities and turbulence do not change at all).

It will take time for your patched temperature to convect downstream into your domain. You should have a good feel for this. If your time-step is very small then it will take many time-steps for the new inlet conditions to arrive in the domain.

This is probably unrelated to your problem, but I forgot to mention that you should not switch models (from inviscid to turbulent) in the middle of a transient simulation. You may get the wrong physics because your initial state is inviscid and suddenly you activate a turbulence model so the flow evolves from inviscid and transitions (temporally) into a turbulent flow. Unless this is what you are trying to simulate...
dear lucky
i continued the simulation but the object didn't move at all.
hamed1987 is offline   Reply With Quote

Old   February 24, 2016, 15:24
Default
  #11
New Member
 
arshia
Join Date: Feb 2016
Posts: 18
Rep Power: 10
hamed1987 is on a distinguished road
Hi
eny comment?
hamed1987 is offline   Reply With Quote

Reply

Tags
divergence amg solver, dynamic mesh, turbulence analysis


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 & FMG solver..... devesh.baghel FLUENT 2 July 30, 2018 23:39
Error: Divergence detected in AMG solver: pressure correction wanna88 FLUENT 19 April 6, 2016 03:57
Divergence detected in AMG solver: pressure correction xinquanzhoucn FLUENT 5 July 21, 2014 05:49
Error: Divergence detected in AMG solver: x-momentum/ epsilon/ temperature bubuchacha FLUENT 6 February 26, 2013 04:30
Divergence problem Smaras FLUENT 13 February 21, 2013 06:03


All times are GMT -4. The time now is 19:36.