Ansys Learning Forum › Forums › Discuss Simulation › Photonics › The issue of how to set the number of cells in EME solver › Reply To: The issue of how to set the number of cells in EME solver
Hello, thanks for your question.Â
The minimum number of cells depends on how complex or quickly changing your geometry is, and what is an acceptable level of error in your simulation. The best way to determine the minimum number of cells is to do convergence testing. That is, run the simulation for an increasing number of cells, and you should see the result settles to a particular value as the number of cells is increased. If increasing the number of cells does not cause more stable results, then perhaps there is a different issue that needs to be investigated. Please see this page for a more detailed explanation of convergence testing: Convergence testing process for EME simulations – Ansys Optics
If you have not already viewed it, I also recommend checking out this example as a starting point for waveguide tapers with the EME solver: Linear waveguide taper – Ansys Optics. In this example, 19 cells are used for the tapered region, so that may be a good starting point. The EME sweep results should be accurate if the number of cells is large enough due to the use of continuously varying cross-sectional subcell (CVCS) method (explained here: MODE - EigenMode Expansion (EME) solver introduction – Ansys Optics). Â
I hope these resources are helpful, and please reply back if you have further questions.Â
Â