1. Introduction
Material defects usually arise during manufacturing, processing, or even in service conditions due to environmental factors. Furthermore, defects can be generated when materials are subjected to mechanical loading. The main defects that commonly exist in materials are point defects, line defects, surface defects, and volume defects. Cylindrical voids (volume defects) and dislocations (line defects) are two types of material defects considered in this study. The formation of cylindrical voids can result from several different causes. Specifically, cylindrical voids can form in compressible hyperelastic materials through a cavitation process, which is triggered when the applied radial stretch reaches a critical value [
1]. In the additive manufacturing (AM) process or 3D printing, undesirable voids, such as interlayer voids, can be produced by incomplete material filling within part layers [
2,
3]. Additionally, voids can be generated from the extrusion process in additive manufacturing. Movement of the printhead and the speed of printing are driving factors that affect a void’s shape. For instance, a cylindrical void forms if the printhead follows a circular path that does not fuse properly with the material beneath. In casting, improper mold filling or cooling can trap gases or cause shrinkage, especially in directional solidification, where voids align with the cooling gradient. Cylindrical voids, located along the axial direction, can be produced by continuous casting. Closure of these cylindrical voids by flat-die forging was investigated in [
4,
5] as these voids detrimentally affect material properties. The effects of voids on mechanical properties of materials are well documented, such as in [
6,
7].
A dislocation is a type of crystallographic defect in a material, specifically a line defect, where an extra half-plane of atoms is inserted into the crystal structure (edge dislocation) and the crystal layers are sheared in such a way that the atoms form a spiral ramp around the dislocation line (screw dislocation) [
8,
9]. Much research has been devoted to investigating dislocation problems regarding the scale of a material as well as its type and geometry.
Research on developing analytical solutions for elastic fields of dislocations has been performed and presented in previous literature. Some research has focused on the elastic fields of an infinite dislocation [
10,
11,
12], the stress fields of a prismatic rectangular dislocation loop [
13], and the displacement fields of a rectangular loop [
14] in an infinite isotropic material. As for studies involving dislocations near a traction-free surface, a correction term is added to calculate the total stress fields of the dislocations in order to ensure zero-traction conditions on the free surface. Analytical solutions for elastic fields of dislocations near a planar or flat free surface have been provided in previous studies [
15,
16,
17,
18]. In addition, a stress field due to an infinite edge dislocation outside, and parallel to, an infinite cylinder in an infinite isotropic material is presented analytically or in exact form in [
19]. Nonetheless, analytical solutions for the stress field of dislocation segments (of finite length, and not just infinite, and of any orientation with respect to the void) near a finite-sized cylindrical void or any other void shape have not been identified. Hence, numerical solutions for such problems need to be developed and applied.
The collocation point method is one of the main numerical methods used to resolve traction-free surface problems. The employment of a collocation point method to treat zero-traction boundaries in three-dimensional discrete dislocation dynamics was carried out by [
20,
21,
22]. In these studies [
20,
21,
22], coordinate transformation was involved, as the correction terms to satisfy the traction-free boundary conditions were developed using local coordinate systems, which needed to be transformed back into a global coordinate system in order to calculate the total stress fields of a dislocation segment near traction-free boundaries. Recently, a numerical solution capable of computing all stresses due to a dislocation source and the correction terms using a global coordinate system without the need for second-order tensor transformations was developed and demonstrated in [
23,
24].
In this study, a numerical solution for the stress field of a dislocation line (segment/finite-length or infinite and at any spatial orientation) outside a cylindrical void (of any length and can be a non-cylindrical shape as well) is developed using the collocation point method. All the stress computations in this study are carried out in a global coordinate system, hence no tedious first-rank or second-rank tensor transformations are involved. The numerical solution developed herein is then compared with the analytical solution derived from [
19] for verification purposes. Specifically, the cylinder length is increased as much as possible and the dislocation is kept parallel to the cylinder axis to match the analytical solution of the 2D problem. Additionally, the dislocation source, or the driving force in the numerical solution, needs to be an infinite dislocation in an infinite isotropic material in order to make a comparison with the 2D analytical solution. The verification process will be elaborated on in more detail in
Section 4.
4. Results: Verification of the Numerical Solution
To verify the numerical solution developed in this study, the authors compared the numerical results with the analytical solution presented in the last section. The numerical solution developed in this study is inherently for a 3D problem, i.e., the stress solution of an edge or screw or mixed dislocation (of any length) near a cylindrical void or any void of any shape. On the contrary, the analytical solution is developed for a 2D problem, i.e., the stress solution of an infinite edge dislocation near an infinitely long cylindrical void or a circular hole.
The length of the cylindrical void in our numerical solution needs to be close to infinite or relatively infinite compared with the radius of the cylinder, in order to make the comparison between the numerical results and the 2D analytical solution. Additionally, an infinite dislocation should be used as the real dislocation or the driving force in our numerical solution to match the analytical results.
Before discussing and verifying the results, some parameters are specified and symbolized for simplicity, as follows: Shear modulus: G; Poisson’s ratio:
; Burger’s vector:
; radius of the cylinder:
; length of the cylinder:
l; location of the dislocation:
; coordinate of the cylinder’s center: (0, 0); distance between the right edge of the cylinder and the field points line along the
y-axis, as shown in
Figure 8: D; average spacing between the collocation points:
q; and distance between the neighboring collocation points along the circumferential direction
s, as shown in
Figure 5.
On a separate note, the dimensional parameters
, D,
l,
q, and
s are all normalized by the magnitude of the Burger’s vector
b, and the stress is normalized by the shear modulus. The purpose of normalization is to transform parameters and results at different scales to be on a similar scale, and to improve the generalization of the current numerical solution [
28,
29].
.
For the comparison plots, the stress field of a dislocation near an infinitely long cylindrical void is plotted on the
xy-plane (
z = 0) along a line parallel to the
y-axis and shifted D distance away from the right edge of the cylinder along the
x-axis; see the dashed green line in
Figure 8. Defining the following parameters for plotting: G = 110 GPa,
(elastic properties of copper [
30]),
,
l = 1 million
b,
;
for the real dislocation, the infinite dislocation, or the driving force, is (1, 0, 0).
Figure 9 shows that the numerical solution approaches the analytical solution [
19,
27] as the number of rectangular dislocation loops padding the curved surface of the cylinder increases. In numerical methods, the solution is approximated by essentially piecewise functions over each element. More elements allow for a better approximation of the geometry and the numerical solution can change more precisely from one element to another. Furthermore, the spacing between the elements gets closer as the number of elements increases, resulting in a reduction in truncation errors and a more accurate numerical solution [
25,
31].
Figure 9 shows the results for field points along the line parallel to the
y-axis and shifted D = 2
b distance away from the right edge of the cylinder along the
x-axis. In this case, the field points are close to the cylindrical void. Saint-Venant’s principle states that the elastic fields resulting from different but statically equivalent force distributions on a body are approximately the same far away from the loading points or these force distributions [
32]. That being said, the stress field caused by the cylindrical void with different mesh densities should be the same if the field points are far away from the void. The purpose of the stress field induced by the dislocation loops meshing the surface of the void is to annul (at the free-surface collocation points) the stress field arising from the real dislocation, which is constant in this study; hence, the stress fields caused by the cylindrical void with different mesh densities should be statically equivalent. The critical distance to avoid any effect of the different but statically equivalent loads/force distributions should be equal to or greater than the average spacing between the collocation points (
q) [
23,
24]. This—that is, the application of Saint-Venant’s principle—is shown clearly for meshes with 16 and 32 elements. The results shown in the plots of
Figure 9 can also be shown by inversely varying the D for different
q values (i.e., different rectangular mesh densities). According to
Figure 10, the effect of cylindrical void meshing with different numbers of rectangular dislocation loops (i.e., with different stress fields that are statically equivalent) dies out when the distance D is greater than
q. In other words, the critical distance D must be larger than
q to ensure the accuracy of the numerical solution, which is consistent with statements in [
23,
24].
It is important to note that the rectangular elements are increased along the circumferential direction (see
Figure 5b and
Figure 6), and all collocation points in this case are located on the
xy-plane (
z = 0). The average spacing between collocation points (
q) for this uniform mesh is the same here as the distance between the collocation points (
s) along the circumferential direction. For the triangular elements,
q is much larger than
s as the centers of the triangular dislocation loops/meshing elements, or the collocation points, are far away from the
xy-plane, and the distance between the collocation points of two neighboring triangular elements (distance measured along the longitudinal direction or the length of the cylinder) is close to infinity for the almost infinite cylinder considered here (see
Figure 5a and imagine the cylinder is infinitely long). Therefore, the critical distance D to ensure the accuracy of the numerical solution developed by the collocation point method is expected to be larger than the distance
s between the collocation points along the circumferential direction. This is shown in
Figure 11. Although triangular elements or triangular dislocation loops offer more flexibility for irregular shapes or curved surfaces, their centers or collocation points are far from the
xy-plane and hence from the plotted field points. As the centers of the rectangular elements (or their collocation points) are all on the
xy-plane (at
z = 0), this provides a better numerical solution compared to the 2D analytical solution in this scenario. It should be recalled here that the stress field points are plotted on the
xy-plane,
z = 0.
Figure 11 also shows that this issue can be overcome with distance D versus
q by simply increasing the number of elements or the mesh density (i.e., by simply decreasing
s).
Before concluding this section, it is worth noting the effect of the length of the cylinder (
l) on the numerical solution. In studies of the effects of mesh density and the critical distance D,
l is maintained constant at 1 million
b, which is a number close to infinity compared with the radius of the cylinder
, in order to verify our numerical solution with the 2D analytical solution. In the investigation of the effects of
l, 32 rectangular elements or rectangular dislocation loops are used to uniformly mesh the curved surface of the cylinder. All other dimensional parameters are kept unchanged. The stress fields are plotted on the
xy-plane along the line parallel to the
y-axis and shifted D = 2
b distance away from the right edge of the cylinder along the
x-axis. As shown in
Figure 12, the mismatch between the numerical results and the 2D analytical solution diminishes as the length of the cylinder (
l) increases. Eventually, the numerical solution and the analytical solution overlap as
l approaches relative infinity (i.e., 1 million
b) compared with
. According to the Saint-Venant’s principle, the numerical solution should have matched the analytical solution as the distance D (D = 2
b) is greater than the spacing between the neighboring collocation points (
q = s = 1
b). However, the length of the cylinder (
l) is another key factor affecting the accuracy of the numerical solution. When
l is too small, say
l = 4
b, the numerical result cannot match the analytical solution even though D is greater than
q (see
Figure 12), as the 2D analytical solution is for the stress field of an infinite edge dislocation outside an infinitely long cylindrical void. Conversely, the numerical solution and the analytical result are in perfect agreement when
l is sufficiently large, as demonstrated in
Figure 12.
Overall, verification of the numerical solution developed by the collocation point method for the stress fields of a dislocation near a cylindrical void has been achieved. The numerical solution and the 2D analytical solution match without any deviation as long as the critical distance D is larger than the average spacing between collocation points (
q), and the cylindrical void is infinitely long compared with the radius of the cylinder
. For the general 3D numerical solution, the real dislocation or the driving force can be any type of dislocation (e.g., a dislocation loop or a dislocation segment), and the cylindrical void can be infinitely long or of finite length or of any shape and not just cylindrical. To ensure the accuracy of the 3D numerical solution, the mesh needs to be sufficiently dense and the Saint-Venant’s principle is applied. The authors are not familiar with any fully-3D analytical dislocation-void problems with which to directly compare these results, except for the 2D analytical solution provided above. Theory of elasticity-based dislocation solutions are limited to field points beyond a core radius (usually between
b and 4
b [
8]) of a dislocation (whether a crystal dislocation or a mesh dislocation). The 3D numerical solution can be implemented into three-dimensional dislocation dynamics codes for dynamic simulations to investigate the interaction between a dislocation source and a void of any shape, and the mechanical plastic properties (e.g., the flow stress) of materials with such voids.