PARADISCYL:Cylinder-Project surface node: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 8: | Line 8: | ||
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. |
||
When the surface nodes move outside of the cylinder, Cylinder_Remesh() makes new surface node with flag''6'' (See figure 1.(c)). In the cylinder code, when two surface nodes are linked to each other, this segment is removed.(See figure 1.(d)). |
|||
{|border="0" align="center" |
{|border="0" align="center" |
||
|[[Image:Project_out.jpg |frameless|800px|caption]] |
|[[Image:Project_out.jpg |frameless|800px|caption]] |
||
|- |
|- |
||
|colspan="2" | Fig.1 (a)Schematic diagram |
|colspan="2" | Fig.1 (a)Schematic diagram when the surface node moves outwards |
||
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)) |
|||
However, if the surface nodes move inside of the cylinder, this node is projected on the surface.To do that, the center point of the same slip plane is computed. From the center point, this node is projected along this line. |
|||
{|border="0" align="center" |
|||
|[[Image:Project_in.jpg |frameless|800px|caption]] |
|||
|- |
|||
|colspan="2" | Fig.2 (a)Schematic diagram when the surface node moves inwards . |
|||
<HR> |
<HR> |
||
Latest revision as of 09:43, 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.
When the surface nodes move outside of the cylinder, Cylinder_Remesh() makes new surface node with flag6 (See figure 1.(c)). In the cylinder code, when two surface nodes are linked to each other, this segment is removed.(See figure 1.(d)).