-
Hi, I want to load a wave across the domain at t=0 only and then let the wave self-consistently evolve according to the field solver at t>0. I tried using ExternalField for this purpose, but it looks like that this module only accepts spatial wave profile not space time profile. A spatial profile corresponds to a static background field, not exactly what I wanted. Any suggestions? Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
Z10Frank
Mar 6, 2025
Replies: 1 comment 3 replies
-
The ExternalField is really an initial field so it should be good for your situation |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
An External Field should evolve physically if the E and B fields are self-consistently initialised at t=0 (remember that the B is shifted in time).
I used this method to initialise a laser pulse directly in the window, although the result is never perfect due to the discretisation of the equations.
This works only if there are no sources for those fields, i.e. their divergence is zero.