-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Eigenmode Simulation using Gmsh Mesh File is not Converging #285
Comments
Hi @DavidSomm, I just attempted to recreate this issue on the current tip of
and the linear solver starts from a reasonable value:
The version of Palace you're using (0.11) is pretty old at this stage, and there have been many bug fixes since then, both within Palace and the dependencies, in particular MFEM is a very fast moving target for fixes. It is plausible that you are running into one that has already been fixed. I would suggest that you update to a newer Palace build and then see if your issue remains. |
@hughcars I managed to figure out the issue with the build. I could post what I did to solve the issue, but I think maybe the problem is specific to my university's HPC and may not be helpful for others. Happy to write it up in any case if you think it's a good idea. |
Glad to hear, feel free to post, you never know when someone might be googling for something that matches up with it. |
@hughcars
First off, just wanted to say thanks for the great work you guys are doing with PALACE!
I am running an eigenmode simulation of a coplanar waveguide (cpw) resonator capacitively coupled to a feed line. I've posted an image of the design generated in gmsh below.
I have used gmsh to create the mesh but am unable to accurately find the resonant frequency of the cpw resonator by increasing the solver order, or by increasing the mesh refinement level. Currently, I can run the simulation with a solver order of 1 with zero mesh refinement and PALACE will return a resonant frequency (7.26GHz), but it’s quite a bit off what it should be (~8.06GHz). However, when I try to improve the accuracy of the simulation by increasing the solver order or the level of mesh refinement the solver no longer converges to the set tolerance (1e-8).
I have used COMSOL to create the exact same geometry and then created a .mphbin mesh file to use with PALACE and did not have any issues getting accurate eigenmode simulations with solver order 2 (using the same config file as for the gmsh mesh).
I believe there may be an issue with the gmsh mesh file but cannot figure out why I can't get the simulation converging for solver orders greater than 1. However, I did notice that in the output file of the simulation that when I increase the solver order, the initial residual norm is quite large, say 9e+13, compared to 1e+0 for a solver order of 1. Consequently, the residual norm doesn't seem to approach the tolerance level (1e-8).
For your reference, I have attached the gmsh file in a txt file (could not upload the .msh file), the config json file and the output file for the eigenmode simulation. I am running PALACE v0.11.1-27-g1631367.
Any help/guidance you could provide would be really appreciated.
Mesh File
GMSH_eigen_test_NEW.txt
Config File
GMSH_eigen_test_NEW.json
Output File
solver_order_2.txt
The text was updated successfully, but these errors were encountered: