PARADISCYL:Cylinder-Project surface node: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
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. |
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. |
||
{|border="0" align="center" |
|||
|[[Image:Project_out.jpg |frameless|800px|caption]] |
|||
|- |
|||
|colspan="2" | Fig.1 (a)Schematic diagram. |
|||
Searching for the surface node(node in Figure 1.(a)) |
|||
<HR> |
|||
==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)) |
|||
<HR> |
|||
Revision as of 09:16, 8 December 2011
Project surface nodes
ill Ryu and Wei Cai
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.