Info

This question is closed. Reopen it to edit or answer.

Is it possible to apply pdepe for a system of two diffusion equations - if d(u2)/dx = 0

1 view (last 30 days)
The question is the following. I need to solve a system of two one-dimensional diffusion equations, in which the conductivity for one of the variables is zero (but the conductivity between u(1) and u(2) is nonzero (two-phase medium where the flow goes in one phase and the other acts only as a capacitance). d (u1) / dt = d / dx (F (d (u1) / dx) -f (u1, u2) + S (x, t) d (u2) / dt = f (u1, u2) where f (u1, u2) is the mass transfer between two media. When using pdepe head-on, the answer is: Error using pdepe (line 293) Spatial discretization has failed. Discretization supports only parabolic and elliptic equations, with flux term. Can this somehow be circumvented or do I need to compose my own difference scheme? Thank you
  3 Comments
Fyodor Tatarinov
Fyodor Tatarinov on 20 Sep 2018
Is it possible to set the conductivity for u2 very small instead of manual discretization?

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!