How can I solve PDE (Partial differential equation)?

2 ビュー (過去 30 日間)
Emrys
Emrys 2017 年 11 月 1 日
コメント済み: Emrys 2017 年 11 月 3 日
I need to solve this partial differential equation:
on a square 0<p<1, 0<q<1, with random initial data p,q. How can I do? Could someone help me please? I want to plot the solution for any initial data and find the difference beetween them. Thank you very much

回答 (1 件)

David Ding
David Ding 2017 年 11 月 1 日
Hi Emrys,
You may find the " pdepe " function in MATLAB useful for your application here. The equation that you wanted to solve falls under equation (1-3) of the "pdepe" function doc page for Initial-Value problems, but for your case a lot of the terms in the general equation is 0, as you have a simple PDE.
You may take a look at Example 1 of the page as the setup is similar to what you wish to achieve.
Thanks,
David
  1 件のコメント
Emrys
Emrys 2017 年 11 月 3 日
Hi Mr Ding. I tried to use pdepe for my problem woth no success. My problem is define each variable that pdepe asks with my condition. Could you show me the way? Sorry but I'm not so practical

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

カテゴリ

Help Center および File ExchangeGeometry and Mesh についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by