Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
Fyodor Tatarinov
Fyodor Tatarinov le 17 Sep 2018
Clôturé : MATLAB Answer Bot le 20 Août 2021
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 commentaires
Fyodor Tatarinov
Fyodor Tatarinov le 20 Sep 2018
Do you mention to make the system of equations like dy(i)/dt=f(y(i-1),y(i),y(i+1),t)?
Fyodor Tatarinov
Fyodor Tatarinov le 20 Sep 2018
Is it possible to set the conductivity for u2 very small instead of manual discretization?

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by