PARADISCYL:Cylinder-test: Difference between revisions
No edit summary |
No edit summary |
||
| Line 53: | Line 53: | ||
DEFS += -D_CYL_TEST23 |
DEFS += -D_CYL_TEST23 |
||
[[Image:T2_relative_error.jpg|frameless|400px|right|Fig. |
[[Image:T2_relative_error.jpg|frameless|400px|right|Fig.4. ]] |
||
Due to the symmetry of this problem, the image forces on all nodes point to the radial direction and |
Due to the symmetry of this problem, the image forces on all nodes point to the radial direction and |
||
have the same magnitude. An estimate of their relative error is plotted as a function of number of grid in the circumferential direction(<math>n_\theta</math>) in the following figure. Because this problem does not have an analytic solution, the reference value is taken to be the value obtained using Method I (Bessel) with <math>n_\theta = 181</math>. As expected, the relative error in radial image force decreases with increasing number of grids. |
have the same magnitude. An estimate of their relative error is plotted as a function of number of grid in the circumferential direction(<math>n_\theta</math>) in the following figure. Because this problem does not have an analytic solution, the reference value is taken to be the value obtained using Method I (Bessel) with <math>n_\theta = 181</math>. As expected, the relative error in radial image force decreases with increasing number of grids. |
||
| Line 72: | Line 72: | ||
|align="center"|(b) |
|align="center"|(b) |
||
|- |
|- |
||
|colspan="2" | Fig.5 (a) Isoview (b) Topview.The Bergurs vector is <math>\mathbf{b}= \mathbf{a}/\sqrt{2}[\bar{1} 1 0]</math> |
|colspan="2" | Fig.5 (a) Isoview (b) Topview.The Bergurs vector is <math>\mathbf{b}= \mathbf{a}/\sqrt{2}[\bar{1} 1 0]</math> and the slip plane is <math>\mathbf{n}= 1/\sqrt{6}[\bar{1} \bar{1} 2]</math> |
||
Likewise, cell is not used for the force calculatoin. To do this, modify '''makefile''' in ParaDiS/cylinder directory so that the following line is active. |
|||
DEFS += -D_CYL_TEST23 |
DEFS += -D_CYL_TEST23 |
||
The orientation and magnitude of the image force on every node is different. Fig. 10 plots the component |
|||
| ⚫ | |||
of the image force in the direction away from the center of the loop for all 10 nodes with |
|||
different values of nq using Method I. |
|||
have the same magnitude. An estimate of their relative error is plotted as a function of number of grid in the circumferential direction(<math>n_\theta</math>) in the following figure. Because this problem does not have an analytic solution, the reference value is taken to be the value obtained using Method I (Bessel) with <math>n_\theta = 181</math>. As expected, the relative error in radial image force decreases with increasing number of grids. |
|||
| ⚫ | |||
With more than 45 number of grids, they converge to almost same value. |
|||
Revision as of 12:21, 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(Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x0} ) from the center of the cylinder. We have two cases of Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x0} =0.5Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R} and 0.9Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R} .Here, Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R} is the radius of the cylinder.