How to model multiple regions in extruded 2.5D geometries using the PDE Toolbox?
4 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2019 年 6 月 10 日
編集済み: MathWorks Support Team
2024 年 3 月 1 日
How to model multiple regions in extruded 2.5D geometries using the PDE Toolbox?
採用された回答
MathWorks Support Team
2024 年 1 月 18 日
編集済み: MathWorks Support Team
2024 年 3 月 1 日
Refer to the attached example script, which illustrates one approach to do this. The script is very similar to creating geometry using "geometryFromMesh" in conjunction with "alphaShape". For more information, please run the below command in the MATLAB R2018b command window to get the release specific documentation which discusses the same:
web(fullfile(docroot, 'pde/ug/pde.pdemodel.geometryfrommesh.html#buvmj0q-1'))
The major differences are:
1. We need to define the entire geometry and its regions separately using "alphaShape".
2. We need to use "inShape" to get the mapping "ElementIDToRegionID" and pass it as a fourth parameter to "geometryFromMesh".
3. We need to use "alphaTriangulation" command instead of "boundaryFacets, as the "boundaryFacets" command will simply give one contiguous region.
Please follow the below link to search for the required information regarding the current release:
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Geometry and Mesh についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!