Replies: 2 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
|
Sorry for the late reply! For the case that you showed (soliton): my guess is that what you are observing might be related to the exact initialization of the simulation:
Do you have an analytical expression for the velocity of the electrons as a function of Regarding the second case ("plane wave"): thanks for your efforts in providing a simpler example that reproduces the issue. However, I am not sure that this example is representative, as it does not quite correspond to a plane wave, since the |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
I am performing a nonlinear Schrödinger equation (NLSE) soliton simulation using WarpX. Initially, the numerical solution closely follows the theoretical prediction, but as time progresses, the discrepancy between the two grows. Eventually, the soliton shape begins to distort significantly. To address this, I have tried grid resolution,CFL and boundary_conditions. However, in all cases, the deviation still accumulates over time, and the soliton structure eventually deforms. I suspect that numerical dispersion or boundary effects may be influencing the simulation.
What could be the primary cause of this increasing discrepancy? Any insights or suggestions would be greatly appreciated!
Below are my input file settings and comparison plots of the numerical vs. theoretical results:
Beta Was this translation helpful? Give feedback.
All reactions