How to improve AMS's performance for highly non-uniform grid #4753
Replies: 4 comments 9 replies
-
|
Hi Adam, Small conductivity shouldn't affect AMS much (unless it is exactly zero). The issue is likely the anisotropic elements, which are challenging for the underlying AMG solvers. You can try changing some parameters in HypreAMS::MakeSolver to see if this will help: set Hope this helps, |
Beta Was this translation helpful? Give feedback.
-
|
Hi @tzanio , I now have a problem with the' highly local irregular interface of two materials. The contrast of the beta coefficients is huge. I observed a significant decline in efficiency. How should I adjust the solver parameter? |
Beta Was this translation helpful? Give feedback.
-
|
What is the range of values for beta? |
Beta Was this translation helpful? Give feedback.
-
|
Hi @adam-sim-dev, That jump by itself doesn't seem to large, so something else must be going on. What is different about this simulation that the other ones that worked? Does AMS behave significantly better if e.g. the jumps are reduced? Does it have a long tunnel or twisted wire (those can lead to additional near-nulspace components)? In principle you can obtain the hypre AMS solver object and call hypre functions on it if you want. If you can modify your copy of MFEM, it should not be hard to add more parameters in the constructor or through additional Setup functions. Before we do that in Hope this helps, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am solving complex Maxwell's equations with AMS, similar to ex22. Part of the domain's conductivity is very small, e.g., 1.0e-10, and I use a highly non-uniform grid. The scale in the outer part of the grid may be several thousands of that in the core domain. I observed AMS's poor performance for PCG (it did not reach a tolerance of 1.0e-2 after 100 iterations). Do you have any ideas on how I can improve AMS's performance by changing its default parameters? Or is this caused by the small conductivity value in the modeling domain?
Best,
Adam
Beta Was this translation helpful? Give feedback.
All reactions