MATLAB Answers

Solving 1D advection equation

조회 수: 20(최근 30일)
Deepa Maheshvare
Deepa Maheshvare 31 Aug 2019
답변: Torsten 2 Sep 2019
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

댓글을 달려면 로그인하십시오.


Torsten 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

댓글을 달려면 로그인하십시오.



Community Treasure Hunt

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

Start Hunting!

Translated by