1D diffusion-reaction model across two-layered slab using pdepe
조회 수: 5 (최근 30일)
이전 댓글 표시
I have a diffusion-reaction model across a two-layered slab (see attachment). Two kind of problems arise when I solve with MATLAB:
1) In each layer, we have a coupling between an ODE and a PDE: How do you cope this with MATLAB? I use PDEPE to solve the system but the BC's for one variable are lacking. Any idea?
2) Because of the interface conditions, the solution may be not continuous in the whole domain, so I believe I cannot solve in one domain with PDEPE. An idea is to solve in two separate domains with PDEPE in an iterative way, imposing conditions coming from the other domain. What do you think?
댓글 수: 0
채택된 답변
Bill Greene
2014년 9월 28일
I am doubtful that pdepe can be used to solve this system.
I suggest using finite differences to discretize in the spatial direction and then use ode15s to solve the resulting system of ODE.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Eigenvalue Problems에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!