Find collinear sides of tets in a fracture #3004
-
Hi I have two sidesets of tets with nodes split, forming a fracture. What is the best way to make this search? Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Do the sides share the same nodes, or are there two separate sets of coincident nodes defining the face on either side? |
Beta Was this translation helpful? Give feedback.
-
Yes, I would think so. You could use a PointLocator for this... there's a |
Beta Was this translation helpful? Give feedback.
Yes, I would think so. You could use a PointLocator for this... there's a
PointLocator::operator()
API that fills astd::set
of "candidate" elements for a given search point. It is intended for searching for Points that lie on the face between two neighboring elements. So I would loop over the set of elements in either frac_p or frac_n and do a PL search for thevertex_average()
of each face, then look in the set of candidate elements for the one that is not the current Elem.