PARADISCYL:Cylinder-test: Difference between revisions
No edit summary |
No edit summary |
||
| Line 24: | Line 24: | ||
Since the image stress field of this configuration is solved analytically[Eshelby, J.D., 1979], we compare the image force between the simulation result and analytic solution.The number of grids in circumferential direction is same as the one along the cylinder axis.To consider periodic images along the cylinder axis under PBC, analytical stress field of edge dislocation is implemented in the function of "AllSegmentStress_no_cell_test1".To use this function, modify '''makefile''' in ParaDiS/cylinder directory so that the following line is active. |
Since the image stress field of this configuration is solved analytically[Eshelby, J.D., 1979], we compare the image force between the simulation result and analytic solution.The number of grids in circumferential direction is same as the one along the cylinder axis.To consider periodic images along the cylinder axis under PBC, analytical stress field of edge dislocation is implemented in the function of "AllSegmentStress_no_cell_test1".To use this function, modify '''makefile''' in ParaDiS/cylinder directory so that the following line is active. |
||
DEFS += -D_CYL_TEST1 |
DEFS += -D_CYL_TEST1 |
||
[[Image:Relative error plot.jpg|frameless|400px|right|Fig.2. ]] |
|||
Using Method I, right plot clear show exponential decay of the relative error with increasing number of grids. The convergence is slower when the location of the edge dislocation is close to the surface. |
|||
Revision as of 10:00, 17 November 2011
Test Cases in cylinder code
ill Ryu and Wei Cai
This tutorial describes test cases to check if cylinder code works well, especially for the image stress calculation. We provide Matlab files which generates ParaDiS inputs and plot the results. The theoretical background is published in Computing Image Stress in an Elastic Cylinder, Journal of the Mechanics and Physics of Solids, 55, 2027 (2007). (PDF) and Dislocation Dynamics Simulations in a Cylinder, Proceedings of the Dislocations 2008 International Conference, IOP Conference Series: Materials Science and Engineering, vol 3,012007 (2009).(PDF)
TEST1 : Straight edge dislocation along the cylinder axis
In the first test case, image stress of a straight edge dislocation is considered, as shown in the Figure 1, where dislocation is offset() from the center of the cylinder. We have two cases of =0.5 and 0.9. is the radius of the cylinder.