Solving 1D advection equation
8 views (last 30 days)
Show older comments
I am trying to solve the following pde equation using pdepe
In addition to initial condition, is it required to specify boundary condition to solve the above equation using pdepe solver?
0 Comments
Answers (1)
Torsten
on 2 Sep 2019
pdepe is not suited to solve pdes without second-order spatial derivative.
You will have to discretize the above equation on your own and call ode15s to solve the resulting system of ordinary differential equations.
Look up "method-of-lines" for more details.
0 Comments
See Also
Categories
Find more on Boundary Conditions in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!