フィルターのクリア

How to generate regular mesh in pde toolbox? (in a mutiple subdomain geometry)

6 ビュー (過去 30 日間)
hi everybody,
I'd like to generate regular mesh on the following domain:
There is 'poimesh' function in the pde toolbox, but it doesn't accept a several subdomain geometry.
So is there any straight way to perform this job?
thanks,

採用された回答

Bill Greene
Bill Greene 2014 年 1 月 14 日
I guess the first question is, what is the reason for the four subdomains? If the objective is simply to have different properties (pde coefficients) in each subdomain, there is another way to do that. You can generate a single mesh with poimesh, selecting nx and ny so that you have element boundaries at the inner subdomain boundaries. Then you can use a function to define the coefficients in each element based on the x, y location of its centroid.
Bill
  1 件のコメント
Mohammad Monfared
Mohammad Monfared 2014 年 1 月 14 日
It sounds reasonable Bill. Thanks so much, I'll try that.
Mohammad

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

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by