MathGroup Archive 1997

[Date Index] [Thread Index] [Author Index]

Search the Archive

nonlinear schrodinger PDF


 Hi, there, when I try to solve the below eq using NDSolve, I met the below
situation, I am novice to numerical PDF, is anybody can help to make it 
work?
 
  NDSolve[{1/2 D[y[x, t], t, t]+Abs[y[x,t]]^2 y[x,t] ==I D[y[x, t], x, x],
    y[x, 0] == Exp[-x^2], Derivative[0,1][y][x, 0] == 0,
       y[-5, t] == y[5, t]}, y, {x, -5, 5}, {t, 0, 5}]
NDSolve::"mxst": 
    "Maximum number of \!\(1000\) steps reached at the point \!\(t\) == \
\!\(3.93328131362742325`\)."
NDSolve::"eerr": 
    "Warning: Estimated spatial error at \!\(t\) = 
\!\(3.93328131362742325`\) \
is much greater than prescribed error tolerance.  Grid spacing \
\!\(\*StyleBox[\"0.175438596491228064`\", Rule[PrintPrecision, 16], \
Rule[StyleBoxAutoDelete, True]]\) which was based on the initial 
conditions \
may be too large.  A singularity may have formed or you may want to 
specify a \
smaller grid spacing using the StartingStepSize option."
Out of memory.  Exiting.


  • Prev by Date: Re: a simple question
  • Next by Date: Re: Is Mathematica on a PC Too Slow?
  • Previous by thread: OPTICA
  • Next by thread: scaling 3D axes?