pdetool identify boundary nodes
이전 댓글 표시
After exporting mesh nodes in "p" from pdetool to workspace, I should like to identify those nodes which pdetool assumes are boundary nodes.
답변 (1개)
Alan Weiss
2016년 7월 7일
0 개 추천
I believe that you can get the [p,e,t] representation of the mesh, and then examine the list of edges e. Look at the indices k where e(6,k) or e(7,k) is 0, meaning an edge of the geometry bordering on the exterior. For details, see the mesh data description. These edges have corresponding points p that are on the boundary of the geometry.
Alan Weiss
MATLAB mathematical toolbox documentation
댓글 수: 3
Flavio Sartoretto
2016년 7월 8일
Flavio Sartoretto
2016년 7월 8일
Alan Weiss
2016년 7월 8일
PDE Toolbox allows you to set boundary conditions only at edges of the geometry, not internal edges. So perhaps the e matrix consists only of those edges, but I don't know for sure. It might depend on how you created the geometry, whether you removed internal edges or not.
Alan Weiss
MATLAB mathematical toolbox documentation
카테고리
도움말 센터 및 File Exchange에서 Geometry and Mesh에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!