ceviche
ceviche copied to clipboard
Eigenmode sources for Hz polarization
Currently get_modes()
and insert_modes()
only support the Ez polarization. The calculation should be extended with a user toggle to select either the Hz or the Ez polarization.
Hi, @ianwilliamson @twhughes I implemented a very rough hz waveguide mode calculation (https://github.com/rickyim/ceviche/blob/master/tmps/hz_mode_test.py). But the resulting mode profile does not evanescently decay in the low index medium as expected. It would be of great help if you could point out what might be wrong with the code.
Thanks in advance!
There are many eigenmodes of the system, most of those will be non-physical. So it takes some effort to find the guided modes you're looking for. The sigma
parameter in the eignevalue solver represents a guess for the eigenvalue so the solver can look around there. Rather than sigma=1, you might want to set this closer to the refractive index of the core region, because typically the guided modes have eigenvalues around that.
Thank you!@twhughes I get it fixed by changing the sigma
as well as A
.
Unitless. As in your code
On Sat, Apr 18, 2020, 9:24 PM Rickyim [email protected] wrote:
Thank you!@twhughes https://github.com/twhughes When you say the sigma parameter should be around the core index, what is the scale of the matrix A ?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fancompute/ceviche/issues/14#issuecomment-616001252, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLIFNKVBECHVZVGWVDRBFLRNJHEJANCNFSM4JL25Y7A .
We should implement Hz in the main codebase eventually