Replies: 2 comments 10 replies
-
The default in IAMR is geometric multigrid with BiCGStab as the bottom solver. To change the bottom solver, for example to conjugate gradient, use Note that each linear solve is it's own thing, so the nodal projection is set separately from the MAC projection, which is separate from the diffusive/viscous solve. For the projections, you can change the bottom solver with the inputs file using, e.g., |
Beta Was this translation helpful? Give feedback.
-
Could you try AMReX-Codes/amrex#4271 to see if GMRES can help? If you notice any issues, let us know. |
Beta Was this translation helpful? Give feedback.
-
I am currently working on some channel-like flow problem and noticed that if I use the default MLMG solver the norm of residual will grow gradually and the computation will blowup eventually. I solved the problem and created a demo by modifying a test problem in AMREX/Tests/LinearSolvers/CellEB/ and solved the Laplacian problem using gmres.solve() rather than mlmg.solve(). The gmres.solve() actually calls the mlmg as a preconditioner.
But my problem is the modification only works for single level MF data and it won't work for AMR mesh. Since it is quite common that people use Multigrid preconditioned CG/BiCGStab methods to solve flow problems, I would like to know if there are supports for such solvers?
The following is the code snippet I used in my problem:
Beta Was this translation helpful? Give feedback.
All reactions