I am trying to use NDSolve
to solve numerically the well-known Schrödinger-Newton equation for a certain initial value of the wave function.
ClearAll[r, t, ψ, ϕ]
σ = 1
sol = NDSolve[{I*D[ψ[r, t], t] == -1/(2)*D[ψ[r, t], {r, 2}] + ψ[r, t]*ϕ[r, t], D[ϕ[r, t], {r, 2}] == σ*ψ[x,t]*ψ[x, t]\[Conjugate], ψ[r, 0] == (2/Pi)^(3/4)*Exp[-r^2], ψ[-100,t] == (2/Pi)^(3/4)*Exp[-100^2], ψ[100, t] == (2/Pi)^(3/4)*Exp[-100^2], ϕ[-100, t] == 0, ϕ[100, t] == 0, ϕ[r, 0] == 0}, ψ, {r, -100, 100}, {t, 0, 1}, Method -> Automatic]
Mathematica says 'NDSolve::delpde: Delay partial differential equations are not currently supported by NDSolve'. Do any of you know how to re-express the problem in order to get the solution?
ϕ[r, t]
, which is why Mathematica provides the warning, "Some of the functions have zero differential order, so the equations will be solved as a system of differential-algebraic equations." Please provide the equation toNDSolve
to see if this gives you an answer. $\endgroup$