Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Optimal parameters in a GMRES solver with GMG preconditioning

Please login with a confirmed email address before reporting spam

Hi,

I am solving a high-frequency 3D acoustic problem with millions of DOFs. Documentation suggests to use a GMRES solver with GMG as a preconditioner. However, it gives very little details on the parameters to select. The default COMSOL parameters do not seem to do a great job at solving my problem. Could someone having experience with GMRES solvers tell me what values to input for:

Number of iterations before restart:
Factor in error estimate:

Also, in the GMG preconditioner, I notice that when the number of iterations is too small (e.g. 2), the convergence rate is very slow and when the number of iterations is too large (e.g. 10), then COMSOL indicates that the problem is ill-conditioned. I usually select 5 iterations, a V-cycle, and 3 multigrid levels. Does it seem reasonable? Should I check or clear the "assemble on all levels" box? Could someone tell me how to tune this to have optimum preconditioning and so fastest convergence?

Thanks!

Marcel

0 Replies Last Post 12 apr 2013, 22:12 GMT-4
COMSOL Moderator

Hello Marcel Remillieux

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.