1 Introduction

Additive manufacturing (AM), as an emerging manufacturing technology, has attracted worldwide attention in the last few decades owing to its ability to quickly produce complex shaped structures [1,2,3]. Additive manufacturing technology usually uses powder or wire as raw materials, and parts are prepared layer by layer under the action of heat sources such as lasers, electron beams, and arcs [4,5,6]. Among numerous metal materials, aluminum alloy has become the second most commonly used structural alloy after steel on account of its exceptional properties and low-density characteristics, playing an important role in the aerospace industry [7, 8]. However, there are many problems with additive manufacturing aluminum alloys. For example, aluminum alloys are prone to oxidation at high temperatures [9] and are prone to generating a large number of pores [10]. The high reflectivity of aluminum alloys to lasers leads to low energy utilization [11].

The additive manufacturing technology using an electron beam as a heat source can effectively solve the above-mentioned problems in aluminum alloy processing. There are two technologies: electron beam selective melting (EBSM) technology using powder as raw material [11, 12] and wire-feed electron beam additive manufacturing (EBAM) technology using wire as raw material [13, 14]. The EBAM technology using wire as raw material has the advantages of large forming size and high efficiency, which is suitable for manufacturing large structural components such as those in aerospace structures and has attracted the attention of researchers in recent years [15,16,17].

However, repeated thermal cycles and large temperature gradients during additive manufacturing can lead to very high residual stress [18], which is detrimental and may restrict the widespread application of metal additive manufacturing in industry. Compared to additive manufacturing technology using laser and arc as heat sources, additive manufacturing technology using the electron beam as heat source has a lower cooling rate in vacuum, which is very beneficial for controlling residual stress. There are various experimental methods for measuring residual stress, such as X-ray diffraction [19, 20], hole drilling method [21, 22], and neutron diffraction [23, 24]. However, these experiments are both expensive and time-consuming. Therefore, the finite element method (FEM) is a prevalent approach in thermomechanical analysis to predicate residual stress and deformation.

Sun et al. [25] analyzed the residual stress distribution characteristics of aluminum alloy wire arc additive manufacturing (WAAM) components through numerical simulation. Zhao et al. [26] established a coupled finite element model for the thermal structure of selective laser melting (SLM) of 7075 aluminum alloy. An investigation was conducted to analyze how variations in process parameters influenced temperature and stress distributions. Caiazzo et al. [27] established a residual stress analysis model based on laser directed energy deposition (DED) of 2024 aluminum alloy. By comparing the actual stress with X-ray diffraction results, the correctness of predicting residual stress was verified. Vastola et al. [28] used Ti6Al4V alloy as the research object to conduct finite element modeling of electron beam selective melting process. They investigated how the magnitude and distribution of residual stress were influenced by various factors. Chen et al. [29] established a thermodynamic model considering solid-state phase change (SSPC) temperature to simulate the process of Ti6Al4V alloy component fabricated by EBAM, and proposed a method for controlling deformation. However, there are few reports on the finite element simulation of residual stress in the manufacturing of aluminum alloy with wire-feed EBAM. Therefore, it is essential to establish a thermal–mechanical coupling model for the process of aluminum alloy fabricated by wire-feed EBAM, which can be used to clarify the occurrence mechanism and control measures of residual stress in EBAM and has important guiding significance for the manufacturing of high-performance aluminum alloy aerospace structural components.

In this study, the aluminum alloy wire BJ-380D was used to construct a thin-wall structure on the 2A14 substrate by wire-feed EBAM. A thermal–mechanical coupling simulation model was established to simulate the manufacturing process of wire-feed EBAM and systematically predict the temperature, stress and deformation developed in the built aluminum alloy structure for the first time. The model’s accuracy was confirmed through a comparison between the computed residual stress and measured by hole drilling and X-ray measurement methods. On this basis, the residual stress distribution in wire-feed EBAM was elucidated. Quantitative analysis was conducted on the correlation between residual stress, deformation, and heat input, providing a guideline for controlling residual stress and deformation in the fabrication of large aluminum alloy components by wire-feed EBAM.

2 Experiment method

The substrate used in the wire-feed EBAM experiment was 2A14 aluminum alloy, and the wire material was BJ-380D aluminum alloy with a diameter of 1.6 mm. Table 1 shows the chemical compositions of BJ-380D wire and 2A14 substrate. The EBAM experiments were completed by the ZComplexX3 vacuum electron beam wire-feed additive manufacturing system. The electron beam voltage was 60 kV and the substrate movement speed was 400 mm/min. To achieve good deposition quality, the current of the first layer was set to 30 mA, the second layer was 25 mA, and the remaining layers were 20 mA. The dwell time between each layer was 60 s.

Table 1 Chemical compositions of BJ-380D wire and 2A14 substrate (wt%)

The thermocouples were used to measure the thermal cycle during the EBAM deposition process, as shown in Fig. 1. After the EBAM process, the residual stress was measured using the XRD method and hole drilling method. The Tianyuan 3D scanning system was used to perform 3D reconstruction on the specimen before and after deposition, and the point cloud data obtained was processed in CloudCompare software to create the coordinate cloud map of the specimen in the height (Z-axis) direction, based on which the deformation of the substrate after deposition was calculated.

Fig. 1
figure 1

Positions of thermocouples installed to measure temperature variations in the wire-feed EBAM process

3 Numerical modeling

3.1 Geometry model and boundary conditions

3.1.1 Geometry model

Figure 2 (a) is a schematic diagram of the geometric model. The size of the substrate was 200 mm × 200 mm × 10 mm. The dimensions of the deposited wall structure were set to be 100 mm × 7 mm × 9.8 mm based on the actual experimental results. The wall consisted of 14 layers, each with a thickness of 0.7 mm. The scanning path was in a reciprocating scanning mode along the X-axis. The software used for numerical simulation is ABAQUS, and the birth and death technique was used to simulate the forming process of the deposition layers [25, 30]. Birth and death mean the activation and deactivation of the elements. All pre-established elements of the deposition layers were first deactivated prior to the start of the analysis, and then corresponding elements of the deposition layers were activated step by step as the heat source moved until the deposition process was completed. The symmetry of the specimen was considered in constructing the finite element to save calculation time and cost.

Fig. 2
figure 2

a Schematic diagram and dimensions of the EBAM component, b Finite element mesh

On the premise of ensuring the calculation accuracy of the FE model, the overall number of grids was controlled to reduce calculation time. Due to the instantaneous heating of the electron beam, there was a significant temperature change in the deposition layer and its surrounding areas. Therefore, this model used finer grids for the deposition layer and its surrounding areas to ensure computational accuracy. At the same time, the substrate part far from the center of the heat source was calculated with a relatively coarse grid to control the overall number of grids and improve computational efficiency. The grid size of the deposition layer was 1 mm × 0.875 mm × 0.35 mm and the grid size of the substrate away from the deposition layer was 5 mm × 4 mm × 2.5 mm. The entire finite element model consisted of 19748 DC3D8 eight-node linear heat transfer hexahedral elements, as shown in Fig. 2 (b).

3.1.2 Boundary conditions

In the initial stage of the EBAM process, there is no heat input into the substrate. Therefore, the initial temperature is set to 30 ℃, which is the thermal initial condition. In addition, the ambient temperature is also set to 30 ℃. Due to the fact that EBAM is carried out in a vacuum environment, the thermal convection is ignored. The heat dissipation boundary conditions only include heat radiation, and the heat radiation expression is [30, 31]:

$$k\frac{\partial T}{\partial n}=-\sigma \varepsilon \left({T}^{4}-{T}_{0}^{4}\right)$$
(1)

where σ denotes the Stefan-Boltzmann constant, ε is the surface emissivity.

The schematic diagram of clamping and fixing the substrate is shown in Fig. 3(a). To approach the actual situation as closely as possible, the mechanical boundary conditions in finite element calculation are set as shown in Fig. 3(b). Among them, the nodes below the fixture are set to UX = UY = UZ = 0, all nodes near the supports on both sides of the substrate are set to UZ = 0, and the nodes at the symmetry plane are set to UY = 0.

Fig. 3
figure 3

a Schematic diagram of substrate fixed in EBAM process, b Boundary conditions applied in EBAM models

3.2 Material properties and heat source model

3.2.1 Material properties

The substrate used in this study is 2A14 aluminum alloy, and the wire material is BJ-380D aluminum alloy welding wire. During the electron beam heating process, the thermophysical properties of both materials will change. The calculation of temperature and stress involves many material thermophysical parameters. It is assumed that the material parameters are isotropic and the influence of latent heat is not taken into account. Due to the similarity in chemical composition of the two materials, there are few research reports on BJ-380D aluminum alloy welding wires, so the material parameters of 2A14 are used in the calculations. The density and Poisson's ratio vary little with temperature, so they are set as constants. The density of 2A14 aluminum alloy is 2.80 × 103 kg/m3 and the Poisson's ratio is 0.33. The variation of other thermophysical parameters of the materials with temperature was considered in this calculation, as shown in Table 2. Due to the significant differences in mechanical properties of aluminum alloys at different temperatures, this factor needs to be considered in the calculation. The stress—plastic strain relationship used in the simulation is shown in Fig. 4.

Table 2 Physical properties of 2A14 aluminum alloy
Fig. 4
figure 4

Stress—plastic strain relationship at different temperatures

3.2.2 Heat source model

The wire-feed EBAM process employed a double-ellipsoidal heat source model and is written as [32, 33]:

$${q}_{1}\left(x,y,z\right)=\frac{A6\sqrt{3}\eta {f}_{1}UI}{{a}_{1}bc\pi \sqrt{\pi }}{\text{exp}}\left(-\frac{3{x}^{2}}{{a}_{1}^{2}}-\frac{3{y}^{2}}{{b}^{2}}-\frac{3{z}^{2}}{{c}^{2}}\right) x\ge 0$$
(2)
$${q}_{2}\left(x,y,z\right)=\frac{A6\sqrt{3}\eta {f}_{2}UI}{{a}_{2}bc\pi \sqrt{\pi }}{\text{exp}}\left(-\frac{3{x}^{2}}{{a}_{2}^{2}}-\frac{3{y}^{2}}{{b}^{2}}-\frac{3{z}^{2}}{{c}^{2}}\right) x<0$$
(3)

where f1 + f2 = 2, f1 and f2 represent the distribution coefficients associated with the front and rear ellipsoidal heat sources respectively, a1, a2, b and c are the geometric parameters of double-ellipsoidal heat source, η is the energy absorption coefficient, A is the correction coefficient, U is the voltage, and I is the current. In this work, η is set to 1, A values for the first, second and subsequent layers are 0.5, 0.85 and 0.94, respectively.

4 Results and discussion

4.1 Experimental results and validation of numerical model

Two thermocouples were installed to measure the temperature changes as shown in Fig. 1. The two points were located 20 mm and 40 mm away from the center of the deposition layer, with a depth of 5 mm. Based on the experimentally measured temperature, the parameters of the heat source model were adjusted to ensure the accuracy of the numerical results. Figure 5 shows the temperature measurements and simulation curves at two points. It can be observed that the measured and calculated values are in good agreement. Therefore, the numerical simulation model for the EBAM process is reliable. In addition, the accuracy of the model is further ensured by comparing measured and calculated values of residual stress and deformation, which will be detailed in subsequent sections.

Fig. 5
figure 5

Comparison of numerically predicted and experimentally measured thermal histories during deposition

4.2 Temperature field distribution

Figure 6 shows the temperature distributions at different times during the EBAM process, which proceeds to the 1st, 5th, 9th, and 13th layers, respectively. The temperature contrast between the freshly deposited layer and the Ti6Al4V substrate becomes notably pronounced during the deposition of a single layer, with only a limited region of the substrate experiencing heating. As the number of deposition layers increases, more heat is transferred from the deposition layer to the substrate, and the substrate temperature gradually increases, and the size of the molten pool also significantly increases.

Fig. 6
figure 6

Temperature distributions after (a) 1 layer, b 5 layers, c 9 layers, d 13 layers of deposition

4.3 Residual stress distribution

Figures 7 and 8 show the longitudinal and transverse stress distributions respectively when the EBAM process proceeds to the middle of the 1st, 5th, 9th and 13th layers, the completion of deposition, and after cooling to room temperature. The simulation results indicate that due to the constraints of the clamp, there is significant stress concentration at the four corners of the substrate. The cooling and shrinkage of multiple deposited layers cause slight compressive stress on the top surface of the substrate during the deposition process. After cooling to room temperature, there is significant residual tensile stress at both ends of the interface between the deposition layer and the substrate. In addition, high tensile longitudinal residual stress presents in the middle part of the wall structure, while transverse stress is less significant.

Fig. 7
figure 7

Longitudinal stress distributions when EBAM process proceeds to the middle of (a) 1st layer, b 5th layer, c 9th layer, d 13th layer, to (e) completion of deposition, and (f) after cooling to room temperature

Fig. 8
figure 8

Transverse stress distributions when EBAM process proceeds to the middle of (a) 1st layer, b 5th layer, c 9th layer, d 13th layer, to (e) completion of deposition, and (f) after cooling to room temperature

After cooling to room temperature, the clamps were removed. Figure 9 shows the residual stress distribution before and after the clamp removal. It can be observed that the stress concentration around clamps disappears after removing the clamp, while the residual stress is still concentrated in the mid-part of wall structure and at both ends of the interface between the deposition layer and the substrate. In order to further characterize the residual stress, the computed stress distributions along three paths: center line of top surface of the substrate perpendicular to the deposition direction (L1), center line of top surface the wall structure along the deposition direction (L2), and center line of top surface of the substrate along the deposition direction (L3), were extracted and compared with the measured values. The findings are depicted in Fig. 10.

Fig. 9
figure 9

Stress distributions before and after the clamp removal: a and (b) the equivalent stress, c and (d) the longitudinal stress, e and (f) the transverse stress

Fig. 10
figure 10

The distributions of residual stresses in different paths: a L1, b L2, c L3, d schematic diagram of different paths

Figure 10(a) shows the stress distribution on path L1. It can be observed that the stress value in the internal area of the deposition layer is positive, indicating that the area is subjected to tensile stress. However, the longitudinal stress value in the area away from the deposition layer is negative, indicating that the substrate is subjected to compressive stress. The peak stress occurs at the centerline of the interface between the deposition layer and the substrate. All of the transverse stress value is positive, indicating tensile stress. In the area far from the deposition layer, the transverse stress value is close to zero. Compared to longitudinal stress, the transverse stress value on path L1 is lower. In addition, the measured values of longitudinal stress are relatively close to the calculated values, with errors within 10 MPa, indicating that the calculation model has high accuracy.

In Fig. 10(b), it is apparent that the longitudinal stress on path L2 is negative within about 10 mm from both ends of the deposited wall, and positive in the middle part. It indicates that the top deposition layer is subjected to compressive stress on both ends, and tensile stress in the middle part. The transverse stress along this path is all compressive, and the compressive stress at both ends are higher than the middle part. For comparison, the longitudinal stress at the middle region of the top surface of the wall was measured using XRD. The results were all tensile stress, and agreed well with the calculated results. The accuracy of the calculation model was verified again in regard to the stress analysis.

In Fig. 10(c), it is clear that the longitudinal stress value is greater than zero, indicating that the top surface of substrate and the interface between deposited wall and substrate are subjected to tensile stress along L3 path. At both ends of the deposition layer, there exist significant stress concentrations. After entering the deposition layer, the stress concentration disappears. The stress is symmetrically distributed, with the longitudinal stress being noticeably greater than the transverse stress.

4.4 Deformation of the substrate

The contour plots of the top and bottom surfaces of the substrate were measured after the EBAM experiment, as shown in Figs. 11(a) and 11 (b). It can be seen that after deposition, four corners the structure are warped upward and the center part is depressed, with a maximum deformation of 0.65 mm. The contour plots of the top and bottom surfaces of the structure were numerically predicted, as shown in Figs. 11(c) and 11 (d). It can be seen that the contour plots are consistent with the experimental measurement results. The deformation trend is the same, and the maximum warping deformation in the thickness direction is 0.71 mm, which is close to the experimental value.

Fig. 11
figure 11

Deformation of the substrate: measurements of (a) top surface and (b) bottom surface of the substrate, simulation of (c) the top surface and (d) bottom surface of the substrate

The deformation along the centerline perpendicular to the deposition direction (X = 0) on the bottom surface of the substrate was measured and compared with calculated values, as shown in Fig. 12. It can be found that the calculated value matches the measured value very well.

Fig. 12
figure 12

Deformation along the centerline of the bottom surface of the substrate (X = 0)

4.5 The effect of heat input on stress and deformation

The main process parameters involved in the EBAM process include voltage, current, and movement speed, which determine the heat input. Assume the heat input used in the previous sections is Q, and the stress distribution and deformation were calculated for heat inputs of 0.5Q, 0.75Q, 1.25Q, and 1.5Q, respectively.

The residual stress distributions under different heat inputs are shown in Fig. 13, and the stress is concentrated within the deposition layer. It can be clearly seen that the residual tensile stress increases with the heat input increases. It is widely believed that residual stress is generated due to high cooling rates and large thermal gradients in AM [34, 35]. The increase in heat input causes an increase in cooling rate and temperature gradient, resulting in an increase in residual stress.

Fig. 13
figure 13

The effect of heat input on stress distribution: a 0.5Q, b 0.75Q, c Q, d 1.25Q, e 1.5Q

Figures 14 and 15 show the deformation results and deformation curves of the bottom surface of the substrate under corresponding heat input, respectively. It can be found that the deformation is positively correlated with the heat input, the larger the heat input, the greater are the deformations. When the heat input is reduced from Q to 0.5Q, the maximum deformation of the substrate is reduced from 0.71 mm to 0.22 mm. When the heat input is increased to 1.5Q, the maximum deformation is increased to 1.14 mm. A 69% reduction and a 60.6% increase are resulted, respectively. Therefore, to reduce the deformation of the substrate and control residual stress, heat input can be appropriately reduced.

Fig. 14
figure 14

The effect of heat input on deformation: (a) 0.5Q, (b) 0.75Q, (c) Q, (d) 1.25Q, (e) 1.5Q

Fig. 15
figure 15

Deformation along the centerline of the bottom surface of the substrate (X = 0) for different heat input

5 Conclusions

A three-dimensional transient thermal–mechanical coupled FE model was established to comprehensively simulate the wire-feed EBAM of aluminum alloys for the first time, and the effect of heat input on residual stress and deformation was studied using the model.

  1. (1)

    This finite element model has high accuracy in predicting the temperature, stress, and deformation of aluminum alloy wall structures fabricated by wire-feed EBAM.

  2. (2)

    Longitudinal residual stress is much higher than transversal residual stress; the high tensile longitudinal residual stress exists mainly at both ends of the interface between the deposit and substrate and in the mid part of the deposited wall.

  3. (3)

    With the increase of heat input, the residual tensile stress in the deposition layer increases, and the deformation of the substrate also increases accordingly.

The model established in this work can be a powerful tool to optimize the process parameters in EBAM of aluminum alloy components, which can shorten the process development time and save experimental cost. In addition, it can also be used for controlling residual stress and deformation of EBAM aluminum alloy components.