2 dimentional partial differential equation
15 views (last 30 days)
Show older comments
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;
0 Comments
Answers (1)
Torsten
on 4 May 2016
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.
0 Comments
See Also
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!