pdepe function without right boundary conditon
이전 댓글 표시
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
Torsten
2017년 2월 16일
pdepe is designed to solve parabolic-elliptic PDEs (that's what the "pe" at the end of the name "pdepe" stands for).
Your PDE is hyperbolic in nature. That means that pdepe is not suited to solve it.
Best wishes
Torsten.
Hossein Sahhaf
2017년 2월 16일
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.
Hossein Sahhaf
2017년 2월 16일
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Eigenvalue Problems에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!