PARADISCYL:Cylinder-Project surface node: Difference between revisions

From Micro and Nano Mechanics Group
Jump to navigation Jump to search
No edit summary
No edit summary
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 code makes a new surface node with flag of '6' (See figure 1.(c)).In cylinder code, if two surface nodes are linked to each other, it is removed in Cylinder_Remesh(), as shown in figure 1.
{|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))



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_in.jpg‎ |frameless|800px|caption]]
|-
|colspan="2" | Fig.2 (a)Schematic diagram when the surface node moves inwards .


<HR>
<HR>

Revision as of 09:30, 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 code makes a new surface node with flag of '6' (See figure 1.(c)).In cylinder code, if two surface nodes are linked to each other, it is removed in Cylinder_Remesh(), as shown in figure 1.

caption
Fig.1 (a)Schematic diagram when the surface node moves outwards

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.

caption
Fig.2 (a)Schematic diagram when the surface node moves inwards .