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

1 view (last 30 days)
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

Accepted Answer

Ravi Kumar
Ravi Kumar on 12 Feb 2020
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 Comments
Ravi Kumar
Ravi Kumar on 13 Feb 2020
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.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!