Test Cases in cylinder code
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
.Here,
is the radius of the cylinder.
|
|
| (a)
|
(b)
|
Fig.1 (a) Isoview (b) Topview.The Bergurs vector is .
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
Using Method I,the relative error in the image force is computed from the image stress calcualtion. Right plot clearly 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.
|