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

How to generate a plane wave that is constant in time #2942

Closed
hfdihfd opened this issue Dec 1, 2024 · 2 comments
Closed

How to generate a plane wave that is constant in time #2942

hfdihfd opened this issue Dec 1, 2024 · 2 comments

Comments

@hfdihfd
Copy link

hfdihfd commented Dec 1, 2024

I understand that this generates a time-harmonic plane wave whose time dependence is $e^i\omega t$.

sources = [mp.Source(mp.ContinuousSource(frequency=frequency, is_integrated=True),
        component = mp.Ex,
        center=sourceLocation,
        size=sourceSize
        )]

Such a plane wave oscillates in time. I wonder if it is possible to generate a plane wave that is constant in time. That is, it can be expressed as a beam of light like the following:
image

@theogdoctorg
Copy link
Contributor

Hello Hfdihfd, please forgive me if I am mis-understanding your question, but your statement seems unphysical ("a plane wave that is constant in time.") A time-invariant E- or M-field is by definition not a wave and becomes a statics problem, which would be more suited to a finite-element method (FEM) simulation approach rather than FDTD such as MEEP.
It may help for future requests if you are able to label your plots with axes (distance?) and a color legend. If the plot is showing a 2d plane with the color field intensity, it seems like you may be looking for a collimated beam, such as would be produced by a GaussianBeam source?
Admins, suggest marking issue as closed or remove.

@stevengj
Copy link
Collaborator

Yes, I agree that the question doesn't make sense.

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