1 Introduction

Metal additive manufacturing (MAM) has been extensively studied in the past because of its capability of producing geometrically complex parts with effective cost [1, 2]. Powder feed metal additive manufacturing (PFMAM) combines laser cladding with rapid prototype process to build the geometrically complex component from metal powders in a layer-by-layer manner. Defects such as crack, delamination [3], balling effect [4], undesired mechanical properties [5, 6], and part distortion [7] are frequently observed in the PFMAM due to the repeatedly rapid heat and solidification, which lead to high temperature levels and large temperature gradients. Therefore, the understanding of the thermal mechanism and the temperature prediction in PFMAM are needed. Different approaches have been developed for the temperature analysis in MAM. They can be broadly classified into three categories: experimental approach, finite element analysis (FEA)-based numerical modeling, and physics-based analytical modeling.

In situ temperature measurement is difficult and inconvenient in manufacturing processes due to the elevated temperatures and restricted accessibility [8, 9]. Contact technique and non-contact technique were employed for temperature measurements in MAM. Contact techniques such as thermocouples can only measure the temperatures at far field such as on or inside substrate [10], despite the fact that the temperatures inside build has a direct influence on the quality and thus the functionality of the produced parts. Non-contact techniques such as infrared (IR) pyrometer and thermal imaging camera can only measure the temperatures on the exposed surfaces [11, 12]. More information on in situ measurement techniques in MAM can be found in the review literature [13,14,15]. Moreover, the post-process measurement based on the solidified microstructure was also employed for temperature analysis, which needs extensive experimental works for sample preparation including cutting, polishing, etching, etc., [16].

To address the difficulty and inconvenience in experimental measurements, FEA-based numerical models were developed to predict different MAM processes. Roberts et al. developed a numerical model to predict the three-dimensional temperature distribution in selective laser melting (SLM) using element birth and death technique, in which a heat source with Gaussian distributed profile was employed [17]. Patil et al. developed a numerical model to predict the temperature distribution in selective laser sintering (SLS), which employed a heat source with different shape of Gaussian distribution [18]. Fu et al. predicted the temperature distribution in SLM with a numerical model using solid bulk material properties and powder material properties, respectively [19]. Improved prediction accuracy was reported using powder material properties upon validation to the experimental measurement of molten pool dimensions. Dai et al. developed a numerical model considering volume shrinkage during the cooling state of SLM [20]. Labudovic et al. predicted the temperature distribution in directed metal deposition (DMD) with a numerical model [21]. Criales et al. investigated the sensitivity of material and process parameters in the prediction of SLM [22]. Zhang et al. investigated the influence of substrate preheating in the prediction of DMD [23]. Recent numerical models have considered the influence of molten pool dynamics and powder packing on the temperature prediction [24,25,26]. Residual stress and part distortion were also investigated through numerical modeling [27, 28]. A detailed discussion of numerical models is out of the scope of this work. More information can be found in the review literature [29,30,31]. Although numerical models have made considerable progress in predicting different MAM processes, the high computational cost due to mesh and iteration is still the major drawback, which prevents the prediction for large-scale parts and process-parameter planning through inverse analysis.

Physics-based analytical models have been reported with significantly higher computational efficiency than numerical models because of the avoidance of mesh and iteration [32, 33]. Analytical models were developed to predict the MAM processes. Van Elsen et al. summarized three moving heat source solutions, namely point moving heat source solution, semi-ellipsoidal moving heat source solution and uniform moving heat source solution [34]. The following assumptions were made in those solutions: semi-infinite medium; isotropic and homogeneous material; and steady-state condition. A moving coordinate with an origin at moving laser location was used in the temperature prediction, which neglected the influence of part dimension. The moving heat source solutions were originally developed by Carslaw and Jaeger [35]. Ning et al. further developed the original point moving heat source to predict the in-process temperatures in SLM for a dimensional part with a stationary coordinate considering laser power absorption, latent heat, scanning strategy, and powder packing [36]. Huang et al. and Fathi et al. further developed the original point moving heat source solution for temperature prediction of multi-layer printing using superposition of multiple real and virtual point heat sources, in which Green’s function was used to consider part dimension [37, 38]. Cline et al. proposed a heat source solution assuming the heat source intensity follows Gaussian distribution [39]. This solution becomes the point moving heat source solution by reducing the beam radius to zero. Pinkerton et al. predicted temperature distribution and molten pool dimension in DMD using a line moving heat source solution [40, 41]. The line moving heat source solution was originally developed by Rosenthal for temperature prediction in welding an infinite-thin plate [42]. The line moving heat source solution was further developed with the transformation from the moving coordinate to the stationary (absolute) coordinate using two image heat sources [43]. Li et al. further developed the line heat source solution for temperature prediction of multi-layer printing using superposition of multiple point heat sources with positive and negative power for the past heat sources and adiabatic boundary condition [44]. However, the heat transfer boundary conditions specifically the heat loss from convection and radiation at the part boundary, has not been considered in the developed models. To address the neglection of heat transfer boundary conditions, semi-analytical models were developed for temperature prediction. Cline’s solution was further developed to consider the heat loss from the molten pool with iterative calculations based on mass and energy balance [45]. Peyre et al. developed a semi-analytical model to predict temperatures in DMD, in which an analytical model and a numerical model were employed to the deposition geometry and temperature distribution, respectively [46]. Yang et al. developed another semi-analytical model to predict the temperatures in SLM, in which an analytical model and a numerical model were employed to characterize the moving heat source and impose heat transfer boundary conditions [47]. However, the involvement of iteration-based numerical model unavoidably compromises computational efficiency.

Nowadays, the heat transfer boundary conditions are been calculated without the involvement of FEA or iteration-based numerical calculations, which reduce the computational efficiency, and thus reduce the usefulness in the prediction of large-scale part, and process parameters planning through inverse analysis.

This work presents an analytical model to predict the transient temperature during heating and cooling state PFMAM, in which the heat loss is calculated using heat sink solution without resorting to any FEA or iteration-based calculations. A stationary (absolute) coordinate with an origin at part boundary was employed in the temperature prediction. The temperature solution was constructed from the superposition of a point moving heat source solution and multiple stationary heat sink solutions considering the non-uniform temperature and non-uniform heat loss at the part boundary. In addition, the laser power absorption was considered as a power coefficient; the latent heat was considered using the heat integration method. The presented model was tested through temperature predictions in single-track scans in PFMAM of Inconel 718. An experimental validation is included.

2 Methodology

This work presents an analytical model to predict the transient temperature in PFMAM during heating state and cooling state. The heating state and cooling state are distinguished by the fact whether the continuous heat input from laser power exists. They are distinguished by the time when laser scan completes in the model. The temperature rise due to heat input from the laser heat source is calculated using the point moving heat source solution. The temperature drop due to the heat loss from convection and radiation at the part boundary is calculated using the heat sink solutions. The heat source is activated during heating state and deactivated during cooling state. A stationary (absolute) coordinate is employed for the temperature prediction as illustrated in Fig. 1, where the red arrow, green arrows, and blue arrows represent the heat input, the heat loss from convection and radiation to the ambiance, the heat loss from conduction to the substrate, respectively. The following assumptions are enforced in this study: (1) the workpiece and substrate are made of the same material; (2) the material is isotropic and homogeneous; (3) the material properties are temperature-independent; (4) the laser heat source is a point moving heat source. For comparison, other analytical models were developed based on the semi-infinite medium assumption, as illustrated in the black circle in Fig. 1, which neglect the heat loss form part boundaries and thus compromise the prediction accuracy.

Fig. 1
figure 1

Schematic drawing of thermal mechanism in PFMAM. Red, green and blue arrows represent the heat input for laser, the heat loss from convection, and radiation to the ambiance, and the heat loss from conduction to substrate, respectively. L, W, D denote the molten pool length, width, and depth

The temperature solution is constructed from the superposition of the active/inactive point moving heat source solution and heat sink solutions as the following.

$$\begin{aligned} \theta \left( {X,Y,Z,t} \right) = \theta_{\text{L}} - \theta_{\text{S}} \hfill \\ \quad ({\text{heating state at}}\;0 < t < L/V) \hfill \\ \end{aligned}$$
$$\begin{aligned} \theta \left( {X,Y,Z,t} \right) = \theta \left( {X,Y,Z,t_{L } } \right) - \theta_{\text{S}} \hfill \\ \quad ({\text{cooling state at}}\;t > L/V), \hfill \\ \end{aligned}$$
(1)

where \(\theta_{L}\) is the temperature rise due to heat input for the laser source; \(\theta_{S}\) is the temperature drop due to the heat loss from heat sinks on the part boundaries; \(X,Y,Z\) are the coordinate; \(t, t_{L} = L/V\) are the current time and  the laser scan time respectively, \(L\) is scan length, \(V\) is scan velocity.

The heat balance equation can be expressed as the following:

$$\frac{\partial \rho u}{\partial t} + \frac{\partial \rho HV}{\partial x} = \nabla \cdot \left( {k\nabla T} \right) + \dot{q},$$
(2)

where u is internal energy, H is enthalpy, ρ is density, k is conductivity, and \(\dot{q}\) is a volumetric heat source, t is time, x is the distance from the heat source, V is heat source moving velocity along the x-direction, and T is temperature.

The heat conduction equation was derived from the heat balance equation with \(V = 0\), and \({\text{d}}u = c{\text{d}}T\) as the following.

$$\frac{{\partial^{2} T}}{{\partial x^{2} }} + \frac{{\partial^{2} T}}{{\partial y^{2} }} + \frac{{\partial^{2} T}}{{\partial z^{2} }} = \frac{1}{\kappa }\frac{\partial T}{\partial t} + \dot{q},$$
(3)

where \(\kappa\) is thermal diffusivity (\(\kappa = k/\rho c,\) where \(k,\rho , c\) are thermal conductivity, density, and specific heat, respectively), \(x,y,z\) are the distances from the heat source.

The moving point heat source solution was derived from the heat conduction equation as originally proposed by Carslaw and Jaeger [35]. Considering the laser power absorption (η), the heat source solution becomes

$$\theta_{\text{L}} \left( {x,y,z,t} \right) = \frac{P\eta }{{8\rho C_{p} \left( {\pi \kappa } \right)^{{\frac{3}{2}}} }}\mathop \int \limits_{0}^{t} \frac{{\exp \left[ { - \frac{{\left( {x - V\left( {t - t^{\prime } } \right)} \right)^{2} + y^{2} + z^{2} }}{{4\kappa \left( {t - t^{'} } \right)}}} \right]}}{{\left( {t - t^{\prime } } \right)^{{\frac{3}{2}}} }}{\text{d}}t^{\prime }$$
(4)

The temperature solution is rewritten by integrating \(t^{{\prime }}\) from 0 to t as

$$\theta_{\text{L}} \left( {x, y,z, t} \right) = \frac{P\eta }{{2Rk_{t} \pi^{{\frac{3}{2}}} }}\exp \left( {\frac{Vx}{2\kappa }} \right)\mathop \int \limits_{{\frac{R}{{2\sqrt {\kappa t} }}}}^{\infty } \exp \left[ { - \xi^{2} - \left( {\frac{{V^{2} R^{2} }}{{16\kappa^{2} \xi^{2} }}} \right)} \right]{\text{d}}\xi ,$$
(5)

where \(R^{2} = x^{2} + y^{2} + z^{2}\), \(t\) is the current time, \(t^{{\prime }}\) is previous time, \(x, y, z\) are the corresponding distances from the laser source, \(\xi\) is a time-related integration variable. The substrate material is assumed to the same as the build. The heat conduction mechanism inside the substrate and the build are thus the same. The heat conduction from laser power to the build and substrate is considered by the above temperature solution.

Considering the temperature distribution and non-uniform heat loss from convection and radiation at the part boundary, the part boundary is mathematically discretized into multiple sections (multiple heat sinks). The heat sink solution is derived from the heat source solution with an equivalent power for heat loss and zero moving velocity because the heat sink is a portion of the stationary part boundary. The heat sink temperature is estimated using the point moving heat source solution at the center of each heat sink.

$$Q_{\text{conv}} = Ah\left( {T - T_{0} } \right)$$
(6)
$$Q_{\text{rad}} = A\varepsilon \sigma \left( {T^{4} - T_{0}^{4} } \right),$$
(7)

where \(Q_{\text{conv}}\) and \(Q_{\text{rad}}\) denote heat loss due to convection and radiation, respectively, \(A\) is the area of heat sink, \(h\) is convection coefficient,\(\varepsilon\) is emissivity, \(\sigma\) is Stefan–Boltzmann constant, \(T\) is the temperature of heat sink, \(T_{0}\) is room temperature. The number of heat sinks and the area of each heat sink are negatively correlated on a given boundary area. The number of heat sinks can be empirically determined or determined based on calibration. However, the more heat sinks the more computationally expensive of the model because of the summation of each heat sink effect. In addition, the heat sink solution is derived from the point heat source solution which has singularity issue at the heat source location. Therefore, a tiny heat sink area is more susceptible to the inherent singularity issue, which reduces the prediction accuracy.

$$\theta_{\text{S}} \left( {x,y,z,t,n} \right) = \mathop \sum \limits_{i = 1}^{n} \left[ {h\left( {T_{i} - T_{0} } \right) + \varepsilon \sigma \left( {T_{i}^{4} - T_{0}^{4} } \right) } \right] \cdot \frac{{A_{i} }}{{2Rk\pi^{{\frac{3}{2}}} }}\mathop \int \limits_{{\frac{R}{{2\sqrt {\pi t} }}}}^{\infty } \exp \left( { - \xi^{2} } \right){\text{d}}\xi$$
(8)

The final temperature solution then becomes:

$$\begin{aligned} \theta_{t} (X,Y,Z,t) = \theta_{\text{L}} \left( {x,y,z, t} \right) - \theta_{S} (x,y,z, t,n) \hfill \\ \quad ({\text{heating}}\;{\text{state}}\;{\text{at}}\;0 < t < L/V) \hfill \\ \end{aligned}$$
$$\begin{aligned} \theta_{t} (X,Y,Z,t) = \theta_{L} (X,Y,Z,t_{L}) - \theta_{S} \left( {x,y,z,t,n} \right), \hfill \\ \quad ({\text{cooling}}\;{\text{state}}\;{\text{at}}\;t > L/V) \hfill \\ \end{aligned}$$
(9)

where n is the number of heat sinks, \(t, t_{L} = L/V\) are the current time and the laser scan time respectively, L is scan length, V is scan velocity.

Latent heat is considered in the presented model using the heat integration method, which lowers the molten pool temperature during the heating state and increases the molten pool temperature during the cooling state by the following amount due to the phase transformation [34].

$$\Delta T = L_{\text{f}} /c$$
(10)

where \(L_{\text{f}}\) is the latent heat, \(c\) is the specific heat.

3 Results and discussion

In this work, the transient temperatures in PFMAM of Inconel 718 were predicted using the presented model. The temperature profiles and molten pool evolution were predicted with respect to process time in single-track scans during heating state and cooling state. The predicted temperatures were validated to the experimental measurement from the literature [48], in which a K-type thermocouple was attached to the substrate to record the temperature history. The PFMAM system combines a YC50 cladding head and 2 kW Ytterbium doped, continuous wave, fiber laser operating at a wavelength of 1070 nm. The Inconel 718 powder was produced from gas atomization with size ranging from 15 to 45 μm. The laser absorption was adopted as 0.3. The laser absorption is affected by the laser setting and powder characterization such as laser wavelength, powder material properties, powder packing-related surface roughness, laser-workpiece stand-off distance, and thus the adopted laser absorption should be valid only in this study [49]. The material properties of Inconel 718 were adopted as solid bulk material properties at room temperature as given in Table 1.

Table 1 Material properties of Inconel 718 [48, 50]

The process condition was given as in Table 2. Two different parts, part 1 and part 2, were used for temperature predictions. Part 1 was used to investigate the relationship between laser scanning location with respect to the part boundary and the significance of heat transfer boundary conditions. Part 2 was used to investigate molten pool evolution including molten pool growth and stabilization during heating state and the molten pool shrinkage during cooling state. The predicted temperatures in part 2 were validated to the experimental temperatures in the literature.

Table 2 Process condition and part dimension [48]

Temperature predictions in multiple single-track scans on part 1 were predicted using the presented model for bounded medium and using the original point moving heat source model for semi-infinite medium separately. A stationary (absolute) coordinate with an origin at the part boundary was employed in the prediction. For temperature calculation considering bounded medium, the part boundary was mathematically discretized into many sections to calculate the heat loss from convection and radiation at the part boundary as illustrated in Fig. 2. For temperature calculation considering semi-infinite medium, the heat loss from the part boundary was neglected.

Fig. 2
figure 2

Schematic drawing of heat loss from convection and radiation from the boundary of a dimensional part. The green arrows represent heat loss from each heat sink. The heat sink on the back sides and bottom are not shown

To investigate the relationship between laser scanning location and the influence of heat transfer boundary condition, the temperature profiles were predicted in multiple single-track scans at different locations on part 1 considering bounded medium and semi-infinite medium as illustrated in Fig. 3, where the solid lines represented the predicted temperature profiles considering heat loss for the bounded medium; the dashed line represented the predicted temperature profiles neglecting the heat loss for semi-infinite medium. The red stars denote the center of each heat sink, where the heat sink temperatures were estimated using the point heat source solutions. The number of heat sinks on part 1 was empirically determined as 1/mm2. Temperature profiles were plotted as top views at five different laser locations, specifically (a) x = 4 mm y = 0.5 mm (b) x = 4 mm y = 1.5 mm (c) x = 4 mm y = 2.5 mm (d) x = 4 mm y = 3.5 mm (e) x = 4 mm y = 4.5 mm. A significant discrepancy was observed between predictions considering heat loss and predictions neglecting heat loss. The closer the scan location to the part boundary (y = 0 mm and y = 5 mm), the greater the discrepancy of the temperature profile and thus the greater the influence of heat loss, and vice versa. The average computational time for temperature prediction at each location was recorded as 71.88 s with an increment of 20 μm in x, y, z directions.

Fig. 3
figure 3

Predicted temperatures with various laser scanning location in the y-direction (a) y = 0.5 mm (b) y = 1.5 mm (c) y = 2.5 mm (d) y = 3.5 mm (e) y = 4.5 mm. The temperature unit is  °C. Solid lines denote predicted temperatures for bounded medium; dash lines denote predicted temperature for semi-infinite medium. Red stars denote the heat sink center where the temperatures are estimated using the moving point heat source solution

In addition, the molten pool length and depth were calculated by comparing to the material melting temperature. A symmetric pattern was observed for molten pool dimensions at symmetric scan locations as illustrated in Fig. 4.

Fig. 4
figure 4

Predicted molten pool dimensions considering bounded medium with various laser scan location (x = 4 mm, y = 0.5, 1.5, 2.5, 3.5, 4.5 mm)

The temperature evolution was predicted in a single-track scan on part 2 during heating state and cooling state of PFMAM as illustrated in Fig. 5. The mass addition was considered as pre-existing part in a rectangular shape at room temperature. The heat loss on two boundaries on the yz planes at x = 0 mm and x = 115 mm was neglected because of the relatively smaller areas.

Fig. 5
figure 5

Schematic drawing of heat transfer condition in single-track powder feed metal additive manufacturing. a Isometric view b cross-sectional view on yz plane. Red, green and blue arrows represent heat input for laser, heat loss from convection and radiation to ambiance environment, heat loss from conduction to the substrate

Inconel 718 powder was deposited along y-direction from 0 to 115 mm (corresponding time from 0 to 17.25 s) with laser heating path from 0 to 110 mm (corresponding time from 0 to 16.5 s). The molten pool width was assumed to the same as the part width for such a thin wall structure. The 2D temperature profiles during PBMAM was plotted as in Fig. 6, where (a–h) were corresponding to 0.001 s, 0.01 s, 0.1 s, 1 s, 10 s, 16.5 s, 21.5 s, 31.5 s, respectively. Each calculated region has a size of 4 mm in length and 1.27 mm in height with an increment of 20 μm in both directions. Four heat sinks (A = 1 mm × 1.27 mm) were empirically determined on the top boundary (xy plane at z = 1.27), font and back boundaries (xz planes at z = − 0.74 mm and 0.74 mm).

Fig. 6
figure 6

Predicted temperature evolution during heat state and cooling state of PFMAM for part 2 at a 0.001 s b 0.01 s c 0.1 s d 1 s e 10 s f 16.5 s g 21.5 s h 31.5 s. The temperature unit is  °C. Cooling state starts from 16.5 s

The molten pool evolution was calculated by comparing the predicted temperature profiles to the material melting temperature. The molten pool growth and stabilization during heating state and shrinkage during cooling state are illustrated in Figs. 7 and 8, respectively. Molten pool stabilized at its maximum size after 1 s. Molten pool shrank starting at 16.5 s and diminished after 215 s. The molten pool dimensions after 60 s during the cooling state were predicted with regression analysis using polynomial function based on the predicted molten pool dimensions from 16.5 and 100 s to resolve the singularity issue in point moving heat source solution; specifically the temperature at heat source location mathematically becomes infinite as in Eq. (5). The polynomial function was selected from trial and error based on the performance of curve fitting on the predicted values during the cooling state. The average computational time of temperature prediction at each time during heat state and cooling state was recorded as 80 s and 144 s, respectively, with x increment and z increment of 20 μm. For comparison, FEA models require at least half hour for temperature prediction with comparable prediction accuracy depending on the part size and mesh resolution [19, 21].

Fig. 7
figure 7

Predicted molten pool growth and stabilization during heating state of PFMAM in the single-track scan for part 2. A logarithmic scale was used for the horizontal axis for a clear presentation of motel pool growth and stabilization

Fig. 8
figure 8

Predicted molten pool evolution during heating state and cooling state of PFMAM in the single-track scan for part 2

The predicted temperatures at location x = 55 mm, y = 3 mm, z = 0 mm during heating state and cooling state were validated to the experimental measurements from thermocouple at the same location in the coordinate illustrated in Fig. 5. The heat loss from the top boundary of the substrate was neglected due to the small distance from the measurement location to the build, and relatively lower temperature. Close-agreements were observed between the predicted temperatures and the experimental measurement as illustrated in Fig. 9. The temperature drop before the cooling state was observed because of increasing distance from the moving laser to the thermocouple location. The temperature drop during cooling sate was observed because of the heat loss from convection and radiation. The experimental peak temperature and predicted peak temperature during the heating state were 521.2 °C and 495.6 °C, respectively, as illustrated in Fig. 9a. The prediction error on peak temperature was 4.91%. The slight mismatch between prediction and measurement might be caused by the employed point moving heat source, which neglected the influence of the laser beam profile [51,52,53]. The laser beam profile should be considered as future works to further improve the prediction accuracy. In addition, the temperature-independent materials properties, and the simplified rectangular-shaped workpiece, and the chosen number of heat sinks might also affect the deviation between prediction and experimental measurement.

Fig. 9
figure 9

Validation of temperatures to the experimental measurements using a K-type thermocouple placed on the substrate (x = 55 mm y = 3 mm z = 0 mm). a Temperature validation during heating state of PFMAM; b temperature validation during heating state and cooling state of PFMAM. Red dash lines denote predicted temperature. Black solid lines denote experimental temperature in the literature [48]

With the benefits of high prediction accuracy and high computational efficiency, the presented model can be used for temperature prediction in the real application for the large-scale part and process-parameter planning through inverse analysis [54, 55]. Improvements can be made to further increase the prediction accuracy and usefulness of the analytical thermal model. The heat source intensity distribution, the realistic geometry of deposited powders, the heat accumulation in multi-track scanning, and multi-layer scanning should be considered as future works.

4 Conclusion

This work presents a physics-based analytical model to predict the transient temperature and molten pool evolution during heating state and cooling sate in single-track scans of PFMAM with consideration of part dimension, heat transfer boundary conditions, laser absorption, and latent heat. The temperature solution is constructed from the superposition of heat source solution and heat sink solution. The heat source solution is activated during the heating state and deactivated during the cooling state. The presented model has promising short computational time without resorting to FEA or any iteration-based calculations.

To test the presented model, temperature profiles in single-track scans at different locations during PFMAM of Inconel 718 were predicted. A positive relationship between laser distance to the part boundary and the significance of heat loss was observed. Then the temperature profiles during heating state and cooling state in a single-track scan were predicted. Molten pool evolution was investigated with the predicted temperature profiles. Close agreement was observed between predicted temperatures and experimental measurement. In addition, expected high computational efficiency was observed from the recorded computational time for each temperature prediction. With the benefits of high prediction accuracy and high computational efficiency, the presented model can be used for temperature investigation in PFMAM for the large-scale parts and process-parameter planning through inverse analysis.