ceviche icon indicating copy to clipboard operation
ceviche copied to clipboard

Eigenmode sources for Hz polarization

Open ianwilliamson opened this issue 5 years ago • 5 comments

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.

ianwilliamson avatar Nov 11 '19 21:11 ianwilliamson

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!

rickyim avatar Apr 18 '20 12:04 rickyim

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.

twhughes avatar Apr 18 '20 15:04 twhughes

Thank you!@twhughes I get it fixed by changing the sigma as well as A.

rickyim avatar Apr 19 '20 01:04 rickyim

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 .

twhughes avatar Apr 19 '20 03:04 twhughes

We should implement Hz in the main codebase eventually

twhughes avatar Apr 22 '20 01:04 twhughes