MATLAB Answers

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

5 views (last 30 days)
haoran liu
haoran liu on 12 Feb 2020
Commented: haoran liu on 13 Feb 2020
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

  0 Comments

Sign in to comment.

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

Show 2 older comments
haoran liu
haoran liu on 13 Feb 2020
I think, the first four rows is the corner points, because there are ten points in a element.
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)

Sign in to answer this question.