Coupled ODE to PDE with Method of lines

조회 수: 1 (최근 30일)
Moritz
Moritz 2013년 9월 23일
Dear all,
i do have a PDE which describes sedimentation. I do discretize it in space and end up with a system of ode´s. Fairly simple.
Now i use the same PDE (settling of particles) inside a syringe (no particles leave the syringe) and move the piston (pressure filtration). Therfore i do have a moving boundary at the piston. So i have to solve for the piston height too.
The system looks like
dh/dt=(height(n+1)-height(n))/dt
dy/dt= dh/dt*(something discretized) + h(n)/h(n+1)*(something discretized)
My question is if i can put dh/dt and dy/dt in a vector and treat it as a coupled system of ode´s ? Could someone give me a hint how to code that ?
E.g
i=1:N
dydt=dydt(N+1)*(something discretized) + ???*(something discretized)
i=N+1
dydt=myOdePistonheight
So if the height variable is part of my input array y0 how do i get h(n+1)/h(n)
Sincerly
Moritz
  댓글 수: 3
Moritz
Moritz 2013년 9월 23일
so dde23 could be an option ?
Moritz
Moritz 2013년 9월 24일
No one ?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by