|
[Sponsors] |
April 3, 2018, 16:18 |
Slow convergence
|
#1 |
New Member
Daniel Gustavo Benvenutti
Join Date: Jun 2017
Posts: 5
Rep Power: 8 |
Hello Guys, I developed a code in fortran to solve the 2D lid-cavity problem using the FVM.
I used the SIMPLE algorithm with staggered grid and to solve the linear equations resuting from the momentum (x,y) and continuity, i used the Gauss-Seidel method. With a coarse refining, the results converge very quickly. However, when I refine the mesh (something like 150x150 volumes), the result continues to converge, but it takes soooo many iterations for the convergence of the system of equations from the continuity (to find p correction). It took almost 20 hours to finish the simulation. I used a residual of 1.10^-8 The results are close to expected (comparing with benchmark) Is this behavior normal? Or is something wrong? Thank you in advance. |
|
April 3, 2018, 16:44 |
|
#2 |
Senior Member
Join Date: Dec 2017
Posts: 153
Rep Power: 8 |
Hello,
Gauss-seidel has a very slow convergence comparered to krilov subspace solvers. Try a preconditioned conjugate gradient for the pressure-correction equation. It is straightforward to implement. |
|
April 3, 2018, 16:59 |
|
#3 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,773
Rep Power: 71 |
Quote:
First, the convergence velocity depends on the spectral radius of the matrix. The BC.s can change the structure of the matrix. I am not sure about what you are doing, you wrote "linear system", thus have you linearized the momentum equation? Finally, think to use the SOR with a proper acceleration factor. |
||
April 3, 2018, 19:45 |
|
#4 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,675
Rep Power: 66 |
Yes, slowness should be expected. You need an accelerator.
See also multigrid methods (i.e. algebraic multigrid and geoemtric multigrid). Slow convergence on finer grids is the price you pay for discretizing the gov. eqns. The short-wavelength errors converge quickly (cell to cell changes) but the long-wavelength ones don't (say from an interior cell to the boundary). When you make the grid finer, you make this convergence rate slower for the long wavelengths. |
|
April 13, 2018, 03:17 |
|
#5 | |
New Member
Daniel Gustavo Benvenutti
Join Date: Jun 2017
Posts: 5
Rep Power: 8 |
Quote:
Thanks for the answer. |
||
|
|
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 |
Slow convergence for Boundary Layer flow | Biga | Main CFD Forum | 2 | November 18, 2004 16:51 |
Slow convergence | Jesper | CFX | 1 | July 7, 2004 16:59 |