CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Convergence

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By narendra.gadwal

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 7, 2012, 08:58
Default Convergence
  #1
New Member
 
Join Date: Mar 2011
Posts: 11
Rep Power: 15
gagi is on a distinguished road
hi this may sound crazy. im dealing with modifying an equipment so have simulate more than 50 models to determine the most suitable geometry. some get converged and some models do not converge. the non converged model residuals reach nearly 0.002 and then remain in that value (i was expecting to get a tolerance of 0.001). Since the residual value reamain in a constant value, can i consider them as converged and accurate? do i have to change the cell size and obtain a lesser tolerance value?
gagi is offline   Reply With Quote

Old   March 8, 2012, 06:53
Default
  #2
Member
 
Narendra Gadwal
Join Date: Jul 2010
Location: India
Posts: 35
Rep Power: 15
narendra.gadwal is on a distinguished road
Send a message via Yahoo to narendra.gadwal Send a message via Skype™ to narendra.gadwal
Instead of looking at residuals, better to monitor a quantity like mass flow rate or pressure at any point in the domain .. that would be more appropriate
Vorch likes this.
narendra.gadwal is offline   Reply With Quote

Old   March 8, 2012, 13:30
Default
  #3
New Member
 
Join Date: Mar 2011
Posts: 11
Rep Power: 15
gagi is on a distinguished road
thanx Naren. you mean monitored values at reference location? well the graphs of moniterd values(u,v,w momentum, presure and temperature) will simply become a straight line after some iterations. does that mean it accurate? or other wise do we have to verify those values experimentally?
gagi is offline   Reply With Quote

Old   March 8, 2012, 22:24
Default
  #4
Member
 
Narendra Gadwal
Join Date: Jul 2010
Location: India
Posts: 35
Rep Power: 15
narendra.gadwal is on a distinguished road
Send a message via Yahoo to narendra.gadwal Send a message via Skype™ to narendra.gadwal
If the curves become straight, (after running in second order also), we can say that the solution is converged and that is the final result.
As a second check check the mass balance also. It should be near to zero.
narendra.gadwal is offline   Reply With Quote

Old   March 13, 2012, 04:01
Default
  #5
Member
 
vicarious's Avatar
 
Pedram Mojtabavi
Join Date: Apr 2011
Location: Iran
Posts: 66
Rep Power: 15
vicarious is on a distinguished road
Send a message via Yahoo to vicarious
Hi,
If the residuals remian constant and don get close near the error u determined,then u are gonna have to refine your mesh, decrease the Y+ near walls or change the solver. If you are runing an unsteady simulation, then check the time step. high values of time steps could increas the CFL number and the residuals do not converge.
best,
vicarious is offline   Reply With Quote

Old   March 13, 2012, 16:12
Default
  #6
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,151
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
There can be several reasons for a simulation not converging. As you are dealing with an optimization (i really hope you are not doing this by hand), the most probable issue is that the configurations not converging are determining some criticalities like the grid getting "weird" or the fluid dynamics becoming intrinsically unstable (i'm assuming you are doing a steady analysis).

In the general case is also possible that you need to relax the solver during its trip to convergence.

However, i don't see the point in the difference between 1e-3 and 2e-3 in the residuals, they seem both high to me. As someone already did, i suggest you to check on the mass imbalance of your simulation. However, this is not conclusive. Visual inspection of the non converged solution could give additional details.

In the very ending, i think that non converged solution shouldn't be used in numerical optimization routines and this usually requires a modification on the limits for the design variables
sbaffini is offline   Reply With Quote

Old   March 14, 2012, 20:39
Default About convergence...
  #7
Senior Member
 
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,272
Rep Power: 34
arjun will become famous soon enougharjun will become famous soon enough
Last 2-3 days I have been trying to understand sources of errors on unstructured grids and how to improve their accuracy. Not that it is something new or done for first time but I wish to make my code more accurate and so it was natural to try this.

Second reason for looking into this was that I had problems with calculations with very large viscosity. When I say problems I do not mean that it diverges but it seems to be converging to a solution which is not right. This behavior was noticed in some of the meshes but not all of them.


So this is what I did. I took a pipe and created various grids on it. Same dimensions but various meshes of different size (few thousands to 1.6 million cells). Further tried all tetra, prisms and hexa meshes (with slight skew since it is pipe ).

For this pipe using power law I know theoretical solution. Note that viscosity varies from say 100 till 1E12 in this case. I put theoritical velocity and pressure on cell centers and apply discretization and seek the errors.

If someone to say that this solution is converged solution then there shall be no errors. After all this is theorical solution that is present on this grid cells. But it does not work quite this nice.

If there is some skew then there exists errors. That is Left hand side NOT EQUAL to right hand side after descretization. If meshes have all well behaved hexa cells then error is very very low.

The following are conclusions based on this excersize assuming that there exists some not so nice cells in mesh (which is usually the case):

1. If your solutions converged to machine precision ie 1E-20 or so then it is very likely to be not the correct solution.

Strange thing to say but you see when exact solution was descretised on that grid it showed errors so any solution that does not show those errors after discretization shall be other than the correct one.

2. If your solution converged to a state where there exists some errors and residual refuse to fall below certain values.

Then it could be better solution than type 1. This is because theoritical solution does show some errors that refuse to go away.
But it shall be noted that there is no guarantee of it to be the true solution.
arjun 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
Convergence Centurion2011 FLUENT 48 June 14, 2022 23:29
Force can not converge colopolo CFX 13 October 4, 2011 22:03
Convergence of CFX field in FSI analysis nasdak CFX 2 June 29, 2009 01:17
increasing mesh quality is leading to poor convergence tippo CFX 2 May 5, 2009 10:55
Defect correction and convergence ganesh Main CFD Forum 4 June 30, 2006 14:20


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