Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have solved a PDE numerically using NDSolve, and I now need to be able to use that solution as an initial condition for another NDSolve. Is there a way of doing this?

share|improve this question
I really think so. – b.gatessucks Jan 31 '13 at 9:13
Yes, you can do that. What exactly is the issue you find? – user21 Jan 31 '13 at 10:03

How about this?

sol1 = NDSolve[{y'[t]==..., y[0]==...},y,{t,0,10}];

sol2 = NDSolve[{y'[t]==..., y[0]==(y[10]/.sol1)},y,{t,10,20}];
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.