# How can I solve simultaneous PDEs using pdepe?

11 ビュー (過去 30 日間)
Shrishti 2013 年 10 月 8 日
I have a set of two pdes that are interlinked. How do I use pdepe to solve the two equations simultaneously?

サインインしてコメントする。

### 採用された回答

Jie 2013 年 10 月 8 日
I'm afraid matlab may not be able to solve coupled(interlinked) PDEs with its own pdepe function. I used that one before. However, you could always do it yourself if you could apply some numercial methods and encode yourself with soooo powerful matlab. I'd like to recommend you a software call COMSOL. It was a matlab pde toolblx and later seperated from matlab and it is dedigned to solve coupled PDEs.

サインインしてコメントする。

### その他の回答 (2 件)

Bill Greene 2013 年 10 月 8 日
By "two pdes that are interlinked" do you mean that you have two PDE and two dependent variables, say, u1 and u2?
If so, pdepe can definitely solve systems of this type. Take a look at example 2 on this page:
pdepe can handle systems with any reasonable number of partial differential equations.
If you have a different type of PDE system in mind, please provide more information and we may be able to point you in the right direction.
Bill
##### 0 件のコメント表示非表示 -1 件の古いコメント

サインインしてコメントする。

Jacob 2014 年 6 月 5 日

I have a similar question (I think).
Can the pdepe tool solve coupled pde's?
The example on the link you sent has a vector of coefficients for the f function that depend on DuDx. Can I enter Du(1)Dx and Du(2)Dx? Below is the general form of the equations:
d(u1)/dt = d/dx (d(u1)/dx - d(u2)/dx))
d(u2)/dt = d/dx (d(u2)/dx - d(u2)/dx))
##### 2 件のコメント表示非表示 1 件の古いコメント
Kurotamunoye Keribo 2021 年 6 月 28 日
Please I need the steps, thanks

サインインしてコメントする。

### Community Treasure Hunt

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

Start Hunting!

Translated by