MLMG failed for UserDefined EB #329
Replies: 2 comments 4 replies
-
This sort of thin EB surface will tend to cause problems for the multigrid linear solvers from AMReX used by PeleLMeX. If the geometry can't be coarsened because the body that must be resolved is too thin, the solvers will not work well. The simplest and best "fix" would be to adjust your computational domain to be flush with the nozzle exit plane of the burner, and thereby avoid the need for EB altogether, if you can do so. Otherwise, you can try some things to help the linear solvers along - better initial velocity field, more iterations, gradually build refinement, etc - but getting the solvers to converge for this case might be a struggle. There's an undocumented ability to interface with HYPRE to circumvent this, you can see |
Beta Was this translation helpful? Give feedback.
-
Hi @ZhaofanZhu - I have not encountered OOMs with hypre. Can you reduce the nodal_proj.hypre.num_krylov to 100? could help a bit. I also suggest looking at the settings in the EB_EnclosedFlame test in Exec which has slightly different hypre settings. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I am trying to simulate Sandia flame D. I am using the UserDefined EB option to specify the geometry. However, when running I encounter the same MLMG error encountered previously in these discussions. As recommended then and in the documentation, I have set the verbosity levels to three. The issue is still not clear to me and I am not sure what my next steps ought to be.
To begin, I have started with a 2D flow. I am sufficiently resolved in the coarse mesh to make sure the length of the coarse cells are around the same length as the width of the tubes in the flame D geometry. Here is my mesh:
I have changed the values of the tube width so that they align with the fine cells in hopes that it would solve this EB error. Here is the output of the code when running:
The solver fails to reach the default 1e-11 or the maximum recommended limit of 5e-10, which would indicate my problem is not properly set up. Where should I look to fix this issue?
Thank you in advance for your assistance.
Beta Was this translation helpful? Give feedback.
All reactions