Nonlinear Schrodinger equation #85
GenB31415
started this conversation in
Show and tell
Replies: 2 comments 3 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
-
Hi Elliotepsteino
The required code is attached. It corresponds to the soliton dynamics for NSchEq in a double-well potential V(x).
In line 32 parameter g = 5 can be variated: g=5>0 is a soliton state, g=-5<0 is a decaying state.Other parameters of the potential can be variated as well.
Regards On Sunday, April 3, 2022, 11:18:50 PM CDT, Elliotepsteino ***@***.***> wrote:
Can you please post the code used to solve the nonlinear schrödinger equation?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I used the py-pde package (author David Zwicker) to numerically investigate the dynamics of solutions (solitonic and decaying) to the nonlinear 1D Schrödinger equation (NSE). As the base schema I started from the pde_schroedinger.py that is extended by including the non-linear part, see en.wikipedia.org/wiki/Nonlinear_Schrodinger_equation. The attached files correctly describe the expected dynamic.
Beta Was this translation helpful? Give feedback.
All reactions