|
[Sponsors] |
Multigrid vs. non-stationary iterative solver |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 18, 2019, 12:36 |
Multigrid vs. non-stationary iterative solver
|
#1 |
Senior Member
Mehdi Babamehdi
Join Date: Jan 2011
Posts: 158
Rep Power: 15 |
As I know multigrid since its concept and the idea behind it can converge faster in comparison to stationary methods. I also ran some cases in openFoam in similar conditions, but the iterative solver changed (non-stationary and multigrid methods). to summarize
iterative solver & Time of execution (sec) Multigrid & 28118 PCG(GAMG) & 63881 PCG(DIC) & 86274 As you can see, multigrid almost 3 times faster than CG with DIC as preconditioner and 60% faster CG with multigrid as preconditioner. Now my question is if it can be generalized that multigrid is the fastest method in solving problem related to CFD Last edited by mb.pejvak; October 19, 2019 at 05:49. |
|
October 18, 2019, 17:45 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,763
Rep Power: 66 |
It is an okay generalization but there are limits.
Multigrid methods accelerate convergence when there is a scale disparity. This is easiest to appreciate when solving steady state problems on a very fine grid because the discretized system is very good at reducing small wavelength errors but not so good at reducing large wavelength errors. If you solve transient problems with a very small time-step (or analogously, use a steady solver with implicit under-relaxation with a very small under-relaxation factor), the large wavelength errors are not the ones stalling convergence anymore and there is not much benefit to acceleration. You also have to consider exactly which multigrid cycle is being implemented (V vs W vs VW vs WW, etc). A W or W+ cycle (as a hyperbole, consider a 24W cycle) can easily exceed the cost of simply doing another iteration. In other words, by stupidly using a multigrid method, you can also solve problems much slower. |
|
October 19, 2019, 03:56 |
|
#3 |
Senior Member
Mehdi Babamehdi
Join Date: Jan 2011
Posts: 158
Rep Power: 15 |
Thanks LuckyTran for the answer.
As I know, by Fourier analysis of error in iterative method (e.g. Jacobi), the maximum eigenvalue (corresponds to max frequency of error) for Jacobi method is So if there is wide range of spacial step size (h), it results in wide range of frequency (eigenvalue) in the error, and it may leads to stiff problem. in this case multigrid can be beneficial. But about the impact of temporal step size, how the eigenvalue of the matrix change by the combination of spacial and temporal step size. introducing any reference would be appreciated. |
|
Tags |
conjugate gradient, iterative methods, multigrid |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Doubts about using solver MPPIC to form stationary particle pile | fmpmorgado | OpenFOAM Running, Solving & CFD | 1 | August 11, 2023 08:50 |
[ANSYS Meshing] Help with element size | sandri_92 | ANSYS Meshing & Geometry | 14 | November 14, 2018 08:54 |
thobois class engineTopoChangerMesh error | Peter_600 | OpenFOAM | 4 | August 2, 2014 10:52 |
3d vof | Smaras | FLUENT | 2 | February 19, 2013 07:58 |
explicit CFD solver and multigrid | John Buckley | Main CFD Forum | 5 | March 8, 2000 06:00 |