2 dimentional partial differential equation

14 ビュー (過去 30 日間)
Gnan Liu
Gnan Liu 2016 年 5 月 4 日
回答済み: Torsten 2016 年 5 月 4 日
I have a partial differential equations set to solve, but its involve dc/dx and dc/dt, so I dont know how to solve this problem. c is the function of x and t. All the variables are known.
Can anyone help me?
equation 1 'dy(t)/dt*V=Q*C-Q.y(t)-D*As*dc(x=L,t)/dx-Ai*dq(t)/dt' equation 2 'dc(x,t)/dt=-D*d^2c(x,t)/dx^2' equation 3 'dq(t)/dt=h*(y(t)-qks)'
boundary condition 1 dc(x,t)/dx=0; t>0,x=0; boundary condition 1 -D*dc(x,t)/dx=h*(y(t)-c(x,t)/ksp); t>0,x=L;

回答 (1 件)

Torsten
Torsten 2016 年 5 月 4 日
Discretize the spatial derivatives and solve the resulting system of ordinary differential equations in the t-variable using ODE15S.
Look up "Method-of-Lines" for more details.
Best wishes
Torsten.

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by