Solving 1D advection equation

조회 수: 13 (최근 30일)
Deepa Maheshvare
Deepa Maheshvare 2019년 8월 31일
답변: Torsten 2019년 9월 2일
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?

답변 (1개)

Torsten
Torsten 2019년 9월 2일
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.

카테고리

Help CenterFile Exchange에서 Boundary Conditions에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by