matlab pdepe boundary conditions help

1 view (last 30 days)
XoXo
XoXo on 11 Sep 2018
Commented: XoXo on 15 Sep 2018
I have no idea how to explain matlab the initial-boundary conditions. Someone please help me to solve coupled system of equations. Equations are attached in pdf file.
  1 Comment
XoXo
XoXo on 15 Sep 2018
Dear Torsten, Thanks for reply. I have solved the system of equations withoutflux term in pdepe. The solution is matching with another method i have used. I am thinking i should be careful to explain the matlab about flux and boundary conditions. Could you please suggest how to discretize the system of equations to use ode15s.

Sign in to comment.

Answers (1)

Torsten
Torsten on 11 Sep 2018
"pdepe" is a solver for parabolic/elliptic partial differential equations of 2nd order. Your equations are hyperbolic equations of 1st order. Thus pdepe is not suited to solve your system.
You will have to discretize your equations in space and solve the resulting set of ordinary differential equations using ODE15S.
Best wishes
Torsten.

Community Treasure Hunt

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

Start Hunting!