Geometry import to PDE toolbox -pdegplot(model, 'FaceLabels', 'on') does not show face labels

조회 수: 6 (최근 30일)
I have been using the decsg function to create the geometry from the edges.
The decomposed geometry matrix is created but recieving the error as-
Warning: Unable to display face labels because the geometry is invalid. Check if edges overlap or intersect at non-end points.
Generating a mesh can also fail for this geometry.
> In pdegplot>plotTwoDGeometry (line 141)
In pdegplot (line 98)
The code works fine with the other data points
  댓글 수: 1
Abhijeet
Abhijeet 2023년 5월 4일
Hi Anil,
Can you please provide more details on the edges used to create the geometry ?
Specifically, are there any edges that overlap or intersect at non-end points ? This information will help in identifying the cause of the issue and sugggesting a solution for the same.
Thanks

댓글을 달려면 로그인하십시오.

답변 (1개)

Supraja
Supraja 2023년 6월 2일
Check your geometry to see if there are overlapping regions or open boundaries. If there are any, try to fix them by separating the overlapping regions or completing the boundaries. The pdegplot function requires a valid geometry, which should include closed regions and complete boundaries.
You can also try using a resolution parameter (hmax) to refine the geometry.
Check the below documentation links for pdegplot and hmax function example for further reference:
https://www.mathworks.com/help/pde/ug/pdegplot.html?searchHighlight=pdegplot&s_tid=srchtitle_pdegplot_1
https://www.mathworks.com/help/pde/ug/3d-solution-and-gradient-plots-with-matlab-functions.html?searchHighlight=pdegplot%20hmax%20function&s_tid=srchtitle_pdegplot%2520hmax%2520function_1

카테고리

Help CenterFile Exchange에서 Geometry and Mesh에 대해 자세히 알아보기

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by