Analytical Modeling of Residual Stress in Laser Powder Bed Fusion Considering Volume Conservation in Plastic Deformation

: Residual stress (RS) is the most challenging problem in metal additive manufacturing (AM) since the build-up of high tensile RS may inﬂuence the fatigue life, corrosion resistance, crack initiation, and failure of the additively manufactured components. While tensile RS is inherent in all the AM processes, fast and accurate prediction of the stress state within the part is extremely valuable and results in optimization of the process parameters to achieve a desired RS and control of the build process. This paper proposes a physics-based analytical model to rapidly and accurately predict the RS within the additively manufactured part. In this model, a transient moving point heat source (HS) is utilized to determine the temperature ﬁeld. Due to the high temperature gradient within the proximity of the melt pool area, the material experiences high thermal stress. Thermal stress is calculated by combining three sources of stresses known as stresses due to the body forces, normal tension, and hydrostatic stress in a homogeneous semi-inﬁnite medium. The thermal stress determines the RS state within the part. Consequently, by taking the thermal stress history as an input, both the in-plane and out of plane RS distributions are found from the incremental plasticity and kinematic hardening behavior of the metal by considering volume conservation in plastic deformation in coupling with the equilibrium and compatibility conditions. In this modeling, material properties are temperature-sensitive since the steep temperature gradient varies the properties signiﬁcantly. Moreover, the energy needed for the solid-state phase transition is reﬂected by modifying the speciﬁc heat employing the latent heat of fusion. Furthermore, the multi-layer and multi-scan aspects of metal AM are considered by including the temperature history from previous layers and scans. Results from the analytical RS model presented excellent agreement with XRD measurements employed to determine the RS in the Ti-6Al-4V specimens.


Introduction
Over the last decade, metal additive manufacturing (AM) has developed rapidly to become a revolutionary technology for the production of various components for several industries such as biomedical, aerospace, automotive, and marine, as stated by Herderick [1]. Namatollahi et al. [2] stated that "AM is the process of joining metallic powders layer by layer to produce complex three-dimensional parts". AM has several advantageous over conventional manufacturing including lower density, reduction in the scrap rate, ability to create complex nearly net-shape parts, elimination of multi-step introduced five distinct HS models to analytically simulate the three-dimensional temperature profile. They investigated the viability of all the models under various process conditions. They considered the material properties temperature-dependent; phase change was also considered through modification of specific heat. Furthermore, the effect of scan strategy was also considered in their modeling. Mirkoohi et al. [26] proposed a model to analytically simulate the temperature field considering the effect of layer thickness. Fergani et al. [27] presented a model for the prediction of stress. In their modeling, properties were considered constant. Also, the effect of scan strategy was not considered in their modeling. Moreover, the stress in the build direction was considered to be elastic.
Experimentation is a different approach which facilitates the perception of RS in metal AM. However, measuring the stress state of the entire part is challenging, time-consuming, and expensive. Physics-based numerical models are an assuring approach for the calculation of RS when the results are compared to experiments. However, the simulation of the entire process considering the multi-physics aspects of metal AM cannot be achieved in a reasonable amount of time. On the other hand, physics-based closed-form analytical solutions validated by physical experiments enable prediction of the stress state within the additively manufactured part much faster than FEM and experimentation. Furthermore, the multi-physics aspect of metal AM such as the multi-layer and multi-scan aspect of AM-which is challenging to consider by any other methods-can be considered in the process modeling of AM using closed-form analytical solutions. This accurate and reliable model can be adopted to optimize the AM parameters and to guide the build process in achieving the desired part quality. Consequently, having one model to accurately and rapidly predict the stress state within the part is extremely valuable.
The physics governing AM is considerably complicated, thus, capturing the entire physical phenomena involved in this process currently is not possible. In this work, a physics-based closed-form analytical model is proposed to predict the RS within the additively manufactured part. Herein, the proposed thermomechanical model is capable of the prediction of RS accurately in a few seconds. Prediction of RS cannot be achieved within this amount of time by any numerical methods or experimentation; this shows the computational efficiency of the proposed model. In this work, first, a transient moving point HS is employed to analytically simulate the in-process temperature field within the components. Second, temperature gradient along the scan direction (x-axis) and build direction (z-axis) is calculated from the temperature field. Third, thermal stress is obtained by combining three different sources of stress known as stresses due to body forces, normal tension, and hydrostatic stress. Lastly, the RS distributions along the build direction and also along the scan direction are found from incremental plasticity and kinematic hardening behavior of the metal based upon the premises of a plane strain condition in the build of isotropic and homogeneous properties. Moreover, the RS is calculated according to the conservation of volume in plastic deformation, in coupling with the equilibrium and compatibility conditions. In this modeling, the thermal and mechanical material properties are temperature-sensitive, since the steep temperature gradient causes the material properties to vary substantially. Moreover, due to the cyclic melting and solidification, the build part experiences phase change. The heat capacity is modified to consider the effect of latent heat of melting during this process. Furthermore, the impacts of multi-layer and multi-scan aspects of metal AM are analyzed by including the effect of the temperature history on the former layers and scans.
X-ray diffraction experimental measurements are conducted to validate the proposed analytical model. The Ti-6Al-4V samples are built using the direct metal deposition (DMD) process under different process condition. Good agreement is obtained between the measured and predicted RS.

Process Modeling
The process modeling of residual stress is divided into three main parts: (1) prediction of the temperature distribution, (2) prediction of the thermal stress, and (3) prediction of the residual stress. To predict the temperature distribution in the presence of a laser, different approaches are proposed by Carslaw and Jaeger [28] and Goldak et al. [29]. The complete review of the available heat source modeling approaches can be found in [24]. Figure 1 illustrates the moving point heat source q (x, y, z) which deposits its energy into the specified control volume to melt and join the powders. Figure 2 demonstrates multi-layer and multi scan aspects of this modeling process. Sections 2.1 and 2.2 represent the thermal and mechanical models, respectively, used for the RS modeling.
Modelling 2020, 2, FOR PEER REVIEW 4 Figure 1 illustrates the moving point heat source q (x, y, z) which deposits its energy into the specified control volume to melt and join the powders. Figure 2 demonstrates multi-layer and multi scan aspects of this modeling process. Sections 2.1 and 2.2 represent the thermal and mechanical models, respectively, used for the RS modeling.

Thermal Analysis
In this section, a transient three-dimensional heat source model is used to predict the temperature field as: This equation is obtained by solving the differential equation of heat conduction as explained in [24], where is the laser power, is the absorption coefficient, is the density, is the modified heat capacity to consider the latent heat of fusion for solid-state phase change as explained in the work of Modelling 2020, 2, FOR PEER REVIEW 4 Figure 1 illustrates the moving point heat source q (x, y, z) which deposits its energy into the specified control volume to melt and join the powders. Figure 2 demonstrates multi-layer and multi scan aspects of this modeling process. Sections 2.1 and 2.2 represent the thermal and mechanical models, respectively, used for the RS modeling.

Thermal Analysis
In this section, a transient three-dimensional heat source model is used to predict the temperature field as: This equation is obtained by solving the differential equation of heat conduction as explained in [24], where is the laser power, is the absorption coefficient, is the density, is the modified heat capacity to consider the latent heat of fusion for solid-state phase change as explained in the work of

Thermal Analysis
In this section, a transient three-dimensional heat source model is used to predict the temperature field as: This equation is obtained by solving the differential equation of heat conduction as explained in [24], where P is the laser power, η is the absorption coefficient, ρ is the density, C m p is the modified heat capacity to consider the latent heat of fusion for solid-state phase change as explained in the work of Mirkoohi et al. [24]. V is the scan speed, D is the thermal diffusivity, and T 0 is the initial temperature.
It should be noted that the proposed method does not model the evaporation. Moreover, it is in semi-infinite medium, thus the impact of geometry is neglected.

Mechanical Analysis
A steep temperature gradient and fast solidification may induce thermal stress. The resulting stress is calculated by the combination of the different sources of stresses due to the body forces, normal stress tension, and hydrostatic stress as described by Saif et al. [30]: where α is the coefficient of thermal expansion, E represents the elastic modulus, ∂T ∂x is the temperature gradient, ν is Poisson's ratio, (G xh , G xv , G zh , G zv , G xzh, G xzv ) are the plane strain Green's function as explained in Appendix A, and p(s) is expressed by [31,32]: At elevated temperatures, the yield strength of Ti-6Al-4V approaches zero. Thus, the AM part experiences a high magnitude of plastic deformation due to heating cycles and cooling cycles [33]. If the stress passes the yield strength, upon unloading (cooling in this situation) some amount of stress remains in the body, which is known as RS. The RS is inherent in all the AM parts and can be reduced or eliminated with proper control and optimization of process parameters or post-processing techniques such as pitting, and heat treatment since it has an elastic nature [34,35].
Both the in-plane and out-of-plane RS distributions are obtained from incremental plasticity and kinematic hardening behavior of metal according to the conservation of volume in plastic deformation in coupling with equilibrium and compatibility conditions. McDowell et al. [36] proposed an algorithm to predict the RS in a rolling process. This algorithm has several advantages, including high computational efficiency and rapid and accurate prediction of RS; however, this algorithm has several limitations and should be modified for the AM applications. First, the stress along the build direction (σ zz ) is assumed to be elastic. In AM processes, the stress along the build direction has a high magnitude. Thus, the stress along the build direction should be solved simultaneously with σ xx , and σ yy . In this case, there are two equations with three unknowns, which cannot be solved using the McDowell model. Second, this algorithm does not consider the conservation of volume in plastic deformation. Qi et al. [37] explained that these limitations may reduce the precision of the predicted RS.
The Johnson Cook flow stress model is used to determine the yield surface.
where k is the material yield stress, ε p e f f represents the effective plastic strain, .
ε p e f f is the effective plastic strain rate, T is the temperature of material, T m is the melting point of material, and T 0 is the initial temperature. The terms A, B, C, n, m and . ε 0 are the material constants which are listed in Table 1 for Ti-6Al-4V. If the obtained yield stress passes the yield threshold of the material, then the total plastic strain can be calculated incrementally. The plastic strain rate can is introduced by Khan and Huang [39] as where S kl is deviatoric stress, <> is the MacCauley bracket and is expressed as , and h is the plastic modulus. As mentioned before, the previous state of the art algorithm assumed the stress along the build direction (z-direction) is elastic and ignored the volume conservation in plastic deformation. Below we explain how these two limitations can be solved by considering the elastic and plastic components of strain rate in all three directions. In the elastoplastic loading the total strain rate is a combination of the elastic part and the plastic part as: According to the conservation of volume in plastic deformation: Based on the plain strain assumption Taking the plastic flow rule (Equation (5)) into Equation (9): Based on the plastic loading condition: Taking (10): The incremental form of Equation (13) can be written as: Modelling 2020, 1

248
Then, by solving three equations with three unknowns, (σ xx , σ yy , σ zz ) can be obtained as: σ * xz are the elastic thermal stresses calculated from Equations (2) and (3). The term ψ is the hybrid function which depends on the modulus ratio (h/G) as: where ξ = 0.15 is the algorithm constant, and G = E/(2(1 + υ)) is the elastic shear modulus. σ zz for each elastic-plastic increment of strain. Figure 3 illustrates the flow chart of the proposed algorithm.

Temperature Dependent Material Properties
Due to the rapid heating and low conductivity, materials experience a steep temperature gradient. As a result of the steep temperature gradient, material properties could vary significantly in the medium. Therefore, it is crucial to consider material properties as temperature-dependent.

Temperature Dependent Material Properties
Due to the rapid heating and low conductivity, materials experience a steep temperature gradient. As a result of the steep temperature gradient, material properties could vary significantly in the medium. Therefore, it is crucial to consider material properties as temperature-dependent. Density, conductivity, specific heat, yield strength, Young's modulus, Poisson's ratio, and the thermal expansion coefficient of Ti-6Al-4V are considered to be temperature-sensitive, as shown in Figure 4. These data are gathered from the work of Welsch et al. [40], Heigel et al. [41], Jamshidinia et al. [42], Li et al. [43], Mills [44], and Murgau [45]. The melting temperature range of Ti-6Al-4V is from 1600 to 1660 • C. In this modeling melting temperature is 1600 • C. The density of Ti-6Al-4V drops for about 6.7% from room temperature to 2000 • C; thermal conductivity increases as the temperature increases; the specific heat increases gradually with the increase in temperature; the coefficient of thermal expansion increases gradually up to 1000 • C and reaches a constant value; and the elastic modulus decreases with the increase in temperature and approaches zero at around melting temperature. This shows that the material at liquid phase has negligible elasticity. Poisson's ratio increases with the increase in temperature; yield strength decreases rapidly from room temperature up to 1000 • C and then the slope slows above 1000 • C. This signifies that the Ti-6Al-4V is extremely soft and it quite easily undergoes plastic deformation at elevated temperatures, which causes the medium to experience high residual stress.
The equations of temperature sensitive material properties are also derived from the data points as listed in Table 2. Table 2. Thermal and mechanical material properties of Ti-6Al-4V [44].
Modelling 2020, 2, FOR PEER REVIEW 9 then the slope slows above 1000 °C. This signifies that the Ti-6Al-4V is extremely soft and it quite easily undergoes plastic deformation at elevated temperatures, which causes the medium to experience high residual stress.

Experimental Residual Stress Analysis
Two blocks of Ti-6Al-4V specimens with the size of 20 × 10 × 3 mm were produced via the DMD process using LENS CS 1500 SYSTEMS under different process conditions as shown in Table 3. The selected laser powers were 206 and 385 W, and the scan speeds were 25 and 40 mm/s, respectively. The deposited layer thickness for both samples was 250 µm, and hatch spacing was 105 µm. A bi-directional continuous scan strategy was used to build the parts as shown in Figure 2.
A PANalytical Empyrean multipurpose X-ray diffractometer was used to measure the RS of the specimens using the sin 2 Ψ method [46,47]. The residual strains are determined as where, d and d 0 are the stressed and unstressed lattice parameters, respectively. The generalized Hook's law for isotropic material is used to calculate stress as In Equation (18), an elastic modulus (E), and Poisson's ratio of 114 GPa and 0.33 are used, respectively. Samples are polished using liquid abrasive of 1 and 0.05 µm at a very slow speed to eliminate macroscopic residual stresses. Measurements are collected every 0.5 mm along the build direction (z-axis) of the samples.  Figure 5 illustrates the melt pool area and the heat-affected zone induced by highly localized heat input and low thermal conductivity. Non-uniform heating induces non-uniform thermal expansion. During the heating cycle, the melt pool area and the heat-affected zone are trying to expand; however, they are surrounded by solidified metal. This would generate the compressive stress state within the melt pool and heat-affected zones as shown in Figure 6a. During the cooling cycle, the shrinkage of the material would develop a tensile stress state as illustrated in Figure 6b.

Results and Discussion
Modelling 2020, 2, FOR PEER REVIEW 11 first, a transient moving heat source approach is used to predict the temperature field in AM. Second, the thermal stress induced is calculated by combining three stresses known as stresses due to body forces, normal tension, and hydrostatic stress. Lastly, the stresses may exceed the yield point and the material would experience plastic deformation. As a consequence of repeated loading and unloading (heating and cooling), the material experiences high RS. Therefore, both the in plane and out of plane RS distributions are calculated from the incremental plasticity and kinematic hardening behavior of the metal, based upon the premises of the plane strain condition in the build of isotropic and homogeneous properties, in coupling with the equilibrium and compatibility conditions. Material properties could vary significantly from point to point due to the steep temperature gradient. Consequently, it is not a fair assumption to consider the material properties constant. Herein, the thermal and mechanical material properties are temperature sensitive. Moreover, in this Modelling 2020, 2, FOR PEER REVIEW 11 first, a transient moving heat source approach is used to predict the temperature field in AM. Second, the thermal stress induced is calculated by combining three stresses known as stresses due to body forces, normal tension, and hydrostatic stress. Lastly, the stresses may exceed the yield point and the material would experience plastic deformation. As a consequence of repeated loading and unloading (heating and cooling), the material experiences high RS. Therefore, both the in plane and out of plane RS distributions are calculated from the incremental plasticity and kinematic hardening behavior of the metal, based upon the premises of the plane strain condition in the build of isotropic and homogeneous properties, in coupling with the equilibrium and compatibility conditions. Material properties could vary significantly from point to point due to the steep temperature gradient. Consequently, it is not a fair assumption to consider the material properties constant. Herein, the thermal and mechanical material properties are temperature sensitive. Moreover, in this The proposed analytical model is extremely valuable since it provides a fast (less than 45 s with a 4-processor laptop) and accurate prediction of the stress state within the build. In this modeling, first, a transient moving heat source approach is used to predict the temperature field in AM. Second, the thermal stress induced is calculated by combining three stresses known as stresses due to body forces, normal tension, and hydrostatic stress. Lastly, the stresses may exceed the yield point and the material would experience plastic deformation. As a consequence of repeated loading and unloading (heating and cooling), the material experiences high RS. Therefore, both the in plane and out of plane RS distributions are calculated from the incremental plasticity and kinematic hardening behavior of the metal, based upon the premises of the plane strain condition in the build of isotropic and homogeneous properties, in coupling with the equilibrium and compatibility conditions. Material properties could vary significantly from point to point due to the steep temperature gradient. Consequently, it is not a fair assumption to consider the material properties constant. Herein, the thermal and mechanical material properties are temperature sensitive. Moreover, in this process, the material experiences cyclic melting and solidification. The energy needed for the phase change is taken into account by incorporating the latent heat of fusion into the specific heat. Furthermore, the multi-layer and multi-scan aspect of metal AM are considered by including the temperature histories from the previous layers and scans.
Experimental measurements are conducted via X-ray diffraction to measure the RS in Ti-6Al-4V specimens built via the DMD process at the middle of the specimens (X = 10 mm, Y = 1.5 mm) along the build direction (z-axis), every 0.5 mm. The scan strategy in both experimentation and analytical modeling is bi-directional. Moreover, the hatching space and layer thickness are 105 and 250 µm, respectively. Comparison of the results from the proposed analytical model and the experimentation of the Ti-6Al-4V specimens built via the DMD process showed good qualitative and quantitative agreement. Figure 7 illustrates the predicted temperature field for the Ti-6Al-4V specimens. Figure 7a demonstrates the predicted melt pool area and the heat-affected zone (HAZ) for the first specimen in Table 3, which has a laser power of 206 W and a scan speed of 25 mm/s, with a layer height and hatch spacing of 250 and 105 µm, respectively. It should be noted that the absorption ratio is 30% for Ti-6Al-4V samples as explained in the work of Selvan et al. [48]. Since the evaporation of the metallic powders is not considered in the modeling, the maximum temperature does not go beyond the evaporation temperature, which is around 3000 • C for Ti-6Al-4V, as reported by Selvan et al. [48]. In this figure, the melt pool depth is around 0.1 mm, based on the melting point of 1600 • C, and the depth of the heat-affected zone is around 0.15 mm. Below this depth, the material is not affected by the laser. The rapid temperature change at the border of HAZ and the completely solid material-which is not affected by the laser-is the region where the stress state within the build part changes from tensile to compressive. This phenomenon will be explained in detail in the following sections of this manuscript. Figure 7b illustrates the predicted temperature field for the second specimen, with the laser power of 385 W, scan speed of 40 mm/s, layer height of 250 µm and hatch spacing of 105 µm. Based on the melting point of Ti-6Al-4V (1600 • C), the melt pool depth is 0.14 mm and the HAZ depth is around 0.21 mm. The proposed temperature model is validated in the previous work of Mirkoohi et al. [24].
As explained before. material properties vary significantly since the temperature gradient is quite high in AM. The variation of thermal and mechanical material properties for the second specimen with the laser power of 385 W and scan speed of 40 mm/s is illustrated in Figure 8. The density of the solid material is around 4400 kg/m 3 . As the temperature increases the density decreases to 4050 kg/m 3 in the liquid zone; in the melt pool zone, thermal conductivity reaches its maximum value due to the high magnitude of temperatures, and decreases to around 5 W/m • C in the solid zone; the specific heat has the highest magnitude of 530 J/Kg • C at the melt pool area and drops to 480 J/Kg • C when the material is solidified; thermal expansion is more expanded in the liquid zone compared to other properties, which shows that the thermal expansion is more sensitive to temperature, and it has the highest magnitude in the liquid zone; the elastic modulus in the liquid zone is almost zero, in the HAZ reaches 60 GPa, and in the solid zone it reaches the maximum value of 120 GPa; Poisson's ratio in the liquid zone has the magnitude of 0.38, and in the solid zone has the value of 0.29; yield strength reaches almost zero in the liquid zone and has the maximum value of 1200 MPa in the solid zone. evaporation temperature, which is around 3000 °C for Ti-6Al-4V, as reported by Selvan et al. [48]. In this figure, the melt pool depth is around 0.1 mm, based on the melting point of 1600 °C, and the depth of the heat-affected zone is around 0.15 mm. Below this depth, the material is not affected by the laser. The rapid temperature change at the border of HAZ and the completely solid materialwhich is not affected by the laser-is the region where the stress state within the build part changes from tensile to compressive. This phenomenon will be explained in detail in the following sections of this manuscript. Figure 7b illustrates the predicted temperature field for the second specimen, with the laser power of 385 W, scan speed of 40 mm/s, layer height of 250 μm and hatch spacing of 105 μm. Based on the melting point of Ti-6Al-4V (1600 °C), the melt pool depth is 0.14 mm and the HAZ depth is around 0.21 mm. The proposed temperature model is validated in the previous work of Mirkoohi et al. [24]. As explained before. material properties vary significantly since the temperature gradient is quite high in AM. The variation of thermal and mechanical material properties for the second specimen with the laser power of 385 W and scan speed of 40 mm/s is illustrated in Figure 8. The density of the solid material is around 4400 kg/m . As the temperature increases the density decreases to 4050 kg/m in the liquid zone; in the melt pool zone, thermal conductivity reaches its maximum value due to the high magnitude of temperatures, and decreases to around 5 W/m °C in the solid zone; the specific heat has the highest magnitude of 530 J/Kg °C at the melt pool area and drops to 480 J/Kg °C when the material is solidified; thermal expansion is more expanded in the liquid zone compared to other properties, which shows that the thermal expansion is more sensitive to temperature, and it has the highest magnitude in the liquid zone; the elastic modulus in the liquid zone is almost zero, in the HAZ reaches 60 GPa, and in the solid zone it reaches the maximum value of 120 GPa; Poisson's ratio in the liquid zone has the magnitude of 0.38, and in the solid zone has the value of 0.29; yield strength reaches almost zero in the liquid zone and has the maximum value of 1200 MPa in the solid zone.   Residual stress along the scan direction and transverse direction is predicted using the proposed model and validated experimentally. Figure 9 illustrates the predicted RS along the scan direction and transverse direction as a function of depth into the build part for the first sample with the laser power of 206 W, scan speed of 25 mm/s, layer height of 250 µm, and hatch spacing of 105 µm. Since the samples have a rough surface, the top surface of the samples is polished up to 100 µm with an electromechanical polishing to be able to accurately measure the RS on the surface.
Modelling 2020, 2, FOR PEER REVIEW 14 Residual stress along the scan direction and transverse direction is predicted using the proposed model and validated experimentally. Figure 9 illustrates the predicted RS along the scan direction and transverse direction as a function of depth into the build part for the first sample with the laser power of 206 W, scan speed of 25 mm/s, layer height of 250 μm, and hatch spacing of 105 μm. Since the samples have a rough surface, the top surface of the samples is polished up to 100 μm with an electromechanical polishing to be able to accurately measure the RS on the surface.
Both the in plane and out of plane residual stresses are highly tensile in the melt pool zone and the heat-affected zone in coherence with most of the reported results in the literature as explained in the introduction section. As shown in Figures 9 and 10, in both the scan direction and the transverse direction, there is a gradual change in the stress state from tensile to compressive. This change occurs at around the depth where the medium is solidified and is not affected by the laser. The results confirm that upon cooling the melt pool and the heat-affected zones are under tension due to the shrinkage of the material, and when the material is completely solidified and is not affected by the laser anymore, the material experiences a compression stress state. The oscillations in the melt pool and the heat-affected zone are due to the fact that the thermal and mechanical material properties vary significantly in these regions. Therefore, an abrupt change in one of the material properties would result in oscillations. This could be better improved by having more material property data points at different temperatures. Figure 10 shows the predicted RS in the scan and transverse directions for the second sample in Table 2 with the laser power of 385 W, scan speed of 25 mm/s, and layer height and hatch spacing of 250 and 105 μm, respectively. The stress state is tensile in both the scan and transverse directions and changes to compressive at the depth of around 0.9 mm. Around this region the material is completely solidified and is not affected by the laser. Comparison of the predicted and measured RS shows that they follow each other closely.  Both the in plane and out of plane residual stresses are highly tensile in the melt pool zone and the heat-affected zone in coherence with most of the reported results in the literature as explained in the introduction section. As shown in Figures 9 and 10, in both the scan direction and the transverse direction, there is a gradual change in the stress state from tensile to compressive. This change occurs at around the depth where the medium is solidified and is not affected by the laser. The results confirm that upon cooling the melt pool and the heat-affected zones are under tension due to the shrinkage of the material, and when the material is completely solidified and is not affected by the laser anymore, the material experiences a compression stress state. The oscillations in the melt pool and the heat-affected zone are due to the fact that the thermal and mechanical material properties vary significantly in these regions. Therefore, an abrupt change in one of the material properties would result in oscillations. This could be better improved by having more material property data points at different temperatures.

Conclusions
A physics-based analytical model is proposed to rapidly and accurately calculate the stress state within the additively manufactured part. As the explicit computation is executed without meshing or iteration, it can be completed at a speed several orders of magnitude higher than that of conventional FEMs. The high computational efficiency of the proposed model has the potential to affect a wide range of applications, as it could become a powerful tool for design and also fatigue assessment of components undergoing cyclic loading. It also enables efficient control and optimization of the process parameters, to achieve a high-quality part.
In this modeling, a transient moving point heat source is employed to predict the in-process temperature field within the built part. Thermal stress induced by steep temperature gradient is then obtained using the Green's functions of stresses due to the point body load in a homogeneous semiinfinite medium. Lastly, the stress state is obtained by importing the thermal history as an input for residual stress prediction using the modified McDowell algorithm, in which both the in plane and out of plane residual stress distributions are obtained from the incremental plasticity and kinematic hardening behavior of the metal, coupled with the equilibrium and compatibility conditions. In this modeling, the relationship between three normal stresses are considered according to the property of volume invariance in plastic deformation.
Due to the fast irradiation of the laser and quite low thermal conductivity of the material, the material experiences a high temperature gradient. The high temperature gradient induced variation of the material properties in the medium. Consequently, the material properties are considered temperature sensitive. Moreover, the energy needed for the solid-state phase change is considered by modifying the heat capacity using the latent heat of fusion. Furthermore, the effect of the layer thickness, the hatching space and the scan strategy are considered in this modeling by incorporating the temperature history from the previous scans.
In this work, first the temperature field is predicted for the Ti-6Al-4V specimens. Distribution of  Figure 10 shows the predicted RS in the scan and transverse directions for the second sample in Table 2 with the laser power of 385 W, scan speed of 25 mm/s, and layer height and hatch spacing of 250 and 105 µm, respectively. The stress state is tensile in both the scan and transverse directions and changes to compressive at the depth of around 0.9 mm. Around this region the material is completely solidified and is not affected by the laser. Comparison of the predicted and measured RS shows that they follow each other closely.

Conclusions
A physics-based analytical model is proposed to rapidly and accurately calculate the stress state within the additively manufactured part. As the explicit computation is executed without meshing or iteration, it can be completed at a speed several orders of magnitude higher than that of conventional FEMs. The high computational efficiency of the proposed model has the potential to affect a wide range of applications, as it could become a powerful tool for design and also fatigue assessment of components undergoing cyclic loading. It also enables efficient control and optimization of the process parameters, to achieve a high-quality part.
In this modeling, a transient moving point heat source is employed to predict the in-process temperature field within the built part. Thermal stress induced by steep temperature gradient is then obtained using the Green's functions of stresses due to the point body load in a homogeneous semi-infinite medium. Lastly, the stress state is obtained by importing the thermal history as an input for residual stress prediction using the modified McDowell algorithm, in which both the in plane and out of plane residual stress distributions are obtained from the incremental plasticity and kinematic hardening behavior of the metal, coupled with the equilibrium and compatibility conditions. In this modeling, the relationship between three normal stresses are considered according to the property of volume invariance in plastic deformation.
Due to the fast irradiation of the laser and quite low thermal conductivity of the material, the material experiences a high temperature gradient. The high temperature gradient induced variation of the material properties in the medium. Consequently, the material properties are considered temperature sensitive. Moreover, the energy needed for the solid-state phase change is considered by modifying the heat capacity using the latent heat of fusion. Furthermore, the effect of the layer thickness, the hatching space and the scan strategy are considered in this modeling by incorporating the temperature history from the previous scans.
In this work, first the temperature field is predicted for the Ti-6Al-4V specimens. Distribution of thermal and mechanical material properties including density, specific heat, thermal conductivity, elastic modulus, coefficient of thermal expansion, yield strength, and Poisson's ratio for the laser power of 385 W and scan speed of 40 mm/s showed that the high temperature gradient in the AM process notably changes the material properties within the medium.
The predicted temperature fields for both samples showed that in the vicinity of the melt pool area the temperature and the magnitude of the temperature gradient is high enough to cause the thermal stress to exceed the yield strength of the material. Upon cyclic loading and unloading of the material during the heating and cooling cycles, the material experience high residual stress. The predicted residual stress showed that the stress state is highly tensile in the melt pool and the heat-affected zones, and compressive in the solidified regions. Good qualitative and quantitative agreement is achieved between the predicted and measured residual stresses for the Ti-6Al-4V samples.