3.1. Effect of Twin Spacing on the Mechanical Behavior of the Nanotwin AgPd Alloy
In order to clarify and avoid interference, this paper does not discuss chemical composition factors, and AgPd is generally assumed to be composed of 50% silver and 50% palladium. According to previous experiments and simulation calculations, the stacking fault energy range of AgPd is 16–180 mJ/m
2, with Ag
0.
5Pd
0.
5 being 60 mJ/m
2, which belongs to alloys with lower stacking fault energy.
Figure 2 shows the stress–strain curves of AgPd alloy with average grain sizes of 5.50 nm, 8.24 nm, 11.00 nm, and 13.76 nm under different twin spacings during compression. At the beginning, the curve rapidly increases when the strain rate is small, corresponding to the elastic deformation stage of the alloy deformation stage. Then, with the increase in external load, it enters the plastic deformation stage, and the curve stabilizes and fluctuates. For the nanotwin configuration with an average grain size of 5.50 nm, due to the high proportion of disordered structural atoms in the model, the curve fluctuates greatly, and the slope of the rising curve is slower than that of larger sizes. Due to considerations for the accuracy of simulation results and computational resources, it has been decided to use the nanotwin configuration at a model size of 20 nm × 20 nm × 20 nm to investigate the influence of twin spacing and other factors.
Figure 3 shows the average flow stress variation curves of AgPd alloy with average grain sizes of 5.50 nm, 8.24 nm, 11.00 nm, and 13.76 nm at different twin spacings during compression. For smaller grain sizes (d = 5.50–11.00 nm), the average flow stress exhibits a tentative strengthening–softening transition with increasing twin spacing, although statistical confidence diminishes for d < 11.00 nm due to heightened grain boundary effects. For the nanotwin configuration with an average grain size of 11.00 nm, a quadratic regression model (flow stress vs. λ) was fitted to the data (R
2 = 0.89). The peak flow stress at λ = 1.35 nm was statistically significant (
p < 0.05) compared to adjacent λ values (0.67 nm and 2.02 nm), with confidence intervals (95% CI) of ±0.08 GPa. The peak flow stress at λ = 1.35 nm (1.50 ± 0.07 GPa) remains distinguishable from neighboring points (1.21 ± 0.09 GPa at λ = 0.67 nm; 1.41 ± 0.06 GPa at λ = 2.02 nm). This initial strengthening (λ < λc) can be attributed to dislocations interacting with closely spaced twin boundaries (TBs) enhancing the strength via Hall–Petch-like mechanisms. The softening (λ > λc) beyond the critical spacing (λc ≈ 1.35 nm for d = 11.00 nm) occurs as the strain localizes at grain boundaries (GBs), reducing dislocation–TB interactions and promoting softening.
For nanotwin configurations with larger grain sizes (average grain size of 13.76 nm), the average flow stress decreases monotonically with increasing twin spacing. A linear regression model yielded a statistically significant negative slope (p < 0.01, R2 = 0.76), confirming the inverse relationship between twin spacing () and flow stress. However, the moderate R2 value suggests that additional factors beyond twin spacing may contribute to the observed variance in flow stress. To further investigate this relationship, we explored alternative models, including quadratic regression. While the quadratic model slightly improved the fit (R2 = 0.81), the linear model remained statistically robust and parsimonious for interpreting the dominant trend. Residual analysis revealed no systematic patterns, and outliers were consistent with stochastic variations inherent to molecular dynamics simulations.
3.2. Effect of Twin Spacing on the Deformation Mechanism of the Nanotwin AgPd Alloy
For nanotwin AgPd configurations with a size of 20 nm × 20 nm × 20 nm, the model reached a stable state after 50 ps relaxation. Before deformation, the atomic proportions of each structural atom in different twin spacing configurations are shown in
Figure 4. The proportion of HCP structural atoms to a certain extent reflects the density of twin structures in the configuration. As the twin spacing increases, the proportion of HCP structural atoms gradually decreases, while the proportion of FCC structural atoms gradually increases. BCC and other structural atoms remain basically unchanged.
Figure 5 shows the atomic variation and stress variation trend with the strain of the nanotwin AgPd alloys with different twin spacings. In the early stage of strain, the number of atoms with four different structures does not change much, corresponding to the plastic deformation stage of the stress–strain curve. At this time, the stress value is small and not enough to cause the atomic structure to undergo transformation. When the stress value increases to the yield limit, the number of structural atoms begins to change significantly. For the configuration with the smallest twin spacing, that is, λ = 0.67 nm, the number of HCP structural atoms began to continuously decrease, while the number of FCC structural atoms continued to increase, and other disordered structural atoms also slowly increased, indicating that during the deformation process of high twin density configurations, some HCP structural atoms transformed into FCC and other disordered structural atoms. For configurations with twin spacing of 2.02 nm, 3.37 nm, 4.72 nm, and 6.74 nm, the number of HCP structural atoms continues to increase, while the number of FCC structural atoms continues to decrease. In the later stage of stress–strain curve fluctuation, the changes of the two become slower, while there are decreases or increases in other disordered structural atoms before and after deformation, but the amount of change is not significant. For the configuration with twin spacing of 1.35 nm, the difference is that the increase in HCP structure atoms is not significant before and after deformation; while other disordered structure atoms continue to increase, FCC structure atoms continue to decrease, and the change slows down in the later stage of deformation. Based on this characteristic and combined with the configuration where the average flow stress value is higher than that of other twin spacings, the study of the impact of temperature on the deformation behavior and mechanism of AgPd alloy nanocrystals at 1.35 nm is reasonable and representative. All analyses in this section (
Figure 4,
Figure 5,
Figure 6 and
Figure 7) pertain to nanotwin AgPd alloys with an average grain size of 11.00 nm, as detailed in
Table 1. The combination of Ag and Pd in the nanotwinned alloy yields synergistic enhancements. Strength–Ductility Balance: AgPd achieves a higher yield strength, (
Table 2) than pure Ag or Pd while maintaining ductility through partial dislocation activity and delayed detwinning (
Figure 5).
Figure 6 shows the variation of various types of dislocation line lengths with strain during the deformation process of the nanotwin AgPd alloys with different twin spacings. During the deformation process, the initial deformation stage is similar to the CNA structure, with less variation in the length of various dislocation lines, which are mainly Shockley dislocations and Perfect dislocations, and a small proportion of Stair rod, Hirth, and Frank dislocations. As the strain continues, some of the Shockley dislocations rapidly increase and become the main dislocations, while the Perfect dislocations change very slowly. Among different twin spacings, the maximum difference in the dislocation line length between Shockley before and after deformation is 0.67 nm, and the maximum dislocation line length before and after deformation is 6.74 nm.
Figure 7 demonstrates the evolution of dislocation density versus strain for nanodiamond AgPd alloys with different bicrystal spacings (λ = 0.67–6.74 nm). The color variations in the figure represent different bicrystalline spacings, and each color corresponds to a specific bicrystalline spacing through which the effect of bicrystalline spacing on dislocation density can be analyzed. Specifically, the black color represents the larger bicrystal spacing λ = 6.74 nm, which has a high dislocation density and a small difference in the variation of dislocation densities; the green color corresponds to λ = 4.72 nm, which has an intermediate level of dislocation densities; the blue color represents λ = 3.37 nm, which shows relatively low dislocation densities; the red color represents λ = 2.02 nm, which has a lower dislocation density than the abovementioned cases; and the violet color corresponds to λ = 1.35 nm, which is the case with the lowest dislocation density, indicating that the generation of dislocations is minimal at this bicrystal spacing. From the color changes, it can be seen that the increase in dislocation density and the magnitude of its variation become larger as the bicrystal spacing increases (as in the black case), whereas smaller bicrystal spacings (e.g., purple) show more stable dislocation densities with smaller variations. The bicrystal spacing of 1.35 nm shows the lowest total dislocation density, suggesting that smaller bicrystal spacings contribute to the reduction of dislocation generation. In contrast, the bicrystal spacing of 6.74 nm shows a higher dislocation density, and the dislocation density varies less during the strain process, which implies that the activation of dislocations is less in this case and that the material maintains greater stability during plastic deformation. Taken together,
Figure 7 reveals that the bicrystal spacing has a significant effect on the dislocation behavior of AgPd alloys during deformation. Small bicrystal spacing (e.g., 1.35 nm) effectively reduces the generation of dislocations, resulting in the lowest dislocation density, while larger bicrystal spacing (e.g., 6.74 nm) promotes the generation of dislocations with greater and less variable dislocation density. Through these analyses, we can clearly see the influence of bicrystal spacing on the mechanical properties of the materials, thus providing important theoretical support for subsequent studies.
In order to better analyze the influence of different twin spacings, the characteristics of the stress–strain curve and various structural atomic change curves in
Figure 5 were combined, and those before external loading, i.e., after relaxation, were selected. The four states in the stress–strain curve, including the elastic limit, stable and slow changes in HCP structure atoms in the middle stage of deformation, and the completion of strain, were selected. Three sets of twinning spacing, 0.67 nm, 1.35 nm, and 6.74 nm, were selected to compare and analyze the various dislocations and microstructures that occur during the deformation process of the nanotwin AgPd alloy. At the same time, the deformation process without twinning configuration under the same deformation conditions was selected as the control to observe the effect of the twin structure on the stability of the material structure.
Figure 8 shows the atomic diagram of the compression process of a nano polycrystalline AgPd alloy with an average grain size of 11.00 nm and no twinning structure. In the stage of elastic deformation, structural defects first appear at the grain boundary due to stress concentration, and some of the atoms near the grain boundary transform into HCP structural atoms, providing a prerequisite for subsequent dislocation source emission, as shown in
Figure 8a; After the stress value exceeds the yield stress, a large number of dislocations are emitted from grain boundaries and intragranular defects, resulting in some free dislocations and stacking fault structures. Under the obstruction of grain boundaries, the growth of the dislocation line’s length and the dislocation density slows down, and some stacking fault structures transform into twin structures, as shown in
Figure 8d. During the entire deformation process of the nano polycrystalline AgPd alloy without a twin structure, dislocation stacking and the twin structure occur successively, which interact with each other and cause changes and fluctuations in material stress. Among them, grains I and III are severely damaged before and after deformation, indicating that the movement of grains and dislocations plays an important role in nano polycrystalline materials. This behavior also serves as a reference for understanding the role of twin boundaries in nanotwinned AgPd alloys. When compared with nanotwinned structures, the absence of twin boundaries in this case leads to a different pattern of strain localization and dislocation behavior. In nanotwinned alloys, twin boundaries can either impede or interact with dislocations in various ways depending on the twin spacing, which is in contrast to the relatively more straightforward dislocation–grain boundary interactions in the twin-free alloy.
Figure 9 shows the atomic diagram of the compression process of a nanocrystalline polycrystalline AgPd alloy with twin spacing of 0.67 nm and an average grain size of 11.00 nm. After relaxation, FCC structure atoms appeared between twin boundaries in grain I and transformed into other disordered structure atoms, indicating the presence of certain stresses at the grain. After the strain reaches the elastic limit, dislocations begin to proliferate and expand, which are mainly Shockley partial dislocations. Here, the high twin boundary (TB) density promotes stress concentration at the TB–grain boundary (GB) intersections, triggering detwinning (
Figure 9b–d). These partial dislocations nucleate at TBs and glide parallel to TBs, leading to TB migration and annihilation (
Figure 9c
1). As a result, the number of HCP-structured atoms decreases (
Figure 5a), and the alloy shows a lower flow stress compared to intermediate λ (
Figure 3a–c). This is because at λ = 0.67 nm (<λc ≈ 1.35 nm), TBs act as weak interfaces. Stress concentrations at TB–GB junctions exceed the detwinning energy barrier, leading to rapid TB annihilation, which aligns with Wei’s scaling law (λc ∝ d
1/2) [
8], where finer grains lower λc. When the temperature is considered, at low temperatures (10–100 K), detwinning is suppressed, and TBs stabilize HCP atoms, enhancing the strength. However, at high temperatures (300–500 K), thermal activation accelerates detwinning, reducing the flow stress.
Figure 10 shows the atomic diagram of the compression process of a nanocrystalline polycrystalline AgPd alloy with twin spacing of 1.35 nm and an average grain size of 11.00 nm. After relaxation, the structure at the twin boundaries did not undergo any transformation, and only some disordered structural atoms at the grain boundaries transformed into HCP structural atoms. After the stress reaches the elastic limit, some Shockley dislocations are emitted at the grain boundary of grain I. During the slip process of dislocations, they are blocked by the existing twin grain boundaries. This balanced dislocation–TB interaction causes TB migration and strain redistribution (
Figure 10c). Limited detwinning occurs because there is sufficient spacing for dislocation storage, enhancing strain hardening (
Figure 3c). This is because at λ = 1.35 nm (≈ λc), TBs strongly block dislocations while remaining stable. This maximizes the flow stress (
Figure 3c) and delays strain localization, as seen in the gradual HCP to FCC transition (
Figure 5b). In the middle and later stages of deformation, some twin boundaries near the grain boundary undergo a “de twinning” phenomenon. Combined with the shear strain diagram (
Figure 10c
1), the strain is more severe here. Some twins are impacted by the movement of dislocations at the grain boundary, and dislocations accumulate and penetrate the twin boundary, ultimately resulting in changes in twinning spacing or twinning structure annihilation. In addition, due to the movement of dislocations, twinning originally existing at the grain boundary II later produces an ISF structure. Finally, the grain is compressed and meets the twin boundaries. For the displacement vector diagram of this process, most of the displacement vector values at grain boundaries and within grain II are high, indicating that grain boundaries and twin boundaries are hindering dislocation movement while also undergoing migration and variation.
Figure 11 shows the atomic diagram of the compression process of a nanocrystalline polycrystalline AgPd alloy with twin spacing of 6.74 nm and an average grain size of 11.00 nm. After the stress reaches the elastic limit, the two Shockley partial dislocations at the grain boundary and inside of the grain act on the same twin, causing it to eventually divide into several intermittent twin and layer fault structures. In the later stage of deformation, some new twin structures and V-shaped secondary twin structures were generated, as shown in
Figure 11d. Here, dislocations bypass TBs via cross-slip, forming V-shaped secondary twins (
Figure 11d, black dashed box). Strain localizes at GBs rather than TBs, mimicking twin-free behavior (
Figure 8). The outcome is a lower dislocation density but higher ductility due to delayed fracture. At λ = 6.74 nm (>λc), TBs are sparse and act as mild obstacles. Dislocations bypass TBs via cross-slip, forming secondary twins (
Figure 11d) and reducing strain hardening. When considering temperature, at low temperatures (10–100 K), dislocation mobility decreases, favoring planar slip and secondary twinning (
Figure 11d). At high temperatures (300–500 K), enhanced dislocation climb and TB migration further reduce strain hardening.
The deformation mechanisms in nanotwinned AgPd alloys exhibit a strong dependence on twin spacing. For λ = 0.67 nm, detwinning dominates due to excessive TB density, leading to premature softening (
Figure 9). At the critical spacing λ = 1.35 nm, TBs optimally hinder the dislocation motion while resisting detwinning, resulting in peak flow stress (
Figure 10). In contrast, larger spacings (λ = 6.74 nm) permit dislocation bypass and secondary twinning, mimicking the plasticity of twin-free systems (
Figure 11). These trends align with Wei’s scaling law [
8], confirming that λc ≈ 1.35 nm represents the transition from TB-mediated to dislocation-dominated deformation. Low temperatures (10–100 K): small λ (0.67 nm); detwinning is suppressed; and TBs stabilize HCP atoms, enhancing strength (
Figure 11a). Large λ (6.74 nm): dislocation mobility decreases, favoring planar slip and secondary twinning (
Figure 11d).
It is important to note that the observed deformation mechanisms, such as detwinning and strain localization, are analyzed under the assumption of uniform chemical distribution. In practical AgPd systems, surface segregation—driven by atomic size mismatch and differences in surface energy—could modify grain boundary cohesion and dislocation nucleation sites. For instance, Pd-rich regions at boundaries might enhance local hardening, whereas Ag segregation could promote interfacial sliding. Experimental characterization (e.g., via atom probe tomography) combined with segregation-aware simulations would help quantify these effects.
3.4. Effect of Temperature on the Deformation Mechanism of the Nanotwin AgPd Alloy
Figure 14 shows a comparative analysis of the atomic proportions of various structures in AgPd alloys with twin spacing of 1.34 nm after relaxation at different temperatures. As the relaxation temperature increases, the number of FCC and HCP structural atoms decreases, but the number of HCP structural atoms changes less. The number of atoms in the other structure increases accordingly. After the temperature increases, the energy obtained by some atoms in the configuration increases, leading to a transition from FCC and HCP structured atoms to other structured atoms, resulting in an increase in the proportion of disordered structured atoms in the configuration.
Figure 15 shows the trend of atomic changes and stress with strain during the deformation process of the AgPd alloy with twin spacing of 1.34 nm at temperatures of 10 K, 100 K, 300 K, and 500 K. When the deformation temperature is low, as shown in
Figure 15a 10 K and
Figure 15b 100 K, in the initial stage of strain, the FCC structural atoms begin to gradually decrease, while the other structural atoms begin to increase. At this time, the HCP structural atoms remain basically unchanged. When the stress value exceeds the elastic limit and the yield upper limit, the number of HCP structural atoms begins to increase. This process is mainly due to the transition of FCC structural atoms to HCP and other structural atoms, indicating that the stress value is relatively small in the early deformation stage and the HCP structural atoms are relatively stable in the configuration. As the stress value increases in the later stage, the strain increases, and the stress concentration in the grains is more severe. The HCP structural atoms in twinning and stacking fault structures begin to change. When the deformation temperature is high, as shown in
Figure 15d 500 K, in the initial stage of deformation, the number of various structural atoms remains basically unchanged. When the stress value increases to the elastic limit, the number of HCP and FCC structural atoms begins to decrease, and the number of other structural atoms begins to increase, indicating that there is a transition from HCP and FCC structural atoms to other structural atoms at this stage. It can be seen that the decrease in temperature to some extent increases the stability of the twin structure.
Figure 16 shows the variation trend of the length of various types of dislocation lines with strain in AgPd alloy with twin spacing of 1.34 nm at different deformation temperatures. During the entire deformation process, Shockley dislocations accounted for the vast majority, followed by Perfect dislocations, while Stair rod, Hirth, and Frank dislocations accounted for very little, almost zero. The length of various dislocation lines after relaxation at 10 K, 100 K, and 300 K is basically not affected by temperature, and there is not much difference between them; However, after relaxation at 500 K temperature, the length of various dislocation lines is less compared to other temperatures, indicating that the extension of dislocations is less after temperature increase. Based on the trend chart of the total dislocation density of the alloy with strain at different temperatures, as shown in
Figure 17, during the entire deformation process, increasing the deformation temperature results in a decrease in the corresponding total dislocation density, indicating that temperature has a certain inhibitory effect on the generation of defects such as dislocations and stacking faults.
In order to better compare the influence mechanism of temperature on the nanotwin AgPd alloy, combined with the characteristics of the configuration’s stress–strain curve and the CNA structure number change curve, four stages were selected: relaxation without deformation, strain reaching the elastic limit, FCC structure atom reduction to a stable stage, and deformation completion. The evolution characteristics of dislocations and microstructures with twin spacing of the 1.42 nm configuration at 10 K, 300 K, and 500 K temperatures were analyzed, as shown in
Figure 18. When the temperature is low (T = 10 K), after relaxation, some HCP and BCC structural atoms appear at the grain boundaries, with a higher proportion compared to other temperatures. Deformation reaches the elastic limit, and twinning dislocations sprout at the black dashed line of grain I and move in the direction of the arrow in the figure, causing the twinning to move away from adjacent twinning towards the grain boundary. As deformation continues, twinning in grains II and IV is severely damaged, resulting in the formation of ISF and ESF structures. It is worth noting that the transformation process from the ESF to the ISF structure has been observed, with some exhibiting an ESF structure and the others exhibiting an ISF structure, and new twinning appears at the junction of these two grains. Although the twinning length here is not long due to the obstruction effect of grain boundaries, it alleviates the degree of stress concentration here. After deformation to 15%, the black solid line of grain III has transformed into a shorter ISF structure, and new twinning has appeared at the grain boundary. When the temperature is high (T = 500 K), after relaxation is completed, a certain amount of FCC and HCP structural atoms appear between the grain boundaries and within the grains, transforming into other disordered structural atoms. These defects provide nucleation points for dislocation germination to a certain extent. Compared to low temperatures, the small grains at the grain boundaries marked by the yellow circle temporarily disappear during the relaxation process and gradually appear again during subsequent deformation, indicating that higher temperatures promote the activity of grain boundaries. Deformation reaches the elastic limit, and the transformation of disordered structures within the grain increases. Dislocation sources appear at the twin boundaries within grain II and further move towards the grain boundaries, ultimately leading to a decrease in twin spacing and partial twinning annihilation. When the deformation reaches 10.00%, the number of atoms in the FCC structure enters a slow fluctuation stage. At this stage, ESF structures appear near the grain boundaries of grain II, and the twinning spacing within other grains decreases to varying degrees. After deformation, the grain boundaries within grains II and IV were severely damaged, and twinning within grain II almost disappeared. Large disordered atomic clusters appeared within grain IV.
In order to determine the degree of influence of temperature factors on the average flow stress of the AgPd alloy with twin spacing of 0.67 nm at a room temperature of 300 K, which is lower than that of other twin spacings, the deformation process of this twin spacing was selected at temperatures of 10 K and 500 K.
Figure 19 shows the atomic diagram of the nanocrystalline polycrystalline AgPd alloy with twin spacing of 0.67 nm and an average grain size of 11.00 nm during 10 K compression. After relaxation, the twin structure and the intra crystal atoms did not change. After strain reached the elastic limit, the phenomenon of “de twinning” appeared in grain I. The reason was that the dislocations emitted at the grain boundary met with the twin here, forcing the twin boundary to migrate towards the direction of dislocation movement, as shown in
Figure 19b) When the strain reached 13.05%, the twin structure inside of grain III was basically annihilated and transformed into structures like ISF and ESF. After the strain was completed, the ISF structure shown in the black box also disappeared. For AgPd alloys with the same parameters compressed at a temperature of 500 K, as shown in
Figure 20, after relaxation, some atoms in the twin boundaries and grains transform into disordered structural atoms, providing a location for subsequent dislocation source emission. After reaching the elastic limit, the phenomenon of “de twinning” occurs in grain III. In the later stage of deformation, the twin structure also transforms into an ESF structure, resulting in a decrease in the number of twin structures. By analyzing the changes in the density of various structural atoms and dislocations at two different temperatures, it was found that there was not much difference in the reduction of HCP structural atoms. However, at 500 K, the main transition occurred from HCP structural atoms to disordered structural atoms, while at 10 K the transition occurred to FCC and disordered structural atoms. Higher temperatures to some extent intensified the trend of atomic motion. This exacerbates the annihilation of twin structures.