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

Time permittivity monitor #1645

Open
alec-flexcompute opened this issue Apr 26, 2024 · 3 comments
Open

Time permittivity monitor #1645

alec-flexcompute opened this issue Apr 26, 2024 · 3 comments

Comments

@alec-flexcompute
Copy link
Collaborator

A permittivity monitor, just in the time domain instead of frequency domain. This should be useful now that our nonlinear capabilities are what they are.

@momchil-flex
Copy link
Collaborator

I am not sure this makes sense in general. Maybe for some type of nonlinearities? But generally permittivity is chi-1, and nonlinearities are higher-order-chi-s. I guess when there is no frequency mixing, an effective epsilon can be written, which is maybe what you have in mind?

@alec-flexcompute
Copy link
Collaborator Author

I'm mainly thinking about checking how a nonlinear material's permittivity would be different at different times

@tylerflex
Copy link
Collaborator

tylerflex commented Apr 29, 2024

Maybe one way to do this while still being rigorous could be to consider a method that returns the polarization of a medium as a function of FieldData or FieldTimeData?

image

https://en.wikipedia.org/wiki/Nonlinear_optics

class Medium(...):
    
     def polarization(field_data: FieldData | FieldTimeData) -> FieldData | FieldTimeData:
         """Compute polarization density of this medium when an electric field is present."""
         # compute all chi terms
         # construct field data with the polarization?

Then the user could add a FieldTimeMonitor to the simulation and call this method if they want to see the effect of the nonlinear medium?

@tylerflex tylerflex removed the feature label May 24, 2024
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