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

1 visualización (últimos 30 días)
Monisha S R
Monisha S R el 13 de Nov. de 2018
Comentada: Bruno Luong el 16 de Nov. de 2018
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 comentarios
Torsten
Torsten el 16 de Nov. de 2018
Editada: Torsten el 16 de Nov. de 2018
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 el 16 de Nov. de 2018
Does that mean those bc will be ignored by PDEPE since there is no spatial eqts for c3 and c4?

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Productos


Versión

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by