Introduction

As a solid-state welding technique invented by TWI in 1991, friction stir welding (FSW) has many advantages in comparison with the conventional fusion welding techniques such as low temperature, low distortion and no pollution (Ref 1). FSW can be applied to join aluminum, magnesium, titanium alloys and even steels (Ref 2, 3) and has been quickly applied to a wide range of industries (Ref 4).

The grain growth is very important for the determination of the friction stir weld quality. So, researches have been focused on the grain structures in friction stir welding. Many experimental works have clarified the relations between final grain structures and service performances of welds. Rajakumar et al. (Ref 5) established an empirical relationship between the post-weld grain sizes and tensile strength in friction-stir-welded aluminum alloy. Safarkhanian et al. (Ref 6) investigated the effect of abnormal grain growth on tensile strength of friction-stir-welded aluminum alloys. Sakthivel and Mukhopadhyay (Ref 7) and Cavaliere and Marco (Ref 8) investigated the microstructure and mechanical properties of friction-stir-welded copper and magnesium alloys, respectively. Different welding parameters and tool geometries are also widely investigated for the optimization of final grain structures. Attallah et al. (Ref 9) studied the factors which can influence the microhardness during FSW of AA5251. Attallah and Salem (Ref 10) reported the controlling of abnormal grain growth during FSW. The effects of tool profiles and weld parameters on the microstructure and mechanical properties are investigated by Xu et al. (Ref 11). The geometrical recrystallization and the continuous dynamical recrystallization are proved to be the key processes during the grain evolutions. Prangnell and Heason (Ref 12) and Fonda et al. (Ref 13) observed the grain structure evolutions near the welding tools by using ‘stop action technique.’

Besides experimental research works, numerical models can provide powerful and efficient way in the research of friction stir welding process (Ref 14). Atharifar et al. (Ref 15) established a CFD model of friction-stir-welded AA6061 to investigate the tool loads and material flows. A CFD model is proposed by Carlone and Palazzo (Ref 16) to analyze the microstructural aspects in AA2024 friction stir welding. Numerical modeling of 3D plastic flow and heat transfer of stainless steels are reported by Nandan et al. (Ref 17). Zhang and Zhang et al. (Ref 18-20, 22) established 3D coupled thermo-mechanical models of FSW to study the material flows and temperature fields. Arora et al. (Ref 21) calculated strains and strain rates during FSW based on a CFD model. Zhang and Zhang (Ref 23) proposed a solid mechanics-based Eulerian model of FSW and focused on the power and heat generations. Several interesting models were proposed to predict the grain structure evolutions. Pan et al. (Ref 24) presented a new smoothed particle hydrodynamics (SPH) model of FSW and predicted microstructure evolutions of magnesium alloys. Saluja et al. (Ref 25) developed a cellular automata coupled finite element (CAFE) model to predict the grain size distribution during friction stir welding and the influence of weld defects on the formation of FSW sheets. Song et al. (Ref 26, 27) used cellular automation modeling in the prediction of recrystallization microstructure evolutions and phase transformations during friction stir welding of titanium alloys. Similar to the cellular automata method, Monte Carlo method is also widely applied in the grain growth simulation in thermo-mechanically coupled process (Ref 28, 29).

Grain growth process in welding zones during FSW is a vital aspect to the joint properties. In previous works (Ref 30, 31), the authors have proposed a Monte Carlo model to simulate the grain growth in friction stir welding of aluminum alloys. In the models, temperature-driven grain growth and strain rate that affected dynamical recrystallization were implemented. However, aluminum alloys usually contain precipitations. Grain growth kinetics and grain boundary migration can be influenced by the precipitations. Many research results have proved that the existence of precipitations can influence the grain growth kinetics of alloys. Nishizawa et al. (Ref 32) examined the Zener relationship between grain size and particle dispersion. Haghighat and Taheri (Ref 33) and Moelans et al. (Ref 34) modeled the grain evolutions by using Monte Carlo method and phase field method, respectively. The influence can be connected to the volume fractions of precipitations, the average sizes of precipitations, the initial grain sizes (Ref 35), and the dispersion and morphology of precipitations (Ref 36). However, the detailed influences and mechanisms about grain growth with the pinning effect in friction-stir-welded aluminum alloys are seldom reported. So based on previous works (Ref 30, 31), we present a computational fluid dynamics model of AA6082-T6 coupled with a Monte Carlo simulation method to predict the grain growth process with the considerations of pinning effect caused by precipitations. Five different welding conditions are simulated to investigate the influence of different welding parameters on the width distributions of the stirring zones. Several positions in the stirring zones in each case are selected to study the detailed thermal and mechanical experience of welded materials. Then, the grain growth kinetics with the consideration of precipitations is simulated.

Model Description

CFD Model of FSW

A computational fluid dynamics (CFD) model is used to simulate the friction stir welding process. The material of welded plates in this work is chosen to be AA6082-T6, and it is modeled by a visco-plastic flow field in CFD model. The thermal and flow problems were coupled together during the solving process. The constitutive law of the modeled material is defined by:

$$\dot{\bar{\varepsilon }} = A_{0} \left[ {\sin h\left( {\alpha_{0} \bar{\sigma }} \right)} \right]^{{n_{0} }} e^{{\left( { - Q/RT_{\text{abs}} } \right)}}$$
(1)

where T abs is the absolute temperature. Q is activity energy and equals 146 kJ mol−1(Ref 37). R is gas constant and equals 8.31 J mol−1 K−1. α 0, n 0 and A 0 are equation coefficients, which are derived from experimental tests (Ref 37), and the values are taken as 6.49, 0.0238 and 8.0 × 109, respectively. \(\dot{\bar{\varepsilon }}\) is the equivalent strain rate, and \(\bar{\sigma }\)is the flow stress.

When CFD model is used to simulate the visco-plastic flow of the heated metals, the viscosity of the fluid fields should be calculated from the flow stress and equivalent strain rate (Ref 38):

$$\mu = \frac{{\bar{\sigma }}}{{3\dot{\bar{\varepsilon }}}}$$
(2)

Average equivalent strain rate magnitude in stirring zones is used to simplify the iterations in Eq 1 and 2; the strain rate tensor components are calculated from the velocity gradient (Ref 21):

$$\dot{\varepsilon }_{ij} = \frac{1}{2}\left( {\frac{{\partial u_{i} }}{{\partial x_{j} }} + \frac{{\partial u_{j} }}{{\partial x_{i} }}} \right)$$
(3)

Then the equivalent strain rate magnitude is calculated by:

$$\dot{\bar{\varepsilon }} = \sqrt {\frac{2}{3}\dot{\varepsilon }_{ij} \dot{\varepsilon }_{ij} }$$
(4)

The thermal properties such as heat conductivity and specific heat of AA6082-T6 are considered to be functions of temperatures during the computing, and the detailed values used in this work can be found in Table 1 according to a previously established CFD model of FSW in Ref 39.

Table 1 Temperature-dependent properties of material modeled

Figure 1 illustrates the schematic of CFD model. The welding tool is fixed at the middle position of the plate. The motions of welding tool are represented by the boundary conditions. The transverse speed is represented by the inlet velocity. Velocity of materials at the shoulder and pin contact surfaces is defined to be the same with the rotation speed of the welding tool (Ref 38).

Fig. 1
figure 1

CFD model of FSW

During FSW process, the heat can be generated from both the friction and the plastic deformation. But the plastic dissipation cannot be directly incorporated in CFD model. This is the reason that the heat input on the contact surfaces used in CFD model is generally larger than the solid mechanics-based model (Ref 19, 23). The current method for prediction of temperature field has been validated in previous works (Ref 39, 40).

On the shoulder contact surface, the heat input power is computed by (Ref 40):

$$P_{\text{s}} = \frac{4}{3}\pi^{2} \mu_{\text{f}} \frac{{F_{\text{p}} }}{{A_{\text{s}} }}\frac{{\omega_{0} }}{60}\left( {r_{\text{s}}^{3} - r_{\text{p}}^{3} } \right)$$
(5)

where μ f is the friction coefficient, which varies with the rotation speed. F p is the axial force acted on the shoulder contact surface. A s is the area of shoulder contact surface. ω 0 is the rotation speed of the shoulder. r s and r p are the radii of shoulder and welding pin, respectively.

Heat input power on the side surface of the welding pin is calculated from the pressure acted on the pin (Ref 40):

$$P_{\text{ps}} = \int_{0}^{2\pi } {\int_{0}^{h} {2\pi \mu_{\text{f}} p_{\text{ps}} \frac{{\omega_{0} }}{60}r_{\text{p}}^{2} {\text{d}}z{\text{d}}\theta } }$$
(6)

where p ps is the pressure acted on the side surface of welding pin, which is derived from the flow field. h is the length of the pin.

The bottom and the two side surfaces of the plates are assumed to keep contact with metal fixtures. The thermal boundary conditions of these surfaces are set as heat convection of 350 W m−2 according to Ref 41. Top surface is exposed to the air and the heat convection is set as 30 W m−2 (Ref 41). The heat transfer boundary conditions and the heat convective coefficient of the modeled materials are summarized in Tables 1 and 2.

Table 2 Boundary conditions and thermal properties (Ref 39, 41)

The models are established and calculated by ANSYS FLUENT solver based on finite volume method. ANSYS FLUENT uses a control-volume-based technique to convert a general scalar transport equation to an algebraic equation that can be solved numerically. The following equation in discrete form is applied to each meshed cell in the computational domain during the solving:

$$\frac{\partial \rho \phi }{\partial t}V + \sum\limits_{f}^{{N_{\text{f}} }} {\rho_{\text{f}} \vec{v}_{\text{f}} \phi_{\text{f}} \cdot \vec{A}_{\text{f}} } = \sum\limits_{f}^{{N_{\text{f}} }} {\varGamma_{\phi } \nabla \phi_{\text{f}} \cdot \vec{A}_{\text{f}} } + S_{\phi } V$$
(7)

where ρ is the density, ϕ is transported scalar quantity, V is the control cell volume, Nf is the number of faces enclosing meshed cell, ϕf is the value of ϕ convected through face f, \(\rho_{\text{f}} \vec{v}_{\text{f}} \phi_{\text{f}} \cdot \vec{A}_{\text{f}}\) is the mass flux through the face, and S ϕ is the source of ϕ per unit volume.

The computing zone has been meshed into 837771 tetrahedral cells and 173369 nodes to guarantee computing precision. Material properties, which are depending on the temperature fields, viscosity of the flow and boundary conditions, are defined by compiled C language during the iterations. It is obviously known that both the increase in axial forces and rotation speeds can increase the temperature fields of welded plates. So a series of cases with different welding parameters are simulated to study the detailed influence of axial forces and rotation speeds on the FSW process and final microstructures in the stirring zones. The dimensions and the welding parameters used in this work are shown in Table 3. In cases 1-3, the welding speeds keep constant, but the axial forces are increased from 2.2 to 2.8 kN. In cases 4, 2 and 5, the axial forces are kept as 2.5 kN, but the rotation speeds are increased from 500 to 1000 r min−1. Axial forces are selected according to experiments on FSW of 6xxx series aluminum alloys (Ref 42, 43).

Table 3 Dimensions and welding parameters

In order to validate the model, one case with the same welding parameters and dimensions of welding plate with the experimental conditions from Ref 42 is calculated. The predicted temperature values across the welding seam are compared and validated with the measured values, as shown in Fig. 2.

Fig. 2
figure 2

Validation of FSW model with 1040 r min−1 and 100 mm min−1

Microstructure Simulation Model

In this work, a Monte Carlo algorithm is used to simulate grain structure evolutions in stirring zones of modeled cases. A real square area of S a mm2 in stirring zone is represented by a N × N lattices system. Each lattice point has been given a number among 1 ~ q to describe its crystallographic orientations. If adjacent lattices have the same number of orientation, then they are considered to form one grain as shown in Fig. 3. At the initial step of simulation, randomly picked orientations are given to each lattice site. At each grid point, the energy of lattice is calculated from the Hamiltonian (Ref 44):

$$E = - J\sum\limits_{i = 1}^{m} {(\delta_{{q_{i} q_{j} }} - 1)}$$
(8)

where J is a positive constant representing the grain boundary energy. m is the total number of sites near one lattice point, which is equal to 8 in current model. δ is the Kronecker function. The total energy of the lattice system can be derived by the summation of all grid points.

Fig. 3
figure 3

Schematic of lattice system

During the whole welding periods, grains in the welding zones can grow due to the grain boundary migration. The driving force of this process is the reduction in grain boundary areas and reduction in grain boundary energies. In Monte Carlo simulation, reorientation is used to model this process. During each reorientation step, a lattice site at random position can be chosen and its orientation is trying to change to a new randomly picked one. The possibility of acceptance of the new orientation p can be calculated by the change of lattice system’s total energy (Ref 44):

$$p = \left\{ \begin{array}{ll} 1,&\quad\Delta E \le 0 \hfill \\e^{ -\frac{\Delta E}{k_{\text{B}} T_{\text{abs}} }} ,&\quad\Delta E> 0 \hfill \\ \end{array} \right.$$
(9)

where ΔE is the system’s energy change during reorientation. k B is the Boltzmann constant. During the computation of acceptance possibility in Eq 9, the value of term \(\frac{J}{{k_{\text{B}} T_{\text{abs}} }}\) is assumed to be 1 (Ref 45). In each MC step, the above reorientation iteration is repeated for N 2 times.

Materials in stirring zone suffer severe deformation and high temperature. In the cooling periods, the recrystallization phenomenon must be considered in the model along with Monte Carlo simulation of grain growth. In this model, the recrystallized nucleus is created on the boundaries of grains. The acceptance of created recrystallization nucleus is subjected to a probability, which is calculated from the rate of nucleation proposed by Ding and Guo (Ref 46):

$$P_{\text{nucl}} = D\dot{\bar{\varepsilon }}_{\hbox{max} } \exp \left( { - \frac{Q}{{RT_{\text{abs}} }}} \right)$$
(10)

where D is a ratio constant and is chosen as 103. \(\dot{\bar{\varepsilon }}_{\hbox{max} }\) is the maximum value of equivalent strain rate magnitude experienced by materials along the streamlines. The nucleation rate for recrystallization is considered as the functions of both temperature and deformation in the stirring zone. During each Monte Carlo step, lattice sites located at grain boundaries can be chosen for one time and can be decided whether to be changed to a nucleation embryo according to the above probability.

In order to incorporate precipitations into the model to study the pinning effect on grain boundary movement, a special orientation q i  = q + 1 is assigned to lattice sites that represent the precipitations. One lattice site is chosen to represent one particle of precipitation in this model. The number of inserted precipitations is computed according to the volume fraction (V f) of precipitations. In the experimental and numerical works reported by Bardel et al. (Ref 47) and Myhr et al. (Ref 48) of 6xxx series aluminum alloys, it is proved that the volume fraction of precipitations decreases with the increase in temperature. The reported relationship is a nonlinear function. In this work, V f is assumed to be constant during each individual Monte Carlo simulation case. The value of V f is chosen from Table 4, according to Ref 47, 48. The maximum temperature experienced by materials of each thermal cycle is used for the determination of V f.

Table 4 Maximum temperature vs. volume fraction of precipitations in the model (Ref 47, 48)

The Monte Carlo simulation procedure is controlled by the MC steps. It is important to build the relationship between the MC steps and the real time during the welding. CFD model provides the histories of thermal cycles versus real time, and then, MC steps are calculated from the thermal cycles by several empirical and analytical functions. The simulated average grain size could be fitted as a function:

$$L = K_{1} \lambda (MCS)^{{n_{1} }}$$
(11)

where L is the simulated average grain size, and it is estimated from the total number of grains n 0 in the system by: \(L = \sqrt {S_{\text{a}} /n_{0} }\).

The grow rate of grains and the velocity of grain boundary migration v are assumed to follow a relation (Ref 30, 31):

$$\frac{{{\text{d}}L}}{{{\text{d}}t}} = \alpha v^{n}$$
(12)

where α and n are material parameters.

And v is defined as (Ref 49):

$$v = \frac{{AZV_{\text{m}}^{2} }}{{N_{\text{a}}^{2} h}}\exp \left( {\frac{{\Delta S_{\text{f}} }}{R}} \right)\exp \left( { - \frac{Q}{RT}} \right)\left( {\frac{2\gamma }{L}} \right)$$
(13)

In Eq 13, A, Z, V m, R, N a and h are physical constants. ΔS f and γ are material parameters of aluminum alloys. The values of parameters in this model are summarized in Table 5 (Ref 30, 37, 50, 51). Then, the relation of MC steps versus time t can be obtained by combination of Eq 11 and 13,

$$(MCS)^{{(n + 1)n_{1} }} = \left( {\frac{{L_{0} }}{{K_{1} \lambda }}} \right)^{n + 1} + \frac{{(n + 1)\alpha C_{1}^{n} }}{{(K_{1} \lambda )^{n + 1} }}\sum {\left[ {\exp^{n} \left( { - \frac{Q}{{RT_{i} }}} \right)t_{i} } \right]}$$
(14)

where \(C_{1} = \frac{{2A\gamma ZV_{\text{m}}^{2} }}{{N_{\text{a}}^{2} h}}\exp \left( {\frac{{\Delta S_{\text{a}} }}{R}} \right)\) is the integration constant.

Table 5 The parameters used in the model

In order to validate the microstructure simulations in the proposed recrystallization model, an example in comparison with the experimental observation in friction stir welding of pure aluminum reported by Morisada et al. (Ref 52) is selected. All the parameters used in the validation model are exactly the same with the Ref 52. Monte Carlo steps are calculated from the thermal cycle estimated by the velocity time history and the measured maximum temperature (713 K) (Ref 52). Different strain rates are used to validate the recrystallization model. Three grain growth cases at strain rates of 9, 11 and 13.4 s−1 are examined. The validated results are illustrated in Fig. 4. The predicted grain sizes and grain microstructures match well with the observed results (Ref 52).

Fig. 4
figure 4

Validation of the recrystallization model influenced by different strain rates

Results and Discussion

Temperature Distribution and Materials Flow

The peak temperatures of the simulated five cases are illustrated in Fig. 5. Temperature contour on the top surface in case 2 is showed as an example due to the similar contour shapes in different cases. The temperature fields are symmetrical along the welding seam. The maximum temperature appears at the shoulder contact surface. Temperatures decrease rapidly with the increase in distance from the welding tool. Temperature gradient is not the same before and behind the welding tool, so the shapes of temperature contours are similar to ellipses. Both the increase in axial pressure and rotation speed can increase the welding temperature. Peak temperature increases from 658 to 802 K when the rotation speed increases from 500 to 1000 r min−1 in cases 4, 2 and 5. When the axial force increases from 2.2 to 2.8 kN in cases 1, 2 and 3, peak temperature increases from 652 to 809 K.

Fig. 5
figure 5

Temperature field and peak temperature of simulated cases

Based on the calculated velocity fields, streamlines of the simulated materials flow can be derived. Figure 6 shows the streamlines of materials flow on top and bottom surfaces in case 4 as an example. The directions of rotation and transverse speeds are the same with the directions in Fig. 1. The materials’ flow paths indicate that the severe materials flow mainly occurs at the shoulder contact surface. Materials at the advancing side flow around the pin to the retreating side and finally deposit behind the welding tool. The simulated materials flow and streamlines agree well with the experimental and numerical results reported in Ref 53. Compared with experimental works, numerical simulations are more convenient to study the ranges of stirring zones according to numerical predicted streamlines. In stirring zone, materials suffer severe deformations and rotate around the tool pin to form the nugget zones. The profile of streamlines in stirring zones was illustrated as high-density and closed velocity vector circles (Ref 54). By this criterion, the range of stirring zones of different cases could be specified from the path lines. In Fig. 6, dashed lines have marked the ranges of stirring zones. The widths of stirring zones on top and bottom surfaces of simulated cases are summarized in Table 6, where the minus values represent the width from retreating sides and the positive values represent the width from advancing sides. The welding seam is located at 0 mm.

Fig. 6
figure 6

Flow streamlines on top and bottom surfaces of case 4. (a) Top surface, (b) bottom surface

Table 6 Predicted ranges of stirring zones

Obviously, materials on bottom surfaces are not directly stirred by welding tools. The width of stirring zone on bottom surfaces is smaller than that on top surfaces. The ranges of stirring zones at the advancing sides are wider than the retreating sides, which is caused by the different flow characteristics at the two sides. It is notable that the range of stirring zones is also increased on both top and bottom surfaces when the rotation speeds and axial forces are increased.

Thermal cycles and deformation histories extracted along the streamlines are the basic data to investigate the microstructure evolutions in stirring zones. From the contours of temperature distribution in Fig. 5, it is clearly seen that the temperature decreases with the increase in distance from the welding seam. Then, in order to investigate the regulations between temperature histories and path lines’ positions, temperature versus time, which is extracted from path lines at different sides and surfaces in stirring zones, is exhibited in Fig. 7. The tendency of all the temperature history curves is similar. The temperature quickly rises when the path line approaches the stirring zone and quickly drops when the path line leaves the stirring zone. Peak temperatures along path lines at advancing sides and retreating sides are similar. Peak temperatures on top surfaces are higher than that on bottom surfaces. Thermal cycles along streamlines at various positions could be extracted to calculate MC simulation steps by Eq 14.

Fig. 7
figure 7

Temperature extracted along streamlines in cases. (a) Case 1, (b) case 2, (c) case 3, (d) case 4, (e) case 5

Maximum equivalent strain rates along different streamlines are illustrated in Fig. 8. The equivalent strain rates reach peak values when the materials flow into the stirring zones. Equivalent strain rates at the advancing sides are higher than that at the retreating sides. At the advancing side, the maximum \(\dot{\bar{\varepsilon }}\) increases with the increase in distance to the welding seam within the stirring zone. At the retreating side, the maximum \(\dot{\bar{\varepsilon }}\) decreases with the increase in distance to the welding seam within the stirring zone. This is caused by the different features of path lines at advancing and retreating sides. \(\dot{\bar{\varepsilon }}\) near the bottom surface is much smaller than top surface due to the lower material flow. The increase in the axial forces and the rotation speeds can lead to the increase in temperature and the flowability of materials. As a consequence, \(\dot{\bar{\varepsilon }}\) is increased with the increase in the axial forces and the rotation speeds. Peak value of \(\dot{\bar{\varepsilon }}\)in the five cases reaches 74.1 s−1 on the top surface in case 5, while the minimum value of \(\dot{\bar{\varepsilon }}\) is only 11.8 s−1 on bottom surface in case 4. The above equivalent strain rate histories computed based on velocity fields in stirring zones are reasonable compared with reported values in Ref 55, 56. The computed strain rate histories can be used in the recrystallization evolution models for the prediction of the grain growth.

Fig. 8
figure 8

Maximum equivalent strain rate along streamlines

Microstructure Evolutions

In this model, a grid system which consists of 600 × 600 lattice sites is used to simulate a real area of 400 × 400 μm2 in stirring zones at different positions. The number of orientations q is equal to 100. This means each grid site represents approximately 0.67 μm real length. The lattice number is sufficient in accuracy to model grain boundary immigration that forced grain growth and precipitation evolutions compared with values in Ref 57-59. In order to determine the system constants K 1 and n 1, grain growth process without recrystallization and pinning effect is simulated. From linearly fitted function of the grain growth kinetics relation, the system constants are computed. K 1 equals 1.0 and n 1 equals 0.46, respectively. The value of grain growth time exponent n 1 calculated in this model agrees well with the value reported in Ref 45.

Based on the extracted thermal cycles and deformation histories along flow streamlines at different positions in the selected cases, grain microstructure evolutions with considerations of pinning effect and recrystallization can be simulated. Figure 9 shows the volume fractions of precipitations and MC steps of simulated cases at different positions. From Fig. 9(a), it can be seen that values of V f increase with the increase in distance to the welding center. Values of V f are lower on the top surfaces than that on the bottom surfaces. At top surfaces in case 3 and case 5, V f can decrease to 0 due to the fact that the maximum temperatures exceed 770 K. According to Eq 14, Monte Carlo simulation steps are connected to the thermal cycle along streamlines. In Fig. 9(b), it can be seen that MC steps decrease with the decrease in peak temperatures.

Fig. 9
figure 9

Volume fractions of precipitations and Monte Carlo steps at different positions. (a) Volume fraction of precipitations at different positions, (b) Monte Carlo simulation steps at different positions

Interpolated contours of predicted grain sizes in stirring zones are illustrated in Fig. 10. The results show that the final simulated grain sizes are an obviously positive correlation to the temperature distributions. Grain sizes on the top surfaces are higher than that on the bottom surfaces, which is in accordance with experimental observations (Ref 55). The grain size decreases with the increase in the distance from the center welding seam. Average grain sizes increase with the increase in axial forces and rotation speeds. Predicted maximum grain size appears on the top surface in case 3 which can reach 13.96 μm. Grain sizes at advancing sides and retreating sides are almost symmetrical. In case 2, the contour of grain size is more uniform than other cases, which is caused by more uniformly distributed values of V f and MC steps in stirring zone, as shown in Fig. 10. When the welding parameters used in the simulation are 715 r min−1 and 71.5 mm s−1 of case 2, the final predicted average grain size in stirring zones is 11.5 μm, and this predicted value agrees well with the experimental observations reported in Ref 60 of average grain size 11.7 μm in stirring zone with the same welding parameters.

Fig. 10
figure 10

Interpolated contours of predicted grain sizes in stirring zones of simulated five cases

In order to exhibit the detailed grain growth in stirring zones, the relations between L and ln(MCS) at several chosen positions in case 5 are described in Fig. 11 as an example. The values of the eight curves’ slopes represent the growing speeds during the iterations of simulated grains. It is obviously seen that higher values of V f can reduce the grain growth rate. The pinning effect becomes more evident with higher V f. When the iterations of Monte Carlo simulation steps are identical, average grain size becomes bigger in the cases with lower level of pinning effect. The grain growth rate on bottom surfaces is obviously lower than the top surfaces. This phenomenon has proved that higher volume fraction of precipitations can hinder the migration of grain boundaries. It is notable that grain growth rates at advancing sides are slightly lower than that at retreating sides due to the different recrystallization probabilities at the two welding sides. Equivalent strain rates are higher at advancing sides than that at retreating sides. The higher values of \(\dot{\bar{\varepsilon }}\) lead to a higher probability for the acceptance of recrystallized crystal nucleus during the calculation.

Fig. 11
figure 11

Simulated grain growth process in case 5

Figure 12 compares three cases with different levels of precipitations. V f is 0.8% in Fig. 12(a), 0.5% in Fig. 12(b) and 0.2% in Fig. 12(c), respectively. The grain boundaries are represented by blue lines, and the precipitations are represented by red points in Fig. 12. The positions for the grains shown in Fig. 12 are 1 mm away from the centerline at the retreating sides on the bottom surface. The maximum equivalent strain rates on the selected positions are similar. So, the recrystallization and the nucleation in the three cases are almost the same. The only different factor that affects the grain growth rates is the pinning effect. The pinning effect of precipitations on the grain boundary movement is obviously seen from the comparison of the microstructures. At the same Monte Carlo steps shown in Fig. 12, larger average grain size can be obtained at lower volume fraction.

Fig. 12
figure 12

Simulated microstructure evolutions. (a) On bottom surface, 1 mm at RS, case 1 (V f = 0.8%). (b) On bottom surface, 1 mm at RS, case 2 (V f = 0.5%). (c) On bottom surface, 1 mm at RS, case 3 (V f = 0.2%)

Conclusions

Grain structure evolutions during friction stir welding of AA6082-T6 are investigated with the presence of precipitations via a Monte Carlo simulation method and CFD model. Five cases with different axial forces and rotation speeds are simulated to study the effect of the process parameters on the thermal cycles, flow patterns, equivalent strain rates, widths of welding zones, the final grain sizes and the grain structures. The main results are summarized as follows:

  1. 1.

    Precipitations can hinder the grain boundary immigrations and then decrease the grain growth rate. With the increase in axial forces and rotation speeds, the volume fractions of precipitations decrease. Lower volume fractions of precipitations can increase grain growth rates and final grain sizes.

  2. 2.

    The volume fraction of precipitations varies with the positions in the stirring zones evidently. The volume fraction increases with the increase in distance to the center line quickly. The volume fraction of precipitation is higher on the bottom surfaces than that on the top surfaces. Grain growth rates are higher at the positions with lower volume fraction of precipitation in the stirring zones.

  3. 3.

    Grain growth rates are slightly higher at the retreating sides than that at the advancing sides. This is caused by the different maximum equivalent plastic strain rates at the advancing and retreating sides. The possibility of acceptance of recrystallized crystal nucleus increases with the increase in the maximum equivalent plastic strain rates.