Project surface nodes
In the cylinder code, surface nodes need to stay on the surface of the cylinder. If they move outside the cylinder, it can be handled by Cylinder_Remesh(). However, if they move inside cylinder surface, it make a bug. In this Wiki page describe how to project the surface nodes when they moves inside the cylinder surface.
|
Fig.1 (a)Schematic diagram.
Searching for the surface node(node in Figure 1.(a))
Algorithm
1. Searching for the surface node(node in Figure 1.(a))
2. Find the neighbor node(nbr1 in Figure 1.(a))
3. Check if seglength is less than minSeg
4. Count the number of independent slip planes of inside arms.
Case I:if nbr1 has a independent slip plane and nbr1 has 3, 2 of which are linked to surface
-> Project nbr1 to the surface along the line(See figure 1.(b))
Case II:if nbr1 has 2 independent slip planes
Project nbr1 to surface along the intersection of two slip planes(See figure 1.(c))
|