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 CenterFile Exchange에서 Geometry and Mesh에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by