1 Introduction

Metal additive manufacturing (MAW), a revolutionary advanced manufacturing technology, has attracted significant academic and industry interest in recent years owing to its ability to directly fabricate various complex or customized parts with low material wastage, short leading time, and customizable material properties [1]. As the most representative method of MAW, wire arc additive manufacturing (WAAM) developed from gas metal arc welding (GMAW), gas tungsten arc welding (GTAM), or plasma arc welding (PAW) is regarded as the most suitable candidate to fabricate large-scale metallic structure for the high deposition rates and low feedstock and equipment costs [2, 3]. Generally, WAAM process involves multiple complicated physical phenomena, including the melting of filler wire, the transition of droplets, the convective flow of high-temperature liquid metal inside the molten pool, the deformation of molten pool free surface, and the solidification of liquid metal [4, 5]. These complex physical processes comprehensively determine the shape and size of deposited layers [6], the microstructure[7], mechanical properties [8, 9], residual stresses, and distortion of components [10]. Therefore, creating a high surface finish, defect-free, and excellent mechanical component requires the accurate control of process parameters such as welding current, voltage, wire feed rate, travel speed, shielding gas type and flux, and the waiting time between layers, which significantly affect the above physical phenomena. Trial-and-error methodology is the conventional and currently the majority approach to study such problems. A. Gomez Ortega [11] reported the effect of process parameters on the geometrical characteristics of monolayer and multi-layer deposition of Al5Si alloy by WAAM. It was found that a gradual increase of travel speed was required to keep a constant layer width for the fabrication of multi-layer walls, which resulted from the heat accumulation of layer-by-layer stacking. In order to improve the geometry precision of parts, Xiong [12] used visual inspection of previous and current layers to achieve the excellent control of deposition height in WAAM via controlling the wire feed speed. The inter-pass cooling conditions have a significant influence on the morphology, microstructure, and mechanical properties of parts, as reported by [13]. Uwe Reisgen [14] proposed different process cooling strategies to increase the manufacturing efficiency of WAAM and pointed out that aerosol cooling can be a promising addition. M.J. Bermingham [15] explored additional post-processes such as heat treatment to optimize the mechanical properties of TC4 components fabricated by WAAM and found that stress relief treatments can improve the ductility by over 30%. Cong [16] systematically investigated the influence of arc mode in cold metal transfer (CMT) process, an advanced GMAW, on the porosity of additively manufactured Al-6.3Cu alloy. It was concluded that CMT pulse advanced was the most suitable process to deposit the aluminum alloy for the advantage of low heat input, and with the appropriate parameters, gas pores can be eliminated. However, this traditional experimental method is time-consuming, laborious, and expensive, especially for precious or rare metals. It is not only difficult to quantitatively analyze the internal physical mechanism but against the new development concepts of intelligent manufacturing and green manufacturing.

Numerical simulation, a powerful investigation method, provides an alternate solution to overcome the shortcomings of trial-and-error method. By discretizing and solving the corresponding governing equations, numerical simulation can visualize the evolution of various physical fields with scales ranging from macroscopic mechanical properties to microstructure morphology, so it conveniently assists to understand the internal physical mechanism in WAAM and guides the process optimization. Although GMAW-based WAAM is derived from GMAW which can be referenced, many existed mathematic models of GMAW are static welding and not suitable to apply to WAAM directly. Zhou [17] developed a 3D weak coupled arc and metal transport model and successfully simulated the arc, molten pool dynamic, and impingement of droplet in GMAW-based WAAM. By simplifying the molten pool to be solid state, the arc was calculated firstly to obtain the electromagnetic force, arc pressure, plasma shear stress, and heat flux, which were then transmitted to metal transport model as input. However, in metal transport model, the droplet was assumed to be a constant sphere and generated at a certain frequency, which was inconsistent with the process of droplet formation, growth, detachment, and entry into the molten pool in WAAM. Bai [18] developed a 3D model to analyze the fluid flow and heat transfer behaviors in multi-layer deposition of PAW-based WAAM. The volume of fluid (VOF) method was used to track the free surface of molten pool, and the porosity enthalpy method was employed to track the solid-liquid interface. Similar to the Zhou’s [17] model, the droplet transfer process was modeled as a mass source term in continuity equation, and the mass input position was a spherical region, which was determined by the actual experimental data. Y. Ogino et al. [19] proposed a 3D simplified model to simulate the WAAM process; the effect of deposition condition including inter-pass temperature, welding direction, and procedure on the shape of deposit was investigated, while the formation, growth, and detachment of droplet were also neglected. Hejripour [20] proposed a finite element model (FEM) to predict the first layer profile of WAAM process with dissimilar substrate. In this model, the current density, heat input, and arc pressure were considered as Gaussian distribution, and the profile of molten pool was computed from the minimization of the total potential energy of surface instead of VOF. To validate the simulation results, experiments were performed which showed a good agreement. Nevertheless, this model is hard to apply for multi-layer deposition, and the selections of arc efficiency, arc radius, and arc pressure require multiple computations by comparing numerical and experimental profiles of the weld pool. In order to omit the tedious verification and accurately describe the actual physical phenomena of droplet detachment, transfer into the molten pool and molten pool dynamic. Cadious [21] developed a 2D axisymmetric multi-physics model, considering the electromagnetism, fluid flow, and heat transfer in the droplet and molten pool. In this model, level set method was used in tracking interface, and operating parameters were the only knowledge that is required to simulate the geometry of component as well as its temperature field and velocity field without any assumption. However, because of the inherent shortcomings of 2D model, this model is only able to simulate one cross section of component similar to spot welding and can’t show 3D complete geometric features and the distribution of field variables at the third direction. What is needed but not currently available is a three-dimensional integrated multi-physics process model of WAAM that can accurately predict the evolution of morphology and various physical field variables under different process parameters, and such model will be of great value in forming control and the prediction of microstructure and mechanical properties.

In this paper, we develop a three-dimensional transient heat transfer and fluid flow model of GMAW-based WAAM, where the processes of droplet formation, growth, and detachment from the end of wire electrode, who travels dynamically along the scanning direction, are coupled with molten pool for the first time by considering their own mechanical conditions and solving the transport equations in the whole solution domain. The enthalpy-porosity method is used to handle the metal melting and solidification, and the dynamic meshing technique is used to extend the solution domain. This 3D model has the ability to reproduce the impingement of droplet into molten pool, the deformation of free surface of molten pool, and the molten metal collapse during multi-layer WAAM. It can also predict the influence of interlayer cooling condition on the deposit profile.

2 Experimental procedure

In this investigation, the wire of ER5356 with 1.2-mm diameter is used to fabricate a series of 40-mm-long deposited layers on a 50 mm×30 mm×4 mm baseplate of 5A05. The nominal chemical compositions of 5A05 and ER5356 are listed in Table 1. The schematic of WAAM system is shown in Fig. 1, a Panasonic digital MIG/MAG welding power source of direct current is used as heat source, and a six-axis-independent welding robot with control box and wire feed system is employed to achieve the motion of torch. The shielding gas is high-purity argon (99.99%). According the preliminary process window exploration, the process parameters, listed in Table 2, are used for the manufacturing of the single-pass single layer (SPSL), single-pass two layers (SPTL), and single-pass five layers (SPFL). The final products are shown in Fig. 2. In order to study the effects of idle time, two different cases of SPTL are considered. Figure 2b shows the deposit without interlayer idle time. Figure 2c shows the deposit with enough interlayer idle time to cool the temperature to 300K which is measured by handheld infrared thermometer. For the deposition of SPFL, it is conducted with enough interlayer idle time same as SPTL, shown in Fig. 2d. After the deposition, the middle cross sections of deposited beads are obtained by electric spark cutting, grinding, polishing, and etching using 20% hydrofluoric acid (HF) for 30s.

Table 1 The nominal chemical composition of used alloys (wt%)
Fig. 1
figure 1

The wire arc additive manufacturing system

Table 2 Deposition parameters used in experiments and simulations
Fig. 2
figure 2

The fabricated products using the process parameters listed in Table 2: a SPSL; b SPTL without interlayer idle time; c SPTL with enough interlayer idle time until 300K; d SPFL with enough interlayer idle time until 300K

3 Mathematical models

A three-dimensional transient numerical model is developed to investigate the heat transfer, metal transfer, and fluid flow of GMAW-based WAAM with droplet and molten pool coupled. The solution domain consists of air subdomain and metal subdomain, as shown in Fig. 3. Due to the geometric symmetry with respect to XZ plane, half of solution domain is used. The metal subdomain is the substrate whose size is 50 mm × 15 mm × 5mm. The air subdomain contains the shielding gas, droplet, molten pool, and solidified metal deposited layer by layer. The dynamic meshing technique is employed to expand the air subdomain along the deposition direction, whose initial height is set as 7mm according to the experimental observation of the location where wire begins to melt. The bidirectional scanning direction is adopted for multi-layers along the X axis. The areas of shielding gas inlet and liquid metal inlet are at the end of torch. The height of air subdomain increases by the same distance as the welding torch lift for each deposited layer, and this distance, Hl, can be obtained by Eq. (1) [22].

$$ {H}_l=\frac{A_{cs1}}{W_b} $$
(1)

where Acs1 and Wb are the cross-sectional area and the width of the first deposited layer, respectively.

Fig. 3
figure 3

Schematic of solution domain

3.1 Assumptions

Due to the complexity of the actual physical phenomena of WAAM and the rapid increase of calculation time, it is not realistic to couple all physical processes into a model for numerical simulation. Therefore, the following simplified assumptions are made to reduce the difficulty of modeling:

  1. (1)

    The process of wire feeding is equivalent to high-temperature liquid metal flowing from a virtual tube, and the velocity of liquid metal is equal to the wire feed rate [23].

  2. (2)

    Because the computational domain is expanding as the deposition layer increases, the shielding gas inlet is assumed to be at the same height as the liquid metal, and the mixture of shielding gas and air above the substrate is regard as pure argon.

  3. (3)

    The liquid metal is considered to be a laminar, incompressible, and Newtonian fluid [24], and the heat and mass loss caused by vaporization of liquid is not considered.

  4. (4)

    The thermal buoyancy–driven flow is calculated by Boussinesq approximation.

  5. (5)

    The arc plasma is neglected in the current model to furtherly save the simulation time, and the heat transfer to liquid metal is considered by a volumetric heat source.

3.2 Governing equations

Base on the abovementioned assumptions, the following partial differential equations governing the conservation equations of mass, momentum, and energy are solved:

Mass conservation equation:

$$ \nabla \cdotp \left(\rho \overrightarrow{V}\right)=0 $$
(2)

Momentum conservation equation:

$$ \frac{\partial \rho \overrightarrow{V}}{\partial t}+\nabla \cdotp \left(\rho \overrightarrow{V}\overrightarrow{V}\right)=\nabla \cdotp \left(\mu \nabla \overrightarrow{V}\right)-\nabla p+{\overrightarrow{F}}_{\mathrm{Darcy}}+{\overrightarrow{F}}_{\mathrm{liquid}} $$
(3)

Energy conservation equation:

$$ \frac{\partial \left(\rho H\right)}{\partial t}+\nabla \cdotp \left(\rho \overrightarrow{V}H\right)=\nabla \cdotp \left(k\nabla T\right)+{q}_{\mathrm{arc}}+{q}_{\mathrm{loss}} $$
(4)

where ρ is density, \( \overrightarrow{V} \) is velocity vector, μ is viscosity, p is pressure, \( {\overrightarrow{F}}_{\mathrm{Darcy}} \) is the momentum sink of partially solidified region, \( {\overrightarrow{F}}_{\mathrm{liquid}} \) is the total momentum source of liquid metal region resulting from various surface force and volume force, H is the enthalpy, k is thermal conductivity, T is temperature, qarc is the arc heat, and qloss is the heat loss.

The VOF technique, reported by Torrey [25], is adopted to track the metal-gas interface, and its equation can be written as:

$$ \frac{\partial F}{\partial t}+\nabla \left(\overrightarrow{V}F\right)=0 $$
(5)

where the scalar function F denotes the volume fraction of fluid. For two-phase flow model of metal liquid and argon liquid, the case of F=1 represents cells are full of liquid metal, the case of F=0 represents cells are full of argon, and the case of 0 < F < 1 represents the cells contain the interface between liquid metal and argon. In the VOF model, the material properties appearing in the transport equations are determined by the presence of the component phases in each control volume, such as the density in the two-phase flow model, which is calculated by:

$$ \rho =F{\rho}_{\mathrm{metal}}+\left(1-F\right){\rho}_{\mathrm{gas}} $$
(6)

where ρmetal is the density of metal phase and ρgas is the density of the gas phase.

The enthalpy-porosity technique [26] is employed to track the liquid-solid interface, which treats the mushy zone as a porous medium. The porosity is equal to the liquid fraction in each cell. The momentum sink caused by decreased porosity in mushy region is added to the momentum equation as a source term:

$$ {\overrightarrow{F}}_{\mathrm{Darcy}}=\frac{{\left(1-{f}_{\mathrm{l}}\right)}^2}{\left({f_l}^3+\varepsilon \right)}{A}_{\mathrm{Darcy}}\overrightarrow{V} $$
(7)

where ε is a small number (0.001) to prevent division by 0, ADarcy is mushy zone constant, and the higher this value, the faster of the velocity of material to zero as it solidifies. Since excessively large values may lead the solution to oscillate, values between 104 and 107 are commonly recommended for many calculations. fl is liquid volume fraction and is assumed to vary linearly with temperature:

$$ {f}_l=\left\{\begin{array}{c}0\kern2.95em \mathrm{if}\kern0.75em T<{T}_{\mathrm{s}}\\ {}\frac{T-{T}_{\mathrm{s}}}{T_{\mathrm{l}}-{T}_{\mathrm{s}}}\kern1em \mathrm{if}\ {T}_{\mathrm{s}}\le T\le {T}_{\mathrm{l}}\\ {}1\kern2.5em \mathrm{if}\kern1em T>{T}_{\mathrm{l}}\end{array}\kern1.25em \right. $$
(8)

The governing equations are solved in the whole domain, but the mechanical source terms Fliquid of momentum between droplet model and molten pool model are slightly different in Sects. 3.3 and 3.4.

3.3 Droplet mechanical model

In GMAW process, the welding wire acts as an electrode, and its tip melts to form droplets. During the droplet formation, evolution, and detachment, the forces acting on droplets involve gravity \( {\overrightarrow{F}}_{\mathrm{g}} \), buoyancy force \( {\overrightarrow{F}}_{\mathrm{buo}} \), surface tension \( {\overrightarrow{F}}_{\mathrm{st}} \), Marangoni force \( {\overrightarrow{F}}_{\mathrm{Ma}} \), electromagnetic force \( {\overrightarrow{F}}_{\mathrm{emd}} \), and plasma drag force\( {\overrightarrow{F}}_{\mathrm{pd}} \) [27]. Hence, the Fliquid of droplet model satisfies:

$$ {\overrightarrow{F}}_{\mathrm{liquid}}={\overrightarrow{F}}_{\mathrm{g}}+{\overrightarrow{F}}_{\mathrm{buo}}+{\overrightarrow{F}}_{\mathrm{st}}+{\overrightarrow{F}}_{\mathrm{Ma}}+{\overrightarrow{F}}_{\mathrm{emd}}+{\overrightarrow{F}}_{\mathrm{pd}} $$
(9)

The momentum source term for gravity is expressed as Eq. (10), and the buoyancy force caused by the difference of liquid metal density is considered by Boussinesq approximation and is written as Eq. (11):

$$ {\overrightarrow{F}}_{\mathrm{g}}={\rho}_{\mathrm{metal}}\overrightarrow{g} $$
(10)
$$ {\overrightarrow{F}}_{\mathrm{buo}}=-\rho \overrightarrow{g}\beta \left(T-{T}_l\right) $$
(11)

where \( \overrightarrow{g} \) is acceleration of gravity, β is thermal expansion coefficient, and Tl is liquidus temperature.

Surface tension is a force on the free surface of droplet and molten pool, which arises as a result of attractive force between molecules in a fluid, and can be described as the product of surface tension coefficient γ and interface curvature κ:

$$ {\tau}_{\mathrm{st}}=\gamma \kappa $$
(12)

Due to the moving of heat source, the distribution of temperature on the liquid metal surface is non-uniform, and a spatial gradient of surface tension, that is, Marangoni force, will be generated, which promotes the convection of liquid metal in the molten pool:

$$ {\tau}_{\mathrm{Ma}}=\frac{\partial \gamma }{\partial T}\frac{\partial T}{\partial \overrightarrow{s}} $$
(13)

where \( \overrightarrow{s} \) is the vector to free surface.

Because the metal-gas interface is an implicit interface which is tracked by the fluid volume between 0 and 1, the surface forces cannot be applied directly. Continuum surface force (CSF) method [28] is usually adopted to convert the surface force to volume force by multiplying a volume fraction gradient term. Therefore, volumetric form of surface tension and Marangoni force can be expressed as:

$$ {\overrightarrow{F}}_{\mathrm{st}}={\tau}_{\mathrm{st}}\nabla F\frac{2\rho }{\rho_{\mathrm{metal}}+{\rho}_{\mathrm{gas}}} $$
(14)
$$ {\overrightarrow{F}}_{\mathrm{Ma}}={\tau}_{\mathrm{Ma}}\nabla F\frac{2\boldsymbol{\rho}}{\rho_{\mathrm{metal}}+{\rho}_{\mathrm{gas}}} $$
(15)

The electromagnetic force is the result of the interaction of the current flowing the droplet and its own induced magnetic field. Generally, the distribution of current density in the droplet is difficult to obtain by the experimental measurements. In this study, we adopt the hypothesis proposed in Ref. [27], which considers that the current density is uniformly distributed at the interface between the droplet and wire and Gauss distributed at the end of droplet. Hence, the component of electromagnetic force along x, y, and z directions can be expressed as follows:

$$ {B}_{\mathrm{d}}=\frac{\mu_0 Ir\left(1-z/{H}_0\right)}{4\pi {R_{\mathrm{w}}}^2}+\frac{\mu_0 Iz}{4\pi {H}_0r}\left(1-\mathit{\exp}\left(-{k}_{\mathrm{d}}{r}^2\right)\right) $$
(16)
$$ {\overrightarrow{F}}_{\mathrm{emdx}}={B}_{\mathrm{d}}\left(\frac{rI}{4\pi {R_{\mathrm{w}}}^2{H}_0}-\frac{k_{\mathrm{d}} Ir\ast \exp \left(-{k}_{\mathrm{d}}{r}^2\right)}{4\pi {H}_0}\right)\ast \frac{x}{r} $$
(17)
$$ {\overrightarrow{F}}_{\mathrm{emdy}}={B}_{\mathrm{d}}\left(\frac{rI}{4\pi {R_{\mathrm{w}}}^2{H}_0}-\frac{k_{\mathrm{d}} Ir\ast \exp \left(-{k}_{\mathrm{d}}{r}^2\right)}{4\pi {H}_0}\right)\ast \frac{y}{r} $$
(18)
$$ {\overrightarrow{F}}_{\mathrm{emdz}}={B}_{\mathrm{d}}\left(\frac{I\left(1-\frac{z}{H_0}\right)}{2\pi {R_{\mathrm{w}}}^2}+\frac{k_{\mathrm{d}} Izexp\left(-{k}_{\mathrm{d}}{r}^2\right)}{2\pi {H}_0}\right) $$
(19)

where Bd is induced magnetic field intensity, r is the radial distance from the end of wire, I is current, Rw is wire radius, H0 is the length of droplet, kd is current concentration factor determined by \( \frac{1}{{\sigma_j}^2} \), σj is the distribution radius of current, and μ0 is magnetic permeability.

The plasma drag force on the droplet can be regarded as the pulling force on the sphere immersed in the moving fluid. In a fluid with uniform velocity, the pulling force on a sphere can be expressed as [29]:

$$ {\overrightarrow{F}}_{\mathrm{p}\mathrm{d}}={C}_{\mathrm{d}}{A}_{\mathrm{p}}{\rho}_{\mathrm{f}}{{\mathrm{v}}_{\mathrm{f}}}^2/\left(2\ast \rho {V}_{\mathrm{D}}\right) $$
(20)

where Cd is plasma flow coefficient, Ap is acting area of plasma determined by π(Rd2 − Rw2), the Rd is the droplet equivalent radius, the Rw is radius of droplet necking position, the ρf is the density of plasma, vf is the velocity of plasma, and VD is droplet volume. In this study, the value of ρf is approximated to argon density (6e−6kg/m3), and vf is assumed to be 100m/s.

3.4 Molten pool mechanical model

The fluid flow of molten pool has an important influence on the final geometry of deposited layer. In the present model, the body forces including gravity, buoyancy force, and electromagnetic force and the surface forces including surface tension, Marangoni force, and arc pressure are considered in the molten pool. The impact of droplet on molten pool is reflected automatically by solving the mass and momentum conservation equations uniformly in the whole solution domain. Therefore, the source term of momentum, Fliquid, for molten pool model can be written as:

$$ {\overrightarrow{F}}_{\mathrm{liquid}}={\overrightarrow{F}}_{\mathrm{g}}+{\overrightarrow{F}}_{\mathrm{buo}}+{\overrightarrow{F}}_{\mathrm{emm}}+{\overrightarrow{F}}_{\mathrm{st}}+{\overrightarrow{F}}_{\mathrm{Ma}}+{\overrightarrow{F}}_{\mathrm{arc}} $$
(21)

where the gravity, buoyancy force, surface tension, and Marangoni force of liquid metal in molten pool are the same as that of droplet model and can be obtained by Eqs. (10), (11). (12), (13), (14), and (15).

Similar to the droplet model, there is an induced magnetic field in the molten pool. Assuming that the current density is also Gauss distributed in molten pool [30], the electromagnetic force in the molten pool can be expressed as:

$$ {\overrightarrow{F}}_{\mathrm{emmx}}=\frac{\mu_0{I}^2x}{4{\pi}^2{r}^3L}{\left[1-\exp \left(-\frac{r^2}{{\sigma_{\mathrm{j}}}^2}\right)\right]}^2\left(1-\frac{z-{z}_0}{L}\right) $$
(22)
$$ {\overrightarrow{F}}_{\mathrm{emmy}}=\frac{\mu_0{I}^2y}{4{\pi}^2{r}^{32}L}{\left[1-\exp \left(-\frac{r^2}{{\sigma_{\mathrm{j}}}^2}\right)\right]}^2\left(1-\frac{z-{z}_0}{L}\right) $$
(23)
$$ {\overrightarrow{F}}_{\mathrm{emmz}}=\frac{\mu_0{I}^2}{2{\pi}^2r{\sigma_{\mathrm{j}}}^2}\exp \left(-\frac{r^2}{{\sigma_{\mathrm{j}}}^2}\right)\left[1-\exp \left(-\frac{r^2}{{\sigma_{\mathrm{j}}}^2}\right)\right]{\left(1-\frac{z-{z}_0}{L}\right)}^2 $$
(24)

where L is the thickness of substrate and z0 is z-coordinate value of arc starting location.

The arc pressure is the total pressure of arc plasma falling on the surface of the substrate and affected by current density of deposition [31]:

$$ {P}_{\mathrm{arc}}=\frac{\mu_0{I}^2}{8\pi {\sigma_{\mathrm{p}}}^2}\exp \left(-\frac{r^2}{2{\sigma_{\mathrm{p}}}^2}\right) $$
(25)

where σp is distribution radius of arc pressure. Arc pressure is reformulated as body force terms by using the CSF method as follows:

$$ {\overrightarrow{F}}_{\mathrm{arc}}={P}_{\mathrm{arc}}\nabla F\frac{2\rho }{\rho_{\mathrm{metal}}+{\rho}_{\mathrm{gas}}} $$
(26)

3.5 Heat source model

In GMAW process, the heat of welding arc is not only used to heat the base metal to generate molten pool but also used to heat the wire to form molten droplets. In the current model, the liquid metal is assumed to flow from the wire tip at a constant temperature of 1506K to form droplet, and during the growth and detachment of droplet, heat convection and heat radiation are experienced, as described in Sect. 3.6. The welding arc moves along the scanning direction, and the distribution of arc heat flux density is no longer a uniform circle, but a double ellipsoid with a wide back and a narrow front. Therefore, the Goldak’s double ellipsoidal heat source model is more favored and employed in current model to achieve the direct heating of the welding arc. The computing heat flux is added to energy equation as a source term:

$$ {q}_{\mathrm{arc}}=\left\{\begin{array}{c}\frac{6\sqrt{3}{f}_{\mathrm{f}}\eta UI}{a_{\mathrm{f}} bc\pi \sqrt{\pi }}\exp \Big(-3\left(\frac{{\left(x-{x}_0-{V}_{\mathrm{T}}t\right)}^2}{{a_{\mathrm{f}}}^2}+\frac{{\left(y-{y}_0\right)}^2}{b^2}+\frac{{\left(z-{z}_0\right)}^2}{c^2}\right)\ \left(\left(x-{x}_0-{V}_{\mathrm{T}}t\right)>0\right)\\ {}\frac{6\sqrt{3}{f}_{\mathrm{r}}\eta UI}{a_{\mathrm{r}} bc\pi \sqrt{\pi }}\exp \left(-3\left(\frac{{\left(x-{x}_0-{V}_{\mathrm{T}}t\right)}^2}{{a_{\mathrm{r}}}^2}+\frac{{\left(y-{y}_0\right)}^2}{b^2}+\frac{{\left(z-{z}_0\right)}^2}{c^2}\right)\right)\ \left(\left(x-{x}_0-{V}_{\mathrm{T}}t\right)<0\right)\end{array}\right. $$
(27)

The heat source model is established in the workpiece coordinate system, where the location (x0y0z0) is the starting point of each layer deposition and the location (x0 + VTty0z0) is the current point of arc bottom center. U is voltage, and η is the arc efficiency for heating molten pool, excluding heating droplets, which is described in detail in Ref. [32]. ff and fr are the heat distribution coefficients of the front and rear semi-ellipsoids, and the sum of two is equal to 2. The geometric dimensions of heat source, afar, b, and c are obtained by comparing the calculated and experimental morphologies of molten pool of first deposition layer, which are 3mm, 6mm, 4mm, and 4mm, respectively, under the deposition parameters shown in Table. 2.

3.6 Boundary conditions

Table 3 shows the boundary conditions used in this study, corresponding to Fig. 3. The top surface ABCD of air subdomain is velocity inlet boundary, including the shielding gas and liquid metal. Liquid metal inlet is an area where filler wire is located and travels over time. The shielding gas inlet is a region where nozzle is located except wire, and its maximum radius is 10mm in this study. The inlet velocity of liquid metal is equal to wire feeding speed that of shielding gas is calculated by Eq. (28) [21], and that of other region of inlet boundary is zero.

$$ {V}_{\mathrm{gas}}(r)=\frac{2{Q}_{\mathrm{v}}}{\pi}\frac{\left[{R_{\mathrm{nozzle}}}^2-{r}^2+\left({R_{\mathrm{nozzle}}}^2-{R_w}^2\right)\frac{\mathit{\ln}\left(r/{R}_{\mathrm{nozzle}}\right)}{\mathit{\ln}\left({R}_{\mathrm{nozzle}}/{R}_{\mathrm{w}}\right)}\right]}{\left[{R_{\mathrm{nozzle}}}^4-{R_{\mathrm{w}}}^4+\frac{{\left({R_{\mathrm{nozzle}}}^2-{R_{\mathrm{w}}}^2\right)}^2}{\mathit{\ln}\left({R}_{\mathrm{nozzle}}/{R}_{\mathrm{w}}\right)}\right]} $$
(28)

where Qv is volume flow rate of shielding gas and Rnozzle is the internal radius of nozzle.

Table 3 Boundary conditions

Heat loss from convection and radiation occurs not only on the wall boundaries but also on the free surface of molten pool and droplets. It should be noted that corresponding heat loss of free surface needs to be reformulated as volumetric heat source by CSF.

$$ {q}_{\mathrm{loss}}=-\left(h\left(T-{T}_{\mathrm{a}}\right)+{\varepsilon}_{\mathrm{b}}{\sigma}_{\mathrm{b}}\left({T}^4-{T_{\mathrm{a}}}^4\right)\right)\left|\nabla F\right|\frac{2\boldsymbol{\rho}}{\rho_{\mathrm{metal}}+{\rho}_{\mathrm{gas}}} $$
(29)

where h is heat transfer coefficient, Ta is ambient temperature, εb is emissivity, and σb is Stefan-Boltzmann constant.

Due to similar chemical compositions, the thermo-physical properties of substrate and wire used in simulation are assumed to be consistent and isotropic. The thermo-physical properties of 5A05 and other physical variables are listed in Table 4, and for partial parameters not available, they are estimated from pure aluminum or aluminum alloys with similar compositions.

Table 4 Thermo-physical properties of 5A05 and other parameters used in simulation

3.7 Solution method

The whole solution domain is divided into regular hexahedral control cells, and the initial number of cells is 256512, whose minimum size is 0.25 mm. Starting from the 2nd layer, the number of cells increases by 26720 for each deposited layer. Governing equations are discretized by the finite volume method, and the velocity-pressure coupling is solved by pressure implicit with splitting of operators (PISO) algorithm. The calculations are completed using a commercial CFD solver Fluent extended with self-coded subroutines, with a time step of 4e−5s. For the computation of single deposited bead with the length of 40mm, it takes approximately 100 h to simulate the 2 s of real-time deposition in the case of 16-core parallel, which is performed on a computer with 2.3-GHz Xeon-E5 CPU and 128-GB RAM.

4 Results and discussions

Using the operating parameters listed in Table 2, the deposition processes of SPSL, SPTL, and SPFL of 5A05 by WAAM are calculated by the developed droplet-molten pool coupled model.

4.1 Droplet transfer

As with GMAW, the droplet transfer model of WAAM determines the process stability and consequently the quality of deposited layer. Generally, there are three basic forms of metal transfer in the GMAW of aluminum alloy: short circuit, globular, and spray. With the increase of welding current and voltage, the transfer model of droplet changes from short circuit to globular and to spray. Figure 4 shows the simulated droplet morphology at different moments during one falling cycle; it can be seen that the liquid metal transfers from the wire tip to molten pool by the globular model, which is consistent with Ferraresi V. A.’ [35] test results. According to the static force balance theory (SFBT), in the early stage of droplet formation, surface tension is dominant, which makes the droplet remain nearly spherical. As the wire continues to melt, the droplet mass increases, and the droplet is elongated under the action of electromagnetic force, gravity, and plasma drag force. When the transfer time is 16ms, the necking of droplet starts. The electromagnetic force is the dominant factor in the necking of droplet for the presence of the radial component. As shown in Fig. 5, the electromagnetic force vector is pointed toward the center of the droplet approximately, that is because the radial component of electromagnetic force is much larger than the axial component. The magnitude of electromagnetic force is in the order of 1 × 106 N/m3, and along the path from the wire tip to the bottom of droplet, the magnitude of electromagnetic force gradually decreases. The detachment of droplet from the electrode occurs at t = 24ms, and then the electromagnetic force acting on the free droplet decreases due to the limited value of current flowing through the free-flying droplet [36], as shown in Fig. 5d and Fig. 5e.

Fig. 4
figure 4

The evolution of droplet shape during one falling cycle: a t=0ms; b t=4ms; c t=8ms; d t=12ms; e t=16ms; f t=20ms; g t=24ms; h t=28ms; i t=32ms

Fig. 5
figure 5

The distribution of electromagnetic force at different moments during a transfer cycle: a t=12ms; b t=16ms; c t=20ms; d t=24ms; e t=28ms

To further investigate the impact of droplet on the molten pool, the velocity field of droplet falling is necessary to be analyzed. As shown in Fig. 6. the flow velocity within the droplet varies strongly during a transfer cycle. Before necking, the force hindering droplet transfer (surface tension) is greater than that promoting droplet transfer (electromagnetic force, gravity, and plasma drag force); the velocity of droplet is small, about 0.3 m/s. However, after necking and till to the droplet detachment, the force promoting droplet transfer is greater than that hindering droplet transfer; the droplet is accelerated. And the maximum flow velocity within droplet reaches 0.9 m/s after droplet separation, which will have a significant effect on the fluid flow in the molten pool.

Fig. 6
figure 6

The distribution of velocity at different moments during a transfer cycle: a t=12ms; b t=16ms; c t=20ms; d t=24ms; e t=28ms

Based on the conservation of mass, the theoretical radius of droplet can be obtained by the following formula:

$$ {r}_{\mathbf{td}}=\sqrt[\mathbf{3}]{\frac{\mathbf{3}{V}_{\mathbf{w}}{R_{\mathbf{w}}}^{\mathbf{2}}}{\mathbf{4}{f}_{\mathbf{d}}}} $$
(30)

where Vw is wire feeding speed and fd is droplet transfer frequency. By substituting the experimental parameter (Vw= 9 m/min, Rw = 0.6 mm, fd = 30 HZ) into Eq. (30), the theoretical radius of droplet is estimated to be 1.105 mm. From the current numerical model, the simulated radius of free-flying droplet is estimated to be 1.114mm in Fig. 4h. And compared to the theoretical radius, the error is only 0.88%.

4.2 Deposit morphology and physical field of SPSL

Figure 7 shows the deposition process of the SPSL, which is a bead-on-plate situation. As the welding torch moves, the amount of welding wire cladding increases, and the length of deposition layer is becoming longer. The region where the temperature exceeds 906K is the molten pool. It can be found that in the early stage, the size of the molten pool is smaller and the height of deposition layer is higher which is also clearly observed from the height profile along the scanning direction shown in Fig. 8. These phenomena are caused by the lower substrate temperature at the beginning and higher cooling rate of liquid metal. As the deposition process progresses, more and more droplets carrying the heat accumulate on the substrate resulting in the geometry expanding of molten pool. At the same time, the height of deposition layer decreases for the liquid metal having the sufficient time to spread, which is caused by more heat accumulation and less heat dissipation. At the moment of t=2.0s, the welding arc has been extinguished, and the molten pool gradually shrinks and will disappear completely afterwards as shown in Fig. 7d. In addition, at the location of arc-off, there is no enough metal to supplement, and the height of the end of deposition layer drops sharply, as shown in Fig. 8.

Fig. 7
figure 7

3D views of deposit morphology of SPSL at different times: a t=0.52s; b t=1.0s; c t=1.52s; d t=2.0s

Fig. 8
figure 8

The height profile of SPSL along the scanning direction (Y = 0)

Figure 9 shows the evolution of the morphology and the corresponding temperature distribution of the deposition layer at the cross section of X = 20mm. It can be seen that at the time of 0.72s, the welding torch is a little behind this cross section, the height of deposition is closed to 0, and the molten pool has just begun to form, whose geometric size is small. At t = 0.76s, the center of welding torch is exactly on the cross section, the deposition layer begins to bulge, and the dimensions of molten pool reach the maximum when the droplet carrying more energy falls into the molten pool. From the time of 0.84 to 1.04s, the welding torch has passed, and the height of deposition layer continues to increase, although the molten pool gradually shrinks. With the further loss of heat, all the liquid metal has solidified when the time is equal to 1.48s; however, the width of the deposition layer has slightly expanded, which is caused by the inherent defect of enthalpy-porosity method that regards the solid as a fluid with weak momentum, and the small movement of solid can’t be eliminated absolutely.

Fig. 9
figure 9

The evolution of the morphology (a1–a5) and the corresponding temperature field (b1–b5) of the deposited layer at the cross section of X=20mm over time

To better understand the physical mechanism of the morphology evolution of deposition layer, the temperature and fluid flow in the molten pool at different moments are analyzed. Figure 10 shows the temperature field, velocity field, and steam traces on the 3D surface of molten pool during the impingement of one droplet, which is located near X = 21mm. It can be seen that the solid-liquid coexistence region of aluminum alloy is large, where the temperature ranges from 815 to 906K, and the velocity field still exists. Under the combined effect of surface tension, Marangoni force, electromagnetic force, arc pressure, gravity, and buoyancy force, the high temperature liquid metal in the center of molten pool flows to the surrounding at four moments. The behavior of the metal flowing backward promotes the continuous increase in the height of deposition layer, which is reflected in Fig. 9a3, a4, and a5. Besides the mass and heat, the momentum is also brought into the molten pool when the droplet falls, as described in Sect. 4.1. This results in that the liquid metal in the middle flows toward the bottom of molten pool, and a depressed region is formed as shown in Fig. 10b, c. Subsequently, the depressed region will vanish under the action of surface tension as shown in Fig. 10d.

Fig. 10
figure 10

The temperature and velocity fields (the white lines are stream traces of liquid metal flow) at different moments when the weld torch is located near X=21mm: a t= 0.808s, b t=0.820s, c t=0.824s, d t=0.832s

Take the longitudinal section of Y = 0 and three transverse sections of X = 15mm, 18mm, and 20mm from Fig. 10d to analyze the internal physical field of molten pool. As shown in Fig. 11a, the liquid metal driven and dominated by Marangoni force flows from the arc center (X = 21.64mm) to periphery at the top of the molten pool, which results from the negative temperature coefficient of surface tension. At the bottom of molten pool, a clockwise circulation is formed. In the front of the molten pool, the temperature gradient is larger for the short distance from arc center to the liquidus boundary of molten pool. This results in a higher surface tension gradient and more severe convection compared with that of the rear of the molten pool. Comparing three cross sections shown in Fig. 11b, c, and d, it can be found that as the distance from arc center increases, the metal convection inside the molten pool weakens due to the lower temperature gradient. Analyzing Fig. 11b, a cross section only 1.64mm away from arc center, the liquid metal in the middle of molten pool flows downward and brings more heat to the bottom of molten pool under the action of gravity and electromagnetic force, causing an increase in penetration. At the cross section of X = 18mm shown in Fig. 11c, the metal flows outward on the free surface and upward inside, which will make the width of deposition wider and the reinforcement higher.

Fig. 11
figure 11

Temperature field, velocity field, and stream traces of longitudinal section and three cross sections at t=0.832s: a the longitudinal section of Y=0; b the cross section of X=20mm; c the cross section of X=18mm; d the cross section of X=15mm

4.3 Deposit morphology and physical field of SPTL and SPFL

In WAAM, the path planning significantly affects the forming quality. Especially for the fabricating of thin wall part, reciprocating stacking solves the problem of hump and collapse which occur at the location of arc-on and arc-off and achieves a better forming condition compared with single direction stacking [37]. Therefore, reciprocating stacking method is adopted for the deposition of SPTL and SPFL. Meanwhile, in order to investigate the influence of interlayer idle time on the shape of deposition layer, the simulations of two extreme cases of SPTL are performed. Case 1 is the one that with enough interlayer idle time to cool the temperature of previous layer to room temperature before the deposition of next layer, and this is directly done by resetting the temperature of whole solution domain as 300K in the current model to reduce the calculation consuming; case 2 is the one that without interlayer idle time, that is, the deposition of next layer is started immediately after the previous layer is completed.

Figure 12 shows the morphology and temperature field of 2nd deposition layer of SPTL at two moments, where a and b are the case 1 and c and d are the case 2. It can be seen at t=3.04s, and the total length of the molten pool and mushy zone of case 1 is about 10mm, which is smaller than that of case 2 about 15mm. Under the effect of heat accumulation, the average temperature of substrate and deposited layers of case 2 is more than 100 K higher than that of case 1 when the arc is just powered off, as shown in Fig. 12b and Fig. 12d. In the WAAM of thin wall, the heat conduction is the dominate way of heat dissipation, thus the cooling conditions of substrate and previous deposited layers play an important role in determining the molten pool development and fluid flow of next deposition layer. Figure 13 shows the deposited profiles of case 1 and case 2 at the location of X = 25mm; when the depositions have been finished, it can be observed that the deposited layer of case 1 has a higher height and a narrow width. Compared with case 1, the high temperature residence time of molten pool of case 2 is longer, and the liquid metal has sufficient time to flow to periphery to widen the lateral dimension, especially in the position of arc extinguishing and successive starting where X is from 30 to 40m shown in Fig. 12d. Also for case 2, because of the different heat accumulation states at different positions, the dimensional unevenness of SPTL along the scanning direction is further increased, which can also be found in the experimental result of Fig. 2b.

Fig. 12
figure 12

3D views of deposit morphology and temperature field of SPTL in second layer at t = 3.04s and t = 4.04s; a and b are case 1 that with interlayer idle time; c and d are case 2 that without interlayer idle time

Fig. 13
figure 13

Comparison of deposit profile of SPTL between case 1 and case 2 at X = 25mm

Figure 14 shows the distributions of velocity magnitude and stream traces of case 1 and case 2 when the wire arrives at the middle of 2nd deposition layer. For both cases, the magnitudes of velocity of droplets are much greater than that of molten pool. Similar to the 1st deposition layer shown in Fig. 11a, the liquid metal on the free surface of molten pool and behind the arc flows backward, which is driven and dominated by the Marangoni force, and a clockwise circulation is also formed inside the molten pool. Due to the smaller molten pool size and higher temperature gradient, the fluid flow of case 1 under the arc is fiercer than that of case 2. And for case 2, a high-flow area occurs at the rear of molten pool under the acting of Marangoni force and gravity.

Fig. 14
figure 14

Velocity field and stream traces of case 1 (a) and case 2 (b) at t = 3.04s

Obviously, the interlayer idle time is necessary to obtain good deposition accuracy. Therefore, the deposition of SPFL is carried out with enough interlayer cooling time. Figure 15 shows the deposit morphology of SPFL and the corresponding temperature field at the moment of 10.16s. Because the interlayer cooling time is long enough, it can be found that the substrate temperature is relatively low after the deposition is finished. The uniformity of deposit height is fairly good, especially for both ends attributed to the excessive metal of arc-on to supplement the missing metal of arc-off. Figure 16 shows the variations of the width of deposition layer (the measurement of width of Nth layer is performed when N layers have been deposited) and the height of deposited layers at the cross section of X = 25mm during the forming process of SPFL; it can be seen that the height of deposited layers increases with the number of layer, but starting from the 2nd layer, the height increment is lower that the height of 1st layer, which is bead-on-plate situation, for no sufficient material support. The width of deposition layer varies fast firstly, decreasing from 7.76mm of 1st layer to 4.52mm of 4th layer, and then remains almost stable, and it could be concluded that the dimension evolution of deposition layer has reached a relatively stable state when it comes to 4th layer for single-pass multi-layer WAAM with enough interlayer cooling time. In addition, it should be noted that the width of previous deposited layers will increase slightly as the calculation proceeds and the deposit profile would be flatter as shown in Fig. 15, which resulted from the inherent shortcoming of enthalpy-porosity method used in the current model to handle the metal melting and solidification as mentioned in Sect. 4.2.

Fig. 15
figure 15

The 3D view of deposit morphology of SPFL and the related temperature distribution at t = 10.16s

Fig. 16
figure 16

Evolution of the width of deposition layer and the height of deposited layers during the forming process of SPFL (measurements from the YOZ plane of X = 25mm)

The phenomenon of liquid metal collapse, during the deposition process of SPFL, is observed in both experiment and simulation. As shown in Fig. 17, it’s the numerical results of metal collapse and correlated temperature field and fluid flow which occur at the left end of 4th layer. There are two main causes for this phenomenon, the impingement effect of droplet and the lack of support material. When droplet falls into molten pool, it not only carries energy to increase the local temperature of the molten pool but also carries the longitudinal momentum in the direction of gravity and transverse momentum in the direction of scanning to cause the molten metal flowing downward and forward. Meanwhile, due to the lack of support material, the metal of molten pool will flow further to the periphery under the combined effect of Marangoni force, gravity, and surface tension, as shown in Fig. 17b, resulting in an increase of deposit length. Figure 17c shows the moment of 8.04s when the arc is just extinguished; the liquid metal still has a large velocity. Hereafter, the molten pool gradually shrinks, and the surface morphology of deposit recovers well under the action of surface tension shown in Fig. 17d.

Fig. 17
figure 17

The phenomenon of metal collapse occurring before and after arc-off of 4th layer of SPFL and corresponding temperature and velocity fields: a t=7.96s; b t=8.00s; c t=8.04s; d t=8.08s

4.4 Comparisons between experimental and calculated results

The deposit profiles calculated by the developed model are compared with those obtained by the experiments in Fig. 18a, b, c, and d corresponding to the cross-sectional planes at X=25mm of SPSL, SPTL with interlayer idle time, SPTL without interlayer idle time, and SPFL, respectively. In each picture, the simulated result of deposit profile is in the left half, and its boundary line is also extracted and reflected to the right to more intuitively compare with experimental result. In general, the simulated and experimental results are in a good agreement. Comparing Fig. 18b with c, the simulated and experimental results reflect the same changes in the deposit profile with and without interlayer idle time. Comparing Fig. 18a with d, the width difference of the 1st layer of SPFL between the simulated and experimental results becomes larger than that of SPSL; one of the reasonable explanations is that caused by the inherent shortcoming of the enthalpy-porosity method as mentioned above.

Fig. 18
figure 18

Comparisons of calculated and experimental deposits profiles at X=25mm sectional plane for: a SPSL; b case 1 of SPTL; c case 2 of SPTL; and d SPFL

The dimensions of deposit height and length calculated by the model and measured by experiments are shown in Table 5. It can be seen that the simulated dimensions are in good agreement with those from experiments and the same trends of dimensions change among SPSL, two cases of SPTL and SPFL are found, whose maximum dimensional error does not exceed 15%. In experimental results, the deposit height of SPTL with enough interlayer idle time is increased by 90% from 1st layer to 2nd layer, while that of SPTL without interlayer idle time is only increased by 57% due to the influence of heat accumulation. The length of deposit measured by Vernier caliper is increased by 5.8% from SPSL to SPFL, which is the result of the molten metal collapse at ends of deposition layers. In the current range of calculated layers, the prediction accuracy is further enhanced with the layer number, and for SPFL, the error is only 4.3% in height and 0.5% in length of deposit.

Table 5 Dimensions of the deposit height and length obtained by experimental measurements and simulations

Once the simulation parameters such as heat source dimensions are determined by a few experimental results, the present model has the ability to accurately predict the deposit morphology and physical field evolutions of WAAM process under a certain range of process parameters. Therefore, it can be used to determine the appropriate heat input and interlayer cooling time to satisfy the different size control of the builds and also can be extended to the wire arc additive re-manufacturing, such as die repair, to simulate the deposition process on the complex substrate, which will be of more engineering significance.

5 Conclusions

In this study, a three-dimensional mathematic model has been developed to investigate the heat and metal transfer and fluid flow in GMAW-based wire arc additive manufacturing, where the droplet formation, growth, and detachment at the end of wire electrode moving dynamically along the scanning direction are coupled to the molten pool for the first time. By the developed model, the deposition processes of SPSL, SPTL without interlayer idle time, and SPTL and SPFL with interlayer idle time are simulated. Simultaneously, the validation of the current model is carried out by comparing the calculated deposit profiles with experimental measurements. Below are the specific findings.

  1. (1)

    The simulated results are in a good agreement with experimental measurements in the deposit profiles. The prediction accuracy is further enhanced with the layer number in the current range of calculated layers, and for the deposit of SPFL, its dimension error is only 4.3% in height and 0.5% in length. The significance of this work is also indicating that it is essential to couple the droplet with molten pool to accurately simulate the GMAW-based WAAM process.

  2. (2)

    Under the current operating parameters, the transfer mode of droplet is globular. After the droplet detaching from the wire electrode, the electromagnetic force within droplet becomes very small. The droplet is accelerated by gravity and plasma drag force to fall into molten pool with the maximum velocity of 0.9m/s inside, resulting in an expansion of molten pool size and a depressed region formed in the molten pool.

  3. (3)

    The liquid metal at the top of molten pool is driven and dominated by Marangoni force to flow from the center to periphery. Due to the higher temperature gradient, the metal flow at the front of the molten pool is stronger than that at the rear, and a clockwise circulation is formed at the bottom of molten pool.

  4. (4)

    The heat conduction is the dominate way of heat dissipation in the WAAM; thus the cooling conditions of previous deposited layers have a significant effect on the molten pool development and fluid flow of subsequent layers. Compared with the SPTL without interlayer idle time, SPTL with enough interlayer idle time will have a higher height and a narrow width. What’s more, for the deposition of SPTL without interlayer idle time, its dimensional evenness along the scanning direction is deteriorated due to the different heat accumulation states at different positions.

  5. (5)

    Because of the impingement of droplet and the lack of support material, the height of 2nd layer decreases about 10% compared with that of 1st layer for SPFL. Simultaneously, the metal collapse occurs at the end of deposition layer in SPTL and SPFL, resulting in an increase in the length of deposit. It should be noted, however, that the increase in the length of deposit only happens in the first few layers of WAAM of single-pass multi-layer and will remain constant afterward.