Ansys Learning Forum Forums Discuss Simulation Photonics mesh problem for charge Reply To: mesh problem for charge

kghaffari
Ansys Employee
Hello.
Like the message suggests the issue is most likely related to the mesh. I recommend:
First identifying the smallest feature sizes in your design. This could be the thickness of a thin layer, the step between two geometries, or a curved object. You can use the ruler in the UI to find the value (e.g. 5 nm).
Second, check your global mesh settings in the solver and any local mesh constraints to see if the specified values are small enough to resolve the smallest feature size. In the solver settings the minimum edge length is usually the most relevant setting.
If the values are set according to the previous steps, you can proceed to mesh the structure and then visualize the mesh to confirm the smaller features are actually meshed properly. In some cases the "max refine steps" need to be increased to allow for the mesh to get closer to the set "min edge length".
In many cases adjusting the mesh settings can resolve issues similar to what you have mentioned.