MATLAB Answers

Solving 1D advection equation

Deepa Maheshvare 님이 질문을 제출함. 31 Aug 2019
최근 활동 Torsten 님이 답변함. 2 Sep 2019
I am trying to solve the following pde equation using pdepe
Untitled.png
In addition to initial condition, is it required to specify boundary condition to solve the above equation using pdepe solver?

  댓글 수: 0

로그인 to comment.

태그

제품

답변 수: 1

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

로그인 to comment.



Translated by