2 dimentional partial differential equation
Afficher commentaires plus anciens
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;
Réponses (1)
Torsten
le 4 Mai 2016
0 votes
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.
Catégories
En savoir plus sur Ordinary Differential Equations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!