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.
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]]
Line 14: Line 14:
|colspan="2" | Fig.1 (a)Schematic diagram when the surface node moves outwards
|colspan="2" | 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.
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"
{|border="0" align="center"
|[[Image:Project_in.jpg‎ |frameless|800px|caption]]
|[[Image:Project_in.jpg‎ |frameless|800px|caption]]

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)).

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

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.

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