Ansys Learning Forum › Forums › Discuss Simulation › Photonics › Required minimum mesh size for the simulation › Reply To: Required minimum mesh size for the simulation
I guess it is related to PML performance. When mesh size is changed, to have better result, the PML thickness (number of layers multiplied by mesh size in front of PML) should be approximately constant. That said you may need to check the PML thickness (you can use "ruler" in the left tool panel in GUI).Â
For a quick simulation, usually mesh accuracy 2 , minimum wavelength inside material divided by 10 is recommended. this is about 3/3.5/10~ 85nm. so for your device 50nm min mesh should be ok. Of course sometime the result is very senstiive to mesh size. If this is the case, you will need to do a convergence testing:
Convergence testing process for FDTD simulations
Again, when mesh size is changed, please change the number of PML layers to maintain about the same PML thickness.Â
Sometimes the conformal mesh may create issues so please use index monitor to check if there is anyhting abnormal.
I strongly suggest that you use the auto-non uniform mesh, and may use override mesh if necessary: /forum/forums/topic/ansys-insight-about-override-mesh-in-fdtd-its-use-and-settings/
Please also reduce the override mesh size when mesh accuracy increases to have a better converging test.Â
It is normal that the simulation will be slow when finer mesh is used, since the simulation time will be 16 times longer when the mesh is reduced to half of the previous mesh size.Â
Â