Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eigenmode sources for Hz polarization #14

Open
ianwilliamson opened this issue Nov 11, 2019 · 5 comments
Open

Eigenmode sources for Hz polarization #14

ianwilliamson opened this issue Nov 11, 2019 · 5 comments

Comments

@ianwilliamson
Copy link
Collaborator

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.

@rickyim
Copy link

rickyim commented Apr 18, 2020

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!

@twhughes
Copy link
Member

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.

@rickyim
Copy link

rickyim commented Apr 19, 2020

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

@twhughes
Copy link
Member

twhughes commented Apr 19, 2020 via email

@twhughes
Copy link
Member

twhughes commented Apr 22, 2020

We should implement Hz in the main codebase eventually

@twhughes twhughes reopened this Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants