How to solve a system of parabolic PDEs and 1st order ODEs?

1 回表示 (過去 30 日間)
Monisha S R
Monisha S R 2018 年 11 月 13 日
コメント済み: Bruno Luong 2018 年 11 月 16 日
I'm trying to solve a system of parabolic ODEs and first-order ODEs. I understand that Matlab's pdepe solver cannot solve 1st-order differential equations. How do I solve this sytem? I also tried solving the DAE system using a mass matrix, but encountered the following error:
Error in ode15s (line 310) [y,yp,f0,dfdy,nFE,nPD,Jfac] = daeic12(odeFcn,odeArgs,t,ICtype,Mt,y,yp0,f0,...
A sample set of equations is given below.
  12 件のコメント
Torsten
Torsten 2018 年 11 月 16 日
編集済み: Torsten 2018 年 11 月 16 日
c3 and c4 don't need boundary conditions.
Artificially setting pl=pr=0, ql=qr=1 in the boundary function of "pdepe" makes the equations tractable for the "pdepe" solver.
Bruno Luong
Bruno Luong 2018 年 11 月 16 日
Does that mean those bc will be ignored by PDEPE since there is no spatial eqts for c3 and c4?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeEigenvalue Problems についてさらに検索

製品


リリース

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by