Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
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 Kommentar
Abhijeet
Abhijeet am 4 Mai 2023
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

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Supraja
Supraja am 2 Jun. 2023
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

Tags

Produkte


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by