Ansys Learning Forum Forums Discuss Simulation Photonics Comparison of EME and FDTD’s trnasmission Reply To: Comparison of EME and FDTD’s trnasmission

Guilin Sun
Ansys Employee

It is hard to define what amount of difference can be considered as the "same" result. When we use two different solvers, we know their sources of errors are different. In EME, it might be the number of groups, cells, and meshes; in FDTD, it can be mesh accuracy, PML and others. In terms of FDTD, the finer mesh can lead to better result, provided that the PML is thick enough to precent any reflection. 

In your FDTD file, I can see that the structure ended in front of PML, which is not commonly used. Usually we recommend that the structure is extended outside of PML. In addition, the default mesh accuracy 2 (and the 8 layer of PML) is to simulate the device with relatively fast yet reasonable result. It does not mean it is highly accurate. 

Please get more information regarding to converging tests:

https://optics.ansys.com/hc/en-us/articles/360034915833-Convergence-testing-process-for-FDTD-simulations

https://optics.ansys.com/hc/en-us/articles/360037172994-Convergence-testing-process-for-EME-simulations

Personally, I would not compare them. Instead, I will just use one solver and do convergencing test to make sure the result approaches its theoretical value. Comparing the result accuracy from two solvers needs significant efforts.