pdepe function without right boundary conditon

1 view (last 30 days)
Hello
I have a first order PDE (u_t = a*u_x or advection equation) and for solving, it doesn't need boundary condition at right. but in pdepe function I should enter boundary condition at right (end of the stream). How could I ignore right b.c in pdepe?
  4 Comments
Torsten
Torsten on 16 Feb 2017
Edited: Torsten on 16 Feb 2017
Try
Or discretize your simple equation in space and use ODE15S to solve the resulting system of ordinary equations in time (method-of-lines approach).
Best wishes
Torsten.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!