Guilin Sun
Ansys Employee

You should try to inverse design in 3D, since 2D means infinitely long in 3rd dimension whereas the actual device has very small 3rd dimension size. You can use the 2D result as a starting point.