1 Introduction

Laser powder bed fusion (LPBF) is an additive manufacturing (AM) method for the process of metal alloys by fusing and melting the metallic powder with a laser beam [1, 2]. Among different metallic alloys which have been used in LPBF, Ti-6Al-4V has gained much attention due to its wide range of applications in the industry [3, 4]. Titanium alloys are often used for bio-implantation because of their high strength, low density, corrosion resistance and relatively low Young’s modulus. Delfs et al. [5] showed that the surface roughness and porosity of LPBF-fabricated parts are determined by the dimensions, stability and behaviour of the melt pool. However, surface roughness created by the fusion of metallic powder suffers from other problems such as balling and staircase effect.

Chen et al. [6] showed that the surface roughness of Ti-6Al-4V manufactured by LPBF is also dependent on the sample’s location on the build platform and powder size distribution. The surfaces that are closer to the laser origin are rougher than those that are further away. The hatch distance is another important factor reported by Sanaei et al. [7] that can influence the geometric characteristics of cracks and surface morphology. Yadroitsev et al. [8] reported that to reduce surface roughness, the maximum hatch space should not exceed the average width of continuous tracks. They also reported that for one-pass thin wall fabrication by LPBF (fixed laser power), layer thickness and scanning speed play important roles. Khorasani et al. [9] modeled the average surface using artificial neural networks by feeding process and post-process parameters. This research showed that heat treatment in beta phase and laser power had the highest influence on the value of average surface.

In addition to the in-process parameters, the post-process parameters, including heat treatment, machining, stress-relieving and hot isostatic pressing (HIP), influence the surface quality of the LPBF-manufactured parts. To modify the surface properties, various thermochemical treatments are applied by Vayssette et al. [10] on LPBF-fabricated parts, which can result in the formation of titanium oxide layers on the surface and change the surface morphology and roughness.

Moreover, the half-molten particles from the powder increase surface roughness by creating the protuberances on the surface with the spherical shape [11]. The deficiencies of the inclined surfaces, which are fabricated by the LPBF process, are split into down-skin (below over-hang area) and up-skin (above over-hang area). Perez et al. [12] showed that the geometry of step edges and the amount of half-melted particles from step edges determines the up-skin surface roughness. Gusarov et al. [13] reported that in down-skin surface roughness, the limited contact between the surface of powder particles and the insulating air gap between particles results in the limited local heat dissipation from fusion zone of the powder bed.

Some researchers formulated a mathematical model for predicting surface roughness at various sloping angles. This model particularly considers the presence of particles on the upper surface along with a staircase effect. Unlike the straightforward staircase model, this model is responsible for observed roughness over a full surface angle that was found by Strano et al. [14]. Investigation on surface treatment for the optimisation of LPBF Ti-6Al-4V porous structures described that chemical etching solutions increased the effectiveness of surface treatment excessively. However, Pyka et al. [15] showed that surface treatment was also affected by the combination of different process factors, i.e. surface treatment duration and hydrofluoric (HF) acid concentration. Surface profile in LPBF is asymmetric due to recoil pressure and scan movement, and there is no literature explaining the governing mechanisms for these phenomena.

This paper is complementary to the previous research on the effect of process parameters on the average surface. In this experiment, Taguchi design of experiment (DOE) was selected to model five parameters, including four process parameters and a post-process, to explain their effect on the value of surface tension and surface profile including morphology and roughness in different directions to laser movement. The effect of each parameter on the results as well as the interaction of each two factors on various surface profiles has been plotted, analysed and discussed. All related phenomena are explained based on rheology and melting pool-related phenomena.

2 Experimental setup

2.1 Powder material and LPBF operation

Samples were printed based on ASTM E8 and E8M using an LPBF 125HL (SLM Solutions GmbH, Lubeck, Germany), equipped with YLR-Fibre-Laser. The layer thickness was selected 30 μm for all test samples, and the operational beam focus diameter was 100 μm.

2.2 Design of experiment

In the case of using full factorial DOE, the number of samples, time taken and, subsequently, the cost of the experiments sharply increase for expensive experiments such as in AM processes. Therefore, to reduce the cost and time of the experiment without affecting the accuracy of results, Taguchi L25 DOE was selected to examine five parameters on five levels. The parameters are laser power, scan speed, hatch spacing, laser pattern angle and heat treatment temperature. Factors in each column have to be analysed independently, and therefore the number of replications in each column is balanced. In this case, the design is stated as orthogonal. Table 1 shows the process parameters and their levels. We selected laser power, scan speed and hatch space, which play a role in energy density and temperature. Also, heat treatment was selected because this process is essential in improving mechanical properties [16, 17]. We also selected a laser scanning pattern angle to analyse the effect of the layering angle on the roughness. Based on original equipment manufacturer (OEM), the values of standard process parameters were selected. Then, considering the capability of the LPBF machine, the maximum and minimum ranges of parameters were chosen.

Table 1 Experimental process parameters and levels (20 means no heat treatment)

2.3 Post-processing (heat treatment)

In AM, more specifically when the process includes melting operation, the periodic cooling and heating during the build processes result in large thermal gradients and thermal residual stress history. To improve the ductility and machinability of the parts, different annealing processes followed by furnace cooling have been employed [18, 19]. Table 1 shows the heat treatment conditions. In this instance, the heating and resident times were fixed at 120 min, meaning the initial heating gradient steadily increased from room to the set temperature from 4.8 to 8.6 °C/min. The cooling rate was fixed at 5 °C/min across all samples to prevent a detrimental impact on the mechanical properties due to the cooling rate on the samples. Due to the high cooling rate, as-built LPBF prototypes have comparatively high tensile strength and low ductility. To improve the mechanical properties and machinability of the parts, different annealing processes have been suggested [20]. These include stress relief annealing at 600 °C , mill annealing at 750 °C , α + β annealing and β annealing at 1050 °C followed by furnace cooling according to the related standards [21].

2.4 Surface profilometry

An optical profilometer (Alicona Infinite Focus) equipped with × 5 to × 100 operational lenses was used to scan the surface of the samples. For each direction, 10 different areas of the surface (parallel, angled and perpendicular) were selected for scanning of the LPBF-fabricated parts with a minimum range of 10 mm (for measurement length). The normalised value of surface parameters was calculated according to ISO 4288 and ISO 11056, and a high pass built-in Gaussian filter was applied. The lateral and vertical resolutions of the profilometer were 10 nm and 400 nm. Based on the proposed DOE, 25 test samples with five repetitions were produced (totally 125 samples). Then, 30 profilometries were performed on each sample; thus, 3750 profiles were obtained, and the roughness for three directions was measured, so a total of 11,250 measurements were carried out. Subsequently, the average roughness of each sample was reported. The scanned area for surface profilometry was selected randomly in different parts of the components according to Fig. 1a. Subsequently, based on the obtained profilometry, images of various roughness including parallel, perpendicular and angled to scan movement were measured (Fig. 1b).

Fig. 1
figure 1

(a) Surface roughness measurement from different parts of the samples. (b) Measurement directions

3 Results

3.1 Taguchi analyses of obtained results

To verify the performance of the Taguchi results, the mean values versus signal to noise (S/N) ratio was calculated. Signal to noise is a sign of accuracy in each experiment. The surface quality for application of the LPBF-fabricated parts plays an important role. Therefore, in this analysis, the criterion of “smaller-is-better” was selected. To analysis the validity of each test, SNR versus mean effect plot for all directions (parallel, angled and perpendicular) were drawn. In this analysis, the more horizontal curves, the less influence on the outputs [22]. Also, the lowest values in the mean effect plot should stay exactly at the highest points in the SNR diagrams. As can be seen in Fig. 2, this occurred for almost all of the points, which shows the correctness of the experimental procedure. Figure 2 shows the “main effect” and SN plots.

Fig. 2
figure 2

Signal to noise and mean analysis

3.2 A predictive model for inputs versus outputs and correlations

The artificial intelligence (AI)-based methods have higher accuracy than other statistical methods such as Poisson regression; however, AI methods cannot provide information on the interaction of factors. Therefore, to analyse the interaction diagrams in this research, statistical regression was used to model and explain the behaviour of the process. The general equation was calculated using a categorical predictor based on single interactions through the order. The link function was selected as logarithmic with a 95% confidence level for all intervals. The selected type of confidence intervals was two sided. Figure 3 shows the values from experimental results versus the prediction of the proposed Poisson model, demonstrating a very good correlation, and the accuracy of the proposed model is approved. The regression model was calculated based on outputs and the exponential function of categorical input data.

Fig. 3
figure 3

Experimental measurement versus Poisson regression predictions

This model is summarised based on the following matrix:

$$ Predict\ Value=\exp \left(c+\left\{{\left[ LM\Big]\right.}_{\left[1\times 25\right]}\times {\left[ CM\right]}_{\left[25\times 1\right]}\right\}\right) $$
(1)

C is a constant value that is added to balance the equation, “coefficient matrix” contains the coefficient related to each parameter, and “level matrix” is the matrix that determines the condition for prediction. This matrix has 25 arrays comprising five separate submatrices. Submatrices include laser power, scan speed, hatch space, scanning pattern angle and heat treatment. Each submatrix has an array of ([5*1]), and one of the arrays is 1, and others are zero. The index of the array equal to 1 corresponds to the setup that is predicted.

The array value related to the matrix level is determined by DOE levels.

For example, to predict the Ra parallel value related to setup with laser power 95(W), scan speed 700 mm/s, hatch spacing 80 μm, scanning pattern angle 45° and heat and treatment temperature 600 °C, the level of matrix is determined as follows:

$$ \mathrm{Level}\ \mathrm{matrix}=\left[0\ 1\ 0\ 0\ 0\ 0\ 0\ 1\ 0\ 0\ 0\ 0\ 0\ 1\ 0\ 0\ 0\ 1\ 0\ 0\ 0\ 1\ 0\ 0\ 0\right] $$
(2)

Therefore, constant value and coefficient matrix are:

$$ C=9.0118\mathrm{Coefficient}\ \mathrm{matrix}=\left[0\ 0.06598\kern0.9em -0.2953\kern0.9em -0.18298\kern0.9em -0.04563\kern0.9em 0\kern0.9em 0.29947\kern0.9em 0.23439\kern0.9em 0.28641\kern0.9em 0.35921\kern0.9em 0\kern0.9em -0.09703\kern0.9em 0.00978\kern0.9em 0.01731\kern0.9em 0.27853\kern0.9em 0\kern0.9em -0.01004\kern0.9em -0.02901\kern0.9em -0.17999\kern0.9em -0.080070\kern0.9em -0.30167-\mathrm{0.034280.338540.126}\right]T $$
(3)

To predict the value related to each setup, it is necessary to rewrite matrix levels and recalculate it.

This procedure is acceptable for all models (Ra in each direction).

The correlation factor is a factor that helps to validate the coverage of the proposed model on experimental data. Table 2 shows the correlation factor related to each model for categorical prediction:

Table 2 Correlation factor for regression models

The proposed model is dimensionless; in order to count units of input variables, another regression model could be used that is presented as follows:

$$ predicted\ value=C\times \left({LP}^{P_1}\right)\times \left({SS}^{P_2}\right)\times \left({HS}^{P_3}\right)\times \left({SP}^{P_4}\right)\times \left({HT}^{P_5}\right) $$
(4)

C balances the equation and unit of output. This model also could carry the interaction between input parameters.

Another advantage of continuous models over the categorical model is an open range for input value between the lower and upper boundary of the experiment parameters. However, the fluctuations in the coefficient of correlation in this regression are higher than categorical regression. Therefore, in this research, categorical regression was used to analyse the data.

3.3 Analysing the effective parameters using Taguchi and MANOVA

3.3.1 General multivariate analysis of variance

In this section, multivariate analysis of variance (MANOVA) has been applied to the obtained data to show the effectiveness of each parameter. In order to do this, three important criteria comprising Hotelling-Lawley, Pillai’s trace and Wilk’s Lambda were utilised.

One of the most practical criteria for finding the effective parameters in ANOVA is Hotelling-Lawley. Based on this criterion, the trace of the cross-product matrix (H) times by error sums of the square (E) can reject or accept a null hypothesis.

$$ {T}^2=\mathrm{Trace}\ \left(H{E}^{-1}\right)\kern0.5em $$
(5)

If H is large compared with E, then the Hotelling-Lawley trace will result in large values, and the null hypothesis will be rejected. The second criterion that approves the null test is Pillai’s trace. This is a positive value of statistics ranging from 0 to 1 and is calculated using the following equation:

$$ V=\mathrm{Trace}\ \left(H{\left(H+E\right)}^{-1}\right) $$
(6)

If H is large relative to E, then Pillai’s trace will result in bigger values, and a null hypothesis will be rejected.

In LPBF process, parameters are independent but should be adjusted according to each other. Wilk’s Lambda is used to verify the other two criteria. A value of zero means that there is no variance explained by the independent variable (which is ideal). Therefore, the closer to zero the statistic is, the more the variable in question contributes to the model. The null hypothesis is rejected when Wilk’s lambda is close to zero, although this should be done in combination with a small p value.

$$ \Lambda =\frac{\left|E\right|}{\left|H+E\right|} $$
(7)

Table 6 shows that the most influential factors on the parallel and angled surfaces are heat treatment, hatch space, laser power, scan speed and scan pattern angle. However, for perpendicular surfaces, different conditions were observed. For perpendicular surfaces, the rating of the effective parameters from the highest to the lowest is heat treatment, laser power, hatch space, scan pattern angle and scan speed. To prove this trend, Taguchi analysis was carried out in the next step.

3.3.2 Effective parameters by Taguchi analysis

Ranking of influential parameters is a direct factor of Delta. So, this factor is calculated based on Taguchi analysis; the highest Delta corresponds to the most effective parameter. Table 3 shows the average of the response characteristics at each level of the factor.

Table 3 Response and means table for Ra parallel, angled and perpendicular

As can be seen in Table 3, the most influential factors on the parallel and angled surfaces are heat treatment and hatch spacing followed by scan speed, laser power and scan pattern angle. This result confirms the MANOVA (Appendix). On the other hand, for perpendicular surfaces, a different trend was observed. The most influential factor was similar to parallel and angled, which was heat treatment. The following factors are laser power, hatch space, pattern angle and scan speed. The reason and mechanism of these phenomena are explained in the following section.

4 Discussion

4.1 Interaction of process parameters on the surface profile for parallel and angled measurements

4.1.1 Laser power

The results of the interaction plots for different process parameters and heat treatment for the parallel and angled surfaces showed a similar trend. Figure 4a–d show that by increasing laser power, the value of roughness decreased up to 30%, for all samples. Surface roughness is directly related to melting pool size, energy density and subsequently temperature. When higher laser power is selected, the energy density and melting pool temperature based on Eqs. 8 and 9 increase [2, 23, 24].

Fig. 4
figure 4

Contour plots for the interaction of process parameters in parallel measurements

When melt pool is solidified before the laser completely passes the current track, hatch distance does not affect the energy density, so the approximation of volumetric energy density is obtained according to Eq. 8 [2]. In this equation, η is the absorption coefficient, LP is laser power, SS is scan speed and BA is beam area. In order to melt the material, enough heat and energy are needed to increase enthalpy. The enthalpy for Ti-6Al-4V is a function of temperature in a solid phase, solid liquid (melting) and the liquid phase.

$$ {E}_d=\frac{\eta {L}_P}{S_S{B}_A}\kern1.5em $$
(8)
$$ {E}_d={\int}_{T_0}^{T_s}{C}_{p_s} dT+{\Delta H}_m+{\int}_{T_l}^{T_{mp}}{C}_{p_m} dT $$
(9)

Figure 5 shows the variation of specific heat versus temperature. Thus, to obtain the relation of specific heat versus temperature, different regressions were carried out, and the best results were obtained from the linear model. Specific heat in the melting phase is constant; however, it has different values versus temperature in the solid phase. Linear equation and the value of enthalpies are presented as follows.

Fig. 5
figure 5

Special heat capacity related to temperature [25]

$$ {\displaystyle \begin{array}{c}{C}_{P_s}=0.474793+(0.000240253)T-\left(1.62089\times {10}^{-8}\right){T}^2 for\ T=298\ K-1268\ K\\ {}\begin{array}{c}{C}_{P_s}=0.411245+(0.00018196)T-\left(5.89678\times {10}^{-10}\right){T}^2 for\ T=1268\ K-{T}_s\\ {}{C}_{P_m}=0.831\ \frac{J}{gr.{}^{\circ}K}\kern0.5em for\ T=1923\ K\kern0.5em \mathrm{and}\ \mathrm{Higher}\\ {}\begin{array}{c}{\Delta H}_{\mathrm{phase}\ \mathrm{change}}=48\frac{J}{gr}\\ {}{\Delta H}_m=360\frac{J}{gr}\end{array}\end{array}\end{array}} $$

To balance Eq. 9 on the right-hand side, the enthalpy is multiplied in density. The density of Ti-6Al-4V has different trends versus temperature, which is shown in Fig. 6. Therefore, for each section of Fig. 6, the value of density was approximated by the regression model.

Fig. 6
figure 6

Density related to temperature [25]

When heating Ti-6Al-4V in 1268 K, the material goes to phase transformation and needs more energy; therefore, considering enthalpy in different conditions, the value of energy density is obtained through Eq. 10.

$$ {E}_d={\int}_{T_0}^{1268}{C}_{p_s} dT+{\Delta H}_{\mathrm{phase}\ \mathrm{change}}+{\int}_{1268}^{1878}{C}_{p_s} dT+{\Delta H}_m+{\int}_{1923}^{T_{mp}}{C}_{p_m} dT $$
(10)

By solving Eq. 10 based on melt pool temperature (Tmp) that is in the border of the last integral, the approximation of Tmp is obtained by Eq. 11:

$$ {T}_{mp}=\frac{E_d-\left({\int}_{T_0}^{1268}{C}_{p_s} dT+{\Delta H}_{\mathrm{phase}\ \mathrm{change}}+{\int}_{1268}^{1878}{C}_{p_s} dT+{\Delta H}_m\right)+\left({C}_{p_m}\times 1923\right)}{C_{p_m}} $$
(11)

The width of the track is related to laser power, scan speed and the interaction between these two parameters. Higher laser power and lower scan speed produce higher temperature and based on Eq. 12 decreasing surface tension from 1.52 to 0.8 N/m. This leads to forming a low viscosity (Eq. 10) melting pool, which in turn leads to increased wettability and decreased Rayleigh instability [26, 27].

$$ \gamma ={\gamma}_0+\left[\frac{\delta \gamma}{\delta T}\times \left(\frac{E_d-\left({\int}_{T_0}^{1268}{C}_{p_s} dT+{\Delta H}_{\mathrm{phase}\ \mathrm{change}}+{\int}_{1268}^{1878}{C}_{p_s} dT+{\Delta H}_m\right)+\left({C}_{p_m}\times 1923\right)}{C_{p_m}}-{T}_0\right)\right] $$
(12)

In Eq. 12, γ0 and T0 are reference values of surface tension and temperature, while \( \frac{\delta \gamma}{\delta T} \) is the slope of the linear equation (Fig. 7). The reference values of temperature and surface tension are listed in Table 4:

Fig. 7
figure 7

The trend of surface tension versus temperature (the concept of Marangoni’s effect)

Table 4 Reference values for temperature and surface tension [28, 29]

In Eqs. 8, 9 and 12, absorption ratio, specific heat capacity, latent heat of fusion and critical temperature are the thermophysical properties of the material. Meanwhile, laser power, scanning speed, beam area and T0 are process parameters that have to be selected by operators so the effect of these parameters has been studied on surface tension in the next section.

Equations 8 and 11 show that increasing laser power and preheating (T0) increase the melting pool temperature. Scanning speed and beam diameter have a reverse relation with melting pool temperature. Equation 12 shows that by increasing melting pool temperature, the value of bracket increases, and due to the negative slope in Fig. 7, the value of surface tension (γ) decreases. This phenomenon is called the thermocapillary effect. Table 5 presents the calculated surface tension and melt pool temperature for each experiment.

Table 5 The calculated surface tension and approximation of melting pool temperature

4.1.2 Scan speed

Based on Taguchi and MANOVA, scan speed has a higher impact on parallel and angled surfaces, so the direction of the contour colours was generally formed toward scan speed (Figs. 4, 8 and 12a). In higher scan speed, due to Rayleigh instability and lack of wetting, the roughness of the parallel and angled surface increased (Fig. 4a, e, f and g). For higher scan speed (800 mm/s), the value of surface tension obtained 1.22–1.52 N/m, while for lower scan speed (600 mm/s), surface tension ranging 0.8–1.10 N/m was obtained. The wettability of the melting pool is defined by the spreading parameter “S”. According to Eq. 11, the type of spreading can be film or droplet [24, 30,31,32,33].

$$ \left\{\begin{array}{c}S={\gamma}_{SG}-\left({\gamma}_{SL}+{\gamma}_{LG}\right)\\ {} If\ S>0\Rightarrow \mathrm{Film}\ \mathrm{appears}\\ {} If\ S<0\Rightarrow \mathrm{Droplet}\ \mathrm{appears}\end{array}\right. $$
(13)
Fig. 8
figure 8

Contour plots for the interaction of process parameters for angled measurements

By increasing scan speed according to Eq. 12, the value of melting pool temperature decreases, and on account of the thermocapillary effect, the value of surface tension increases, more specifically in the liquid phase (γSL + γLG); therefore, S < 0 and the droplet appears on the surface.

In contour colour-plotted diagrams, the area of low energy density has a lower temperature and higher surface tension. These lead to produce lower wetting and higher viscosity, as well as lack of fusion, which decreases the surface quality [34]. Moreover, in the melting pool, bubbles often form along contact surfaces. The pressure of the bubbles is obtained from Laplace’s law according to Eq. 14:

$$ P=\frac{\gamma }{R_{\mathrm{cur}}} $$
(14)

In the case of higher scan speed and hatch space and lower laser power (Figs. 4a and g and 8a and g), lower energy density leads to higher surface tension and subsequently higher bubble pressure. Bursting and splashing are the results of this phenomenon, and rough surface is formed; therefore, surface quality reduces in agreement to the literature [35, 36].

4.1.3 Hatch space and pattern angle

Increasing hatch space has both positive and negative effects on the quality of the surface. By increasing the hatch space, less overlap area is generated. In the overlap area, due to higher viscosity and mush phase, the interaction of surface tension and hydrostatic force versus vapour pressure is not balanced, and keyholes and fusion appear, hence increasing the value of surface roughness. Also, due to the lack of Marangoni’s convection, accumulated heat increases the chance of cracks, more specifically when the temperature of the melting pool is high [37, 38]. Moreover, in the case of lower hatch space due to higher overlap, some of the ripples were covered by the overlapping of subsequent hatching. Thus, smoother surfaces are formed as a consequence of the interaction of these two phenomena. Figures 4 and 8b, e, h and i indicated that by increasing the hatch space (interacting with other process parameters), the value of surface roughness for parallel and angled measurements increased (Fig. 8). As can be seen in Fig. 9c, increasing the hatch space leads to the formation of uncovered areas with a circular shape and deposited particles situated around this area. This is a possible crack initiation region and reduces surface quality.

Fig. 9
figure 9

The effect of hatch space on ripples

Figures 4 and 8e show that in the area of lower energy density including higher scan speed and hatch distances, the rougher surface was obtained. This is related to the thermocapillary effect and increasing surface tension (as a result of decreasing energy density and melting pool temperature Eqs. 9 and 12). Therefore, the surface tension, in conjunction with the liquid phase γSL and γLG, increased, and according to Eq. 13, lack of wettability results in lower surface quality. The surface tension for lower scan speed was obtained 1.9-fold bigger than higher scan speed. The interaction of hatch space and pattern angle in Figs. 4 and 8h shows that by increasing pattern angle, small variations on the value of surface roughness were obtained in agreement with the results of the MANOVA and Taguchi analysis.

The interaction of laser pattern incremental angle versus other process parameters showed that this parameter has the lowest impact on the surface roughness for parallel and angled measurements. Therefore, the effect of this factor on the formation of surface profile can be neglected.

4.1.4 Heat treatment

Heat treatment was found to be the most influential parameter on the surface roughness for both parallel and angled measurements. When the samples are heat treated on the α + β phase, the formation of β (due to inherent soft characteristic) and softening occurs. In this heat treatment, the β transformation is directly related to the cooling rate [21, 39,40,41]. In our case, the cooling rate was relatively slow (5 °C/min), and β is transferred to secondary α lamellae, so the softened material on the surface moved in microscale. The effect of heat treatment on the lowest and the best surface was shown in Fig. 10.

Fig. 10
figure 10

Measurement directions and defects on annealed samples

As can be seen in β annealing, dropped particles on the top surfaces fused and micro-movement of softened materials result in large valleys, and the surface quality radically decreased. The common defects in LPBF are balling, unstable melting pool, residual particle, spattering, etc. which form peak and valleys and in β heat treatment. Some unmelted particles on valleys are fused on the top surface and result in poor surface quality in agreement to the literature [18, 20, 42]. Moreover, LPBF is working under a controlled atmosphere with the presence of inert gas, but the small value of some elements such as oxygen and nitrogen [43] that are common contamination in LPBF of Ti leads to a decrease in the melting temperature of titanium, causing micro-flow and production of rougher surfaces, as shown in Fig. 10.

4.2 Interaction process parameters on the surface profile for perpendicular measurements

4.2.1 Laser power

For surface roughness measurement that is perpendicular to the scan direction, contour plots show that increasing laser power improved surface quality. This is related to the explained phenomena such as pressure in droplets and wettability.

Increasing laser power also increases recoil pressure, more specifically in the radial direction (toward overlapping area). In the overlap area, the gradient of melting fluid speed is zero, and more heat is accumulated in this region.

$$ \nabla \overset{\rightharpoonup }{u_{fb}}=\frac{\partial {u}_{fb}}{\partial x}\hat{i}+\frac{\partial {u}_{fb}}{\partial y}\hat{j}+\frac{\partial {u}_{fb}}{\partial z}\hat{k}\ne 0 $$
(15)

Recoil is a rheological phenomenon that happens only in non-Newtonian fluids and is defined by a moving fluid’s ability to snap back to a previous position when external forces are removed. This phenomenon is a result of the fluid’s elasticity and memory and is related to the molecular structure, the location and shape of the fluid. This pressure is associated with conformational entropy [44]. Almost all molten metal are non-Newtonian. Molten metal could exhibit both time-independent (but stress-dependent) and time-dependent (when sheared at a constant rate) properties. Sometimes, they display a mix of both types of behaviour. In AM, the pressure of the laser produces the source of the snapback movement. The effect of recoil pressure is called a ripple effect, which can be seen on the top surface of LPBF parts and is obtained according to the following equation [44]:

$$ {P}_{\mathrm{recoil}}={P}_0\exp \left[\frac{\Delta {H}_V}{R_g}\left(\frac{1}{T_V}-\frac{1}{T_{mp}}\right)\right] $$
(16)

By the substitution of process parameters (Eq. 8) on Eq. 16, recoil pressure in LPBF is defined according to Eq. 17:

$$ {P}_{\mathrm{recoil}}={P}_0\exp \left[\frac{\left(\delta Q+ Vd{P}_{ch}-\delta {W}_{SU}\right)}{R_g}\left(\frac{1}{T_V}-\frac{1}{T_{mp}}\right)\right]\kern0.5em $$
(17)

Surface pressure in the work chamber is constant, and by supposing no additional work inside the chamber “Wsu”, the recoil pressure is defined according to Eq. 18.

$$ {P}_{\mathrm{recoil}}={P}_0\exp \left[\frac{\delta Q}{R_g}\left(\frac{1}{T_V}-\frac{1}{T_{mp}}\right)\right] $$
(18)

In addition, enthalpy is a function of heat dh = δQ; therefore, according to Eq. 8, increasing energy density leads to increasing temperature, and generated heat on the surface of the melting pool and subsequently recoil pressure increases. When the temperature increased, due to the thermocapillary effect, surface tension decreased, and radial recoil pressure induces higher Marangoni’s convection. This led to transfers of the accumulated heat from the bottom of the overlap area to the melting pool surface, and so vapour pressure reduced. This provides less chance for the formation of keyholes, and surface quality improves.

4.2.2 Scan speed

When increasing scan speed, almost no change was observed on surface roughness in perpendicular measurements. This is shown in Table 3 and Table 6. Furthermore, fitted line plots and contour colour diagrams illustrate very small variations of roughness in perpendicular scan direction were observed. The reason is any phenomenon that happens due to the variation of scan speed is associated with the parallel direction. Therefore, when measuring roughness perpendicular to scan movement, the chance of happening the mentioned phenomena and defects is less.

4.2.3 Hatch space and scan pattern angle

Similar to parallel and angled measurements, by increasing the hatch space, the value of roughness for perpendicular measurement increases. This can be related to increasing the chance of formation of radial ripples which increases the number of peaks in each measurement and increases the value of roughness. Increasing the roughness in radial (perpendicular) direction due to the ripples has two times more effect on the value of roughness (Fig. 11).

Fig. 11
figure 11

Higher hatch space and the ripple effect

Based on Fig. 12b, e and h, increasing hatch space increases the value of surface roughness in perpendicular measurements. The mentioned radial mechanism is stronger than the positive effect of decreasing the overlap area for the bigger hatches. The size and number of ripples are significantly larger than overlap defects. Scan pattern angle showed similar behaviour to scan speed on surface roughness of perpendicular direction. MANOVA and Taguchi analysis showed that the pattern angle does not have a significant effect on the value of roughness. As expected, a small reduction of roughness in the perpendicular direction was observed by increasing the pattern angle (Fig. 12c, f and h).

Fig. 12
figure 12

Contour plots for the interaction of process parameters for perpendicular measurements

4.2.4 Heat treatment

Heat treatment, similar to parallel and angled measurements, was found to be the most effective parameter on the surface roughness. Similar phenomena that were explained for other measurement directions affect the surface roughness in the perpendicular scan movement. These comprise softening in higher temperature, the fusion of dropped particles, micromotion and the effect of other elements to decrease the melting temperature [21, 39,40,41, 45].

5 Conclusion

In this research, we developed a physical model to estimate the melting pool temperature and surface tension of LPBF Ti-6Al-4V by using the process parameters, including laser power, scan speed, hatch space and pattern angle. Thermophysical properties of the material including density and specific heat have non-linear behaviour versus the temperature for solid, semi-solid and liquid phases; however, they are constant in the melting phase. To obtain the relation of specific heat and density versus temperature, linear regressions (that showed the best results) were used. Therefore, to estimate the melting pool temperature and surface tension, a multicomponent integral model was used for different temperatures and phases.

A statistical model showed the effect of different process and post-process parameters on the value of surface tension and the generated surface quality for different directions (parallel, angled and perpendicular) to the scan movement. Thermophysical properties and rheological phenomena are shown to be the main driving factors for melting pool temperature, surface tension and forming the surface profile. The ranking of the most to the least effective parameters at the parallel and angled surfaces was obtained as heat treatment > hatch space > scan speed > laser power > scan pattern angle.

Higher laser power and lower scan speed produce higher temperature; therefore, surface tension reduces from 1.52 to 0.8 N/m. This results in forming a low viscosity melting pool, which in turn leads to increased wettability and decreased Rayleigh instability, and surface roughness in all directions improved. For lower scan speed (600 mm/s), surface tension ranging 0.8–1.10 N/m was obtained, while for higher scan speed (800 mm/s), the value of surface tension obtained 1.22–1.52 N/m. By increasing scan speed and surface tension, specifically in the liquid phase, the droplets appear on the surface which reduces the surface quality in parallel and angled measurements.

Lower energy density increased surface tension in conjunction with the liquid phase (γSL and γLG), and rougher surface due to lower wetting was obtained for parallel and angled surfaces.

Changing hatch space has both positive and negative effects on the quality of the surface. By increasing the hatch space, less overlap area is formed. In the overlap area, higher surface tension and viscosity increase the chance of defects, hence increasing the value of surface roughness. In contrast, increasing the hatch space produces uncovered areas with a circular shape and forms radial ripples and increases the number of peaks in each perpendicular measurement. The size and number of ripples are significantly larger than overlap defects, and rougher surfaces are obtained in perpendicular measurements.

In the case of lower hatch space and bigger overlap, some of the ripples were covered by the overlapping of next hatching, and smoother surfaces are formed for parallel and angled measurements. Almost all rheological phenomena that are related to the variation of scan speed are associated with a parallel direction, so they have less effect on perpendicular measurements