How can I specify different PDE coefficients for different regions in a 3D geometry using PDE toolbox?

2 ビュー (過去 30 日間)
I am using PDE toolbox. I have 4 closed 3D surfaces, one inside the other, I want to specify different PDE coefficients for elements in these four regions.
How can I implement this? I was planning to make use of "sub domain" (11th row of 't' in "[p,e,t] = meshToPet(model.Mesh);"). But all values in it was 1, hence my plan didn't work.

回答 (1 件)

Alan Weiss
Alan Weiss 2015 年 6 月 29 日
Currently, subdomains are not supported for 3-D geometry. However, you can write coefficients in function form so that the coefficients have different values in different regions. This is not as convenient as having real subdomains, but as far as I know it is the only current workaround.
Alan Weiss
MATLAB mathematical toolbox documentation
  7 件のコメント
MarionJ
MarionJ 2018 年 4 月 12 日
@Alan: Has future arrived, yet? Does the PDE-Package support coefficient definition dependent on the subdomains for 3D geometries?
Alan Weiss
Alan Weiss 2018 年 4 月 12 日
The easiest way to find out is to read the release notes. There you will find a function that might help you do what you want: geometryFromMesh.
Alan Weiss
MATLAB mathematical toolbox documentation

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

カテゴリ

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