필터 지우기
필터 지우기

Solving a system of equtions with first an pde and the others first order odes

조회 수: 2 (최근 30일)
Now i have the same system but with the first equation be a PDE i would like to solve it pdepe solver and using ode45 1) R*dX/dt = -0.000038*X - (X*(X/Xinit)^frac)*rext -v*dX/dx + alpha*d^2X/dx^2 2) dY/dt = - 0.000038*Y + rext*X - rtra*Y + Sr. 3) dZ/dt = - 0.000038*Z + rext*Y - rtra*Z + Sti 4) dU/dt = 0.000038*U + rext*Z - rvol*U + Sfeu Satisfying Y(0)=Z(0)=U(0)=0 X(t,0)=0; dX/dx(t,x=L)=0; X(t=0,x)=Xinit Where the functions are X, Y,Z and U and the variables are x and t. The others parameters are known constant. If frac=0 i know how to.solve it with Laplace transform and then by an intégration over the space domaine i obtain X(t) and then the others functions (Y(t), Z(t), U(t)). Due toi the présence of frac i dont know how to solve it in MATLAB.

답변 (1개)

Torsten
Torsten 2023년 9월 20일
"pdepe" does not support pure ODEs together with a partial differential equation with 2nd order derivatives in space.
Use "pde1dM" instead:

카테고리

Help CenterFile Exchange에서 PDE Solvers에 대해 자세히 알아보기

태그

제품


릴리스

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by