While studying concept of slab waveguide mode, I got stuck on some problems.
In textbook(Yariv chapter 3 pg 112), for guided TE modes it tells that the mode function
is taken as
which means that the y component of electric field's amplitude is determined by Em(x). And also, (3.1-8) is plotted like this.
But if I plot slab modes using with ansys lumerical, I got some different results.
These are mode profiles which I obtained from the simulation. And my question is come from this. In text book(Yariv), it tells that the spatial confinement is done along the slab thickness(d).
So, what I thought is that the mode profile should have peak along the y axis like figure 3.3(which is contrary to the simulation result). Also, the simulation result tells there are x dependence (simulation axis) but in yariv book I can not see those of it. Is there any reason why the simulation slab mode peak occurs along the x axis? Can somebody help me please?
(Sorry for different notations, yariv book -> x axis for slab thickness / simulation -> y axis for slab thickness)