Geometry import to PDE toolbox -pdegplot(model, 'FaceLabels', 'on') does not show face labels
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commento
Abhijeet
il 4 Mag 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
Risposte (1)
Supraja
il 2 Giu 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
0 Commenti
Vedere anche
Categorie
Scopri di più su Geometry and Mesh in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!