You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use BoomerAMG as a preconditioner to GMRES to solve the linear system resulting from compressible 2D flow. There are 4 unknowns (density, velocity x, velocity y, and energy), so the matrix is a 4x4 block matrix. I did use the following functions:
However, I get bad convergence or no convergence at all (depending on how low I set HYPRE_BoomerAMGSetRelaxWt), while the regular Jacobi relaxation function that I wrote does converge. I suspect that the relaxation type set by the function HYPRE_BoomerAMGSetRelaxType does not use a 'block' relaxation method, with a small 4x4 dense matrix inversion. Is that true? If so, can I do something about it to get good convergence? Is there something that I'm missing?
I also tried HYPRE_BoomerAMGSetInterpType(precond, 10), but it doesn't work for some reason. It allocates all the memory on my computer and then crashes.
Thanks in advance,
Sahar
The text was updated successfully, but these errors were encountered:
Hello,
I'm trying to use BoomerAMG as a preconditioner to GMRES to solve the linear system resulting from compressible 2D flow. There are 4 unknowns (density, velocity x, velocity y, and energy), so the matrix is a 4x4 block matrix. I did use the following functions:
HYPRE_BoomerAMGSetNumFunctions(precond, 4);
HYPRE_BoomerAMGSetDofFunc(recond, dof_func);
HYPRE_BoomerAMGSetNodal(precond, 1);
However, I get bad convergence or no convergence at all (depending on how low I set HYPRE_BoomerAMGSetRelaxWt), while the regular Jacobi relaxation function that I wrote does converge. I suspect that the relaxation type set by the function HYPRE_BoomerAMGSetRelaxType does not use a 'block' relaxation method, with a small 4x4 dense matrix inversion. Is that true? If so, can I do something about it to get good convergence? Is there something that I'm missing?
I also tried HYPRE_BoomerAMGSetInterpType(precond, 10), but it doesn't work for some reason. It allocates all the memory on my computer and then crashes.
Thanks in advance,
Sahar
The text was updated successfully, but these errors were encountered: