How can I just get the corner points in the 3D model?(PDE Toolbox)

Hi everyone!
when I use the syntax "findNodes(mesh,'region','face',18)", I get the corner points and the middle points. So How can I just get the corner points?
Any help would be appreciated.
Thanks

 Risposta accettata

Hi Haoran,
It looks like you are interested in nodes that form the triangle element corners and not the midside nodes. Two options:
  1. You can generate a linear mesh, if you don't need quadratic accuracy.
  2. You can pick the first three of the six rows in the output.
Regards,
Ravi

5 Commenti

Thank you! But I need accuracy. :D
In my comment, option 2 refers to quadratic mesh. You can pick the first three rows of quadratic element, they are the corner nodes.
I think, the first four rows is the corner points, because there are ten points in a element.
OK, I am unlcear about your approach. I assumed you are workting with 2-D model. You are right, its the first four in 3-D.
Thank you for answer my question!

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by