Abstract
Despite the advances in hardware and software techniques, standard numerical methods fail in providing real-time simulations, especially for complex processes such as additive manufacturing applications. A real-time simulation enables process control through the combination of process monitoring and automated feedback, which increases the flexibility and quality of a process. Typically, before producing a whole additive manufacturing structure, a simplified experiment in the form of a bead-on-plate experiment is performed to get a first insight into the process and to set parameters suitably. In this work, a reduced order model for the transient thermal problem of the bead-on-plate weld simulation is developed, allowing an efficient model calibration and control of the process. The proposed approach applies the proper generalized decomposition (PGD) method, a popular model order reduction technique, to decrease the computational effort of each model evaluation required multiple times in parameter estimation, control, and optimization. The welding torch is modeled by a moving heat source, which leads to difficulties separating space and time, a key ingredient in PGD simulations. A novel approach for separating space and time is applied and extended to 3D problems allowing the derivation of an efficient separated representation of the temperature. The results are verified against a standard finite element model showing excellent agreement. The reduced order model is also leveraged in a Bayesian model parameter estimation setup, speeding up calibrations and ultimately leading to an optimized real-time simulation approach for welding experiment using synthetic as well as real measurement data.
Similar content being viewed by others
1 Introduction
In industrial settings, the driving factor to use a specific process is often the achievable benefit. Thus, with the rise of additive manufacturing in industry, the race for cost reduction started. Typically, numerical simulations (such as finite element simulations) are used in the design stage to avoid an in-series production of real, physical prototypes, which are nothing but test cases [1]. Such simulations also provide more flexibility in optimization with the drawback of heavy computation times as well as a complex implementation. For the calibration of the simulation (through parameter estimation) and optimization of the results using real data, in the context of setting-up a digital twin, additional methods are required. These methods are often based on sampling approaches like Markov chain Monte Carlo (MCMC). Such approaches require a huge number of evaluations of the numerical model, with varying parameter sets, resulting in tremendous computational costs. Therefore, new approaches are required with the aim of providing real-time simulations and calibration. A popular concept to decrease the computational effort is model order reduction, where the evaluation of the model is faster than classically used approaches, even for complex processes.
On the other hand, computational weld mechanics [2] has become a powerful tool to analyze the heat effects during welding and gaining a deeper understanding of the underlying physics, especially in arc welding processes [3,4,5,6,7,8]. However, due to the necessary simplifications in modelling, a validation against experimental reference data is compulsory [9]. A calibration of numerical models, through parameter estimation, is generally performed using deterministic model calibration such as least square [10]. An alternative to deterministic modelling is a Bayesian approach, which aims to approximate the posterior probability density function of the model parameters, allowing a full characterization of the uncertainties, as discussed in detail in [11]. However, in all cases, the computational cost of the direct simulations is still a limiting factor. These computational costs can be decreased by applying reduced order modelling (ROM). Its goal is to find a lower dimensional representation, which is able to capture the dominant behavior of the investigated system. A large variety of different approaches have been developed in the last decades. One of them is the “a priori” proper generalized decomposition [12,13,14], which has been used in several applications, for example surgery simulations [15, 16], data-driven applications [17, 18], contact problems [19, 20], and parameter estimation [21, 22]. Based on an a priori approximation of the solution field by a separated representation given by a number of proper generalized decomposition (PGD) modes, for all possible model parameters, a solution is generated giving all solution fields in a fixed parameter space. In general, each PGD mode is defined in a one-dimensional space, but a grouping of parameters, such as a mode defined in a 3D space, is possible, too. These additional PGD parameters could be besides the physical space, the time, and each model parameter. If the problem is hardly separable, a separation of the PGD weak form into the chosen PGD parameters is not possible. Novel methods are published to handle these cases; Ghnatios et al. [23] derived a method to operate such problems.
In the present paper, a hardly separable problem is addressed in the context of wire arc additive manufacturing, developing an efficient reduced order model of the temperature evolution using the PGD method. Since the welding torch is modeled by a moving heat source as a function of time, a standard PGD application will reach its limits [24]. In [23, 25, 26], a mapping approach is developed with a key idea to map those hardly separable parametric problem through the use of a coordinate transformation to a space where the separation is possible. The PGD calculation is typically computationally more complex than a standard finite element calculation, which considers a single set of parameters, but afterwards, the evaluation of the solution field for specific parameter sets can be done efficiently without solving any equation system. Thus, PGD is an appealing tool in cases where the same problem must be evaluated multiple times while varying its parameters, like model calibration or optimization tasks. Recently, the PGD approach has also been applied to thermal problems in the context of welding simulations. In Rubio et al. [22], a PGD model considering the width of a moving heat source as PGD parameter is discussed. It was also used as a forward model within a Bayesian model updating framework, by calling the PGD model in each sample of the underlying Markov chain sampling approach. In that case, the moving heat source was handled by a movement of the global coordinate system instead of a direct movement of the torch as well as an approximation by an asymptotic series. Furthermore, Favaretto et al. [27] considered temperature-dependent material parameters in their PGD model and Lu et al. [28] a coupling to the mechanical problem.
The aim of this paper is to develop a fast to evaluate digital numerical reduced order model for arc welding simulations allowing for an efficient and reliable parameter estimation and control of the underlying process. Usually, the first step on the way to implement a wire arc additive manufacturing production is the bead-on-plate experiment. For that reason, the paper focuses on this experiment, but the proposed procedure can be extended to more complex problems. In such more complex problems, the geometry of the weld penetration changes completely due to the different heat conduction in a beat-on-plate seam and a build-up welds in higher layers, which means that an adapted heat source must be used [29]. Furthermore, in the bead-on-plate weld experiment, conventional technology with thermocouples and a camera is used to monitor the welding process. In Richter et al. [30], a new possibility of weld pool monitoring is described.
The related bead-on-plate weld experiment is first described before a general thermal transient model for its temperature evolution is derived with a finite element reference model and the PGD reduced order model. This reduced order model is coupled to a mapping approach, which handles the hardly separable parametric problem caused by the moving heat source. Moreover, this work extends the mapping approach by Ghnatios et al. [23] to a real 3D bead-on-plate weld problem. Furthermore, the derived reduced order model is used in a Bayesian inference setup for a stochastic parameter estimation. Several convergence studies as well as an efficient parameter estimation leveraging the reduced order model are performed, showing an excellent performance of the reduced order model.
2 Bead-on-plate experiment
The investigated bead-on-plate weld experiment shown in Fig. 1 (left) is an automated pulsed-MIG process with a M12 (Ar+2.5% CO\(_2\)) as shielding gas. In the investigated setup, a 6-axis industrial robot moves the welding torch over the x-y-plane of a plate with dimensions \((L_x,L_y,L_z)\). The welding torch starts at the point \((x_0,y_0,z_0)\), moves in x-direction with a prescribed speed v in 1 G welding position, and is turned on at the time \(t_\textrm{on}\) with average thermal power P, which can be determined by measurement of the transient arc voltage and power. During the movement, the welding torch passes four type K thermocouples T01, T02, T03, and T04, which measure the process temperature (see Fig. 2). The thermocouple T01 is on the bottom of the plate, whereas the other three are on top of the plate. Furthermore, the thermocouple T04 is inserted directly into the weld pool behind the welding torch during the welding process. Additionally, the whole process is captured by several cameras. Alternatively, the welding process can also be monitored using other approaches as in [30]. The used power source is a Fronius TPS 500i. Before the welding process starts, the plate has fully adapted to the ambient temperature \(T_\infty \). At the bottom of the plate, normal convection occurs, since the plate is slightly elevated. At the time \(t_\textrm{off}\), the welding torch is turned off and the plate cools down. The plate as well as the deposition material is 1.4404 (AISI 316 L) — an austenitic stainless steel, which is often used in the chemical industry, due to its lack of a solid phase transformation as well as its excellent corrosion resistance. The material properties that are considered are the density \(\varrho \), the specific heat capacity \(c_p\) and the thermal conductivity k. For the numerical analysis these material parameters are assumed to be temperature independent and given. The setup is shown in Fig. 2 before (left) and after (right) the welding process. Furthermore, Fig. 3 shows the weld pool size recorded during the experiment. The corresponding process parameter values are listed in Table 1. The effective heat input into the workpiece and the convection’s heat transfer coefficient are process parameters that are estimated using the measurement data. For that reason, they are added as additional variables in the reduced order model to efficiently solve the forward problem (thermal field as a function of these parameters) within the inverse parameter estimation problem. The number of forward model evaluations in the solution of the inverse problem depends on the methodology and ranges from less than a hundred for deterministic gradient based models up to more than a million for Bayesian inference procedures.
3 Models and methods
3.1 Thermal transient model
WAAM is often used to produce thick–walled structures; thus, the heat accumulation is a main issue in the process [31, 32]. A parametric problem for simulating temperature evolution of the bead-on-plate experiment described in Section 2 is sketched in Fig. 1 (right). The simulation focuses on the thermal problem as it is one of the most important phenomena and consists a required input to find other relevant information, such as the solid phase distribution. The energy input of the welding torch is modeled by a moving heat source. Hence, the thermal transient problem with a moving heat source can be described by the classical heat equation
where T(x, y, z, t) is the temperature field and q(x, y, z, t) is the heat source in the 3D-domain \(\Omega = [0,L_x] \times [0,L_y] \times [0,L_z]\) over a time interval \(I=[0, t_\textrm{end}]\). The heat source is simulated by the commonly used mathematical model proposed by Goldak et al. [33]. Different heat source models are analyzed in [34, 35]. The Goldak heat source approximates the energy distribution by a double-ellipsoid Gaussian distribution. Thus, the moving heat source taking the movement in x-direction with velocity v into account is defined as
with \(q_\textrm{f}\) the energy input in the heat source’s front part; \(q_\textrm{r}\) the energy input in the heat source’s rear part; \(\eta \) the arc efficiency; P the thermal power; \(a_\textrm{f}\), \(a_\textrm{r}\), b, and c the spatial distribution parameters as depicted in Fig. 4 measured via camera pictures during the experiment of Fig. 3; and \(\varvec{x} = \begin{bmatrix} x&y&z \end{bmatrix}^\intercal \) a vector containing the global spatial coordinates. For the computation of multiple layers, an adjustment coefficient for the heat source as in [29] would be necessary, since the weld penetration changes in higher layers. The coordinate system’s origin is located in the lower corner of the plate shown in Fig. 1 (right). By definition, the energy input of the heat source reaches 5% intensity at its boundary given by \(a_\textrm{f}\), \(a_\textrm{r}\), b, and c. Thereafter, it is assumed that the heat source vanishes. Figure 5 shows a simplified representation of the heat source’s movement across the plate. There, the heat source is active for \(t \in [t_\textrm{on},t_\textrm{off}]\), that is in the heating phase, and its path is marked by a solid line. Afterwards, the heat source is turned off and the plate cools down in the cooling phase.
The plate starts at ambient temperature \(T_\infty \). Thus, the initial condition is given by
Heat loss is undergone through convective heat transfer as boundary condition over \(\partial \Omega \) writes:
with \(T_\textrm{s}\) the surface temperature and h the heat transfer coefficient. In this work, the radiation boundary condition is not directly considered; instead, it is combined with the convection boundary condition by linearization of the radiation through
with \(\varepsilon \) the emissivity, \(\sigma \) the Stefan-Boltzmann constant, and
3.2 Full order FE model
Applying the standard procedure to derive the weak form of Eq. (1) with the boundary conditions given in Eqs. (3) and (4), where in the following \(h=h_\textrm{combined}=\textrm{const}\) is assumed, that is multiplying with a test function \(T^*\), integrating and applying Green’s first identity, yields the weak form of Eq. (1)
Furthermore, to increase the stability of numerical methods solving Eq. (7), the space, time, and temperature in dimensionless form are considered. Thus, defining
with arbitrary but fixed \(L_\textrm{ref}, t_\textrm{ref}, T_\textrm{ref} \in \mathbb {R}^+\) yields the dimensionless weak form
with the dimensionless spaces \(\mathfrak {Q} = \Omega / L_\textrm{ref}\) and \(\mathfrak {I} = I / t_\textrm{ref}\),
As a reference full order model, the dimensionless weak form given in Eq. (9) is solved by applying the finite element method. A backward Euler approach is used for the time integration
Hence, the discrete system of the full order model for each time step m is given as
with the mass matrix \(\varvec{M}\) and stiffness matrix \(\varvec{K}\). Here, \(\varvec{M} = \int _{\mathfrak {Q}} \varvec{N}^\intercal \varvec{N} \text {d}{V}\) and \(\varvec{K} = \textrm{Fo} \int _{\mathfrak {Q}} \varvec{B}^\intercal \varvec{B} \text {d}{V} + \mathrm {Bi\,Fo} \int _{\partial \mathfrak {Q}} \varvec{N}^\intercal \varvec{N} \text {d}{A}\), with \(\varvec{N} = \begin{bmatrix}\phi _1&\phi _2&\dots \end{bmatrix}\) a vector containing the linear, second-order finite element shape functions and \(\varvec{B} = \begin{bmatrix}\varvec{\nabla } \phi _1&\varvec{\nabla } \phi _2&\dots \end{bmatrix}\) its space derivatives. The heat source \(q^{m+1}\) is split as in Eq. (1) into
3.3 PGD reduced model with mapping
Examples for deriving a PGD model for various transient thermal problems can be found in [27, 36]. First, a separate representation of the unknown temperature field has to be chosen. Since the arc efficiency \(\eta \) and the heat transfer coefficient h are to be identified based on real measurements, both parameters \(\eta \) and h are defined as additional PGD coordinates in intervals \(\mathfrak {N}:= [\eta _\textrm{min},\eta _\textrm{max}]\) and \(E:= [h_\textrm{min},h_\textrm{max}]\) in addition to the dimensionless space \(\xi _x,\xi _y,\xi _z\) and time \(\tau \). The interval boundaries of \(\mathfrak {N}\) and E represent the minimum and maximum possible inputs into the PGD model. In order to increase the stability of the PGD model, the heat transfer coefficient h in dimensionless form is used, that is \(h=h_\textrm{0}\mathfrak {h}\), \(\mathfrak {h} \in \mathfrak {H}:= E/h_\textrm{0}\) with a fixed value \(h_\textrm{0} \in \mathbb {R}^+\) based on prior knowledge. Thus, the temperature field will be approximated as
with the PGD modes (old set \(F_j\) and new set X, Y, Z, K, M, H), homogeneous boundary condition \(F_4(\tau =0)=0\) and the given inhomogeneous initial condition G separated for each system parameter. Hence, G holds
More details of this splitting into homogeneous and inhomogeneous part can be found in [36]. Inserting the PGD approach of Eq. (14) into the dimensionless weak form given in Eq. (9) yields a nonlinear problem for the PGD modes \(F_j^i, j=1,\dots ,6, i=1,\dots ,n\). This nonlinear problem is solved iteratively for each new mode set X, Y, Z, K, M, H assuming the old \(\Theta ^{n-1}\) is already known. Furthermore, the resulting nonlinear problem
with \(\mathfrak {F}:= \mathfrak {I} \times \mathfrak {N} \times \mathfrak {H}\) is solved by an iterative scheme. An alternated directions fixed-point algorithm is used, as proposed in [37]. In this approach, each iteration consists of a number of steps equal to the number of PGD variables, which are repeated until reaching the fixed point. In the first step, the first PGD variable is updated; thus, \(T^*\) reduces to
while assuming all modes independent from the current variable as known. Next, the integral is separated into each variable, leading to a multiparameter solution without solving a huge multiparameter problem, but rather many small dimensional problems. These problems can be solved by standard approaches like finite elements, finite differences, or similar. The procedure for the first PGD variable’s mode is then repeated successively for each variable, leading to the new mode values after convergence. The used algorithm for that can be found in [38]. In this work, the problem regarding the time t is solved using finite differences, whereas the other problems are solved using finite elements.
However, the function describing the moving heat source given in Eq. (2) is not separable in space and time affine to the proposed separation in Eq. (14). Therefore, another approach for the separation is required allowing an efficient computation of the PGD modes as described above. Ghnatios et al. [23] developed a method for such hardly separable parametric problems. Details related to the derivation of the weak form are given in Appendix 1. The main idea of that approach is to map a hardly separable problem into a separable one by a coordinate transformation. Hence, the time t is transformed to the position of the heat source r. Additionally, the domain, where the heat source is moving, is separated into three parts s, as shown in Fig. 6 (right). The first part \(s \in [0,1)\) comprises everything behind the heat source, the second part \(s \in [1,2]\) depicts the heat source, and the last part \(s \in (2,3]\) comprises everything in front of the heat source. Hence, this domain splitting is dependent on the heat source’s current position. When the heat source is turned off, in other words in the cooling phase, the right-hand side term vanishes and thus, the mapping is no longer needed.
Making use of this approach for the heating phase with \(q=q_\textrm{G}\) leads to the definition of the first mapping parameter r
where \(r_\textrm{on}\) and \(r_\textrm{off}\) are restrictions, which are necessary to have a well-posed problem. These restrictions represent a spatial offset at the plate edges, since a weld that protrudes beyond it cannot be computed with the mapping approach. The load’s position is described by two functions \(h_1(r)\), \(h_2(r)\) and the constant width \(h_\textrm{g}\), as shown in Fig. 6 (left). Here, the width \(h_\textrm{g}\) is set to \(h_\textrm{g} = a_\textrm{f} + a_\textrm{r}\), since this is the size of the Goldak heat source in x-direction as shown in Fig. 4, whereas the functions \(h_1(r)\) and \(h_2(r)\) are defined as
The second mapping parameter s, which separates the domain into three parts, is then defined as
Since it is not allowed to divide by zero, the restrictions \(r_\textrm{on}\) and \(r_\textrm{off}\) need to hold \(h_1(r_\textrm{on}) > 0\) and \(h_2(r_\textrm{off}) > 0\) and thus \(r_\textrm{on} > a_\textrm{r}\) and \(L_x - r_\textrm{off} > a_\textrm{f}\). However, if the heat source is switched on at time \(t_\textrm{on}\), such that the whole weld pool is on the plate, then \(r_\textrm{on} = x_0 + v t_\textrm{on} > a_\textrm{r}\) is a suitable choice. Correspondingly, if the source is switched off before the plate edge at time \(t_\textrm{off}\), \(r_\textrm{off} = x_0 + v t_\textrm{off} < L_x - a_\textrm{f}\) is a suitable choice. These choices also fit the performed experiment.
Transforming the \(\Theta (\xi _x,\xi _y,\xi _z,\tau ,\eta ,\mathfrak {h})\) problem to the mapped \(\Theta (s,\xi _y,\xi _z,r,\eta ,\mathfrak {h})\) problem is given by coordinate transformation
Details of that transformation, as well as the definition of the simplifications \(\nabla _{\varvec{\xi }r}\Theta \) and \(\varvec{B}_{\tau } \nabla _{sr}\Theta \) can be found in Appendix 2.
Applying the mapped PGD approach
to the dimensionless weak form given in Eq. (16) yields the mapped weak form
with \(\mathfrak {O}:= [0,3]\times [0,L_y/L_\textrm{ref}]\times [0,L_z/L_\textrm{ref}]\) and \(\mathfrak {A}:= \mathfrak {R}\times \mathfrak {N}\times \mathfrak {H}\). The calculation of the required Jacobian and derivatives can be found in Appendix 2. On the weak form’s right-hand side of Eq. (22), the heat source q must be mapped accordingly. Therefore, applying the mapping for \(s \in [1,2]\), that is
to the Goldak heat source given in Eq. (2) leads to
with \(s\in [1,2]\). The mapping is not required for the right-hand side, since \(q=0\) is assumed for \(s \in [0,1)\bigcup (2,3]\). This transformed equation can easily be separated for each parameter into \(\prod _{i=1}^6 \bar{q}_i\) — the reason why the mapping approach was introduced — and is furthermore independent of r.
The model including the mapping cannot be extended to take the cooling phase into account, due to its restriction in r. Thus, a second PGD model is added for the cooling phase given Eq. (16) with \(q=0, t\in (t_\textrm{off},t_\textrm{end}]\) and as initial condition the temperature at the last time point of the heating phase.
In summary, two coupled PGD models are introduced. On the one hand, a model (\(\Theta _1\)) with the mapping for the heating phase and, on the other hand, a model (\(\Theta _2\)) without the mapping for the cooling phase. These problems are summarized as:
Heating phase
Cooling phase
3.4 Bayesian model calibration
A frequently applied method to estimate a simulation model’s parameters while accounting for the associated uncertainties is Bayesian parameter estimation. In this approach, based on some prior knowledge with respect to the model’s parameters in combination with given observations, the parameter’s joint posterior probability distribution is computed using Bayes’ rule via
In this equation, \(\varvec{\theta }\in \mathbb {R}^n\), \(n\in \mathbb {N}\) represents the vector of model parameters, \(p(\varvec{\theta })\) the corresponding prior distribution, \(p(\varvec{\theta }\,|\,\mathcal {D})\) the parameter’s posterior distribution and \(p(\mathcal {D}\,|\,\varvec{\theta })\) the likelihood function, in other words the probability that the model has generated the data given the model parameters. Note that the computed posterior distribution may be seen as an update of the prior distribution given the provided observations \(\mathcal {D}\). More details on the mathematical background can be found for example in [39].
In order to evaluate Eq. (27), several approaches are available, for example direct computation, approximations [40], or sampling-based methods [41]. Note that the main effort in this evaluation is associated with the possibly high-dimensional integral over the parameter space in the denominator of the right-hand-side expression. In this work, a sampling-based approach in the form of Markov chain Monte Carlo (MCMC) sampling [42, 43] is applied. The corresponding computations are conducted using probeye [44], a Python package developed at the corresponding author’s department for defining and solving parameter estimation problems.
Those calibration approaches are usually very time-consuming, since a huge number of problem evaluations often in the order of \(10^4\)–\(10^6\) with different parameter values are required. Here, the derived PGD reduced model is used, which allows real-time evaluation for all parameter values in a prescribed range leading to a very efficient parameter estimation setup.
3.5 Error measurement
Ensuring that a model creates trustworthy data is mandatory. This can be achieved with convergence analysis and error measurement. For this purpose, a mesh convergence analysis should be carried out for the FEM model, which ensures that the generated data no longer changes. Here, the error between different solutions is given as the local relative error integrated in time:
This error should decrease in each step of a mesh convergence study with M1 the FE model at iteration \(l-1\) and M2 the FE model at iteration l. As soon as this difference is below a user-defined threshold, the solution is assumed to be converged. Furthermore, checking the accuracy of a model against another model, for example with M1 the PGD model and M2 the reference FE model, the smaller the error defined in Eq. (28) is, the better the models fit to each other.
4 Results and discussion
4.1 Experimental results
During the experiment described in Section 2, the temperature evolution was measured by several thermocouples. Figure 7 shows measured temperature data at three thermocouples for this experiment, where the heating and cooling phase is separated by a dashed line. In the heating phase, the thermocouple T04 is inserted directly into the weld pool behind the welding torch during the welding process. Hence, for this thermocouple, the relevant data starts after the breakdown of all thermocouples, since this breakdown of all the thermocouples is a consequence of the insertion of the thermocouple T04 into the molten steel. For the other thermocouples, the temperature peak is reached when the arc is as close as possible to them. Furthermore, it can be observed that in the heating phase, after the temperature peak has been reached, the temperature drops much faster at the thermocouples which are on the top of the plate than for the thermocouple at the bottom of the plate.
4.2 Numerical results
The validation of the proposed PGD model, which extends the mapping approach by Ghnatios et al. [23] to a real 3D bead-on-plate weld problem, is first performed by a comparison with the FEM solution without taking the experimental data into account. The goal is to analyze the quality of the reduced order model with a sensitivity analysis related to the numerical parameters such as the number of modes or the mesh discretization. For this validation, the model parameters are set according to Table 2. Even though the arc efficiency \(\eta \) (PGD variable) is in general less than 1, the model should be able to notice untypical cases with \(\eta \ge 1\), where most likely inaccuracies in the experimental setup occurred. Thus, \(\eta _\textrm{max}\) is chosen larger than 1, such that the PGD model is able to handle these cases. Additionally, the heat transfer is represented by convection and linearized radiation with a combined and constant heat transfer coefficient \(\mathfrak {h}\) (PGD variable). For illustration purposes, a snapshot of the PGD model solution is plotted in Fig. 8. It shows the reduced order model’s temperature field at a specific time point (25s) in the heating phase. Here, the extreme local temperature changes typical of the experiment can be observed.
The numerical accuracy of a PGD model depends on the discretization of each PGD parameter space as well as on the number of PGD modes. A typical approach for a PGD convergence analysis is to compare the PGD solution with a full order model solution with parameters in the PGD space to show that the PGD solution can adapt to different settings correctly. To obtain such a reference FEM solution, a mesh convergence study is required. Figure 9 shows the averaged error according to Eq. (28) over the refinement steps with fixed parameters \(\eta = 0.8\) and \(h={15}{\text {W}/(\text {m}^{2}\text {K})}\). Here, the initial spatial discretization has 40 elements in x-direction, 20 in y-direction, and 2 in z-direction. In each refinement step, the number of elements is doubled. The error in the time mesh analysis converges after 8 refinement steps with an error of \(10^{-3}\). The same magnitude of the error in the space mesh analysis is reached after 6 refinement steps. For both meshes, the last but one refinement is used as mesh discretization for the FEM reference solution, respectively.
Based on the FEM mesh convergence analysis, the number of elements of the corresponding PGD meshes is chosen as \(s:3945, \; \xi _y:640, \; \xi _z:44, \; r:1280, \; \eta :200, \; and \mathfrak {h}:140\). Figure 10 shows the decrease of the mean local error according to Eq. (28) integrated in time for six sets of chosen parameters \((\eta , h)\) at the four thermocouples, as the number of PGD modes in the heating as well as in the cooling phase increases. In the heating phase, within the first 60 modes, a typical non-monotonic convergence to around \(3\%\) accuracy can be observed. The PGD modes in the cooling phase converge in the first 30 modes to the FEM reference solution up to an accuracy of around \(4\%\). The different behavior in terms of a more monotonic decrease of the error in the cooling phase results from the absence of the large temperature gradients in the heating phase.
In Fig. 11, the temperature evolution over time computed with the PGD model compared with the reference FEM simulation at thermocouples T02 and T04 is plotted for a specific parameter set \((\eta =0.8, h={15}{\text {W}/(\text {m}^{2}\text {K})}\). An excellent agreement of the solutions can be observed.
4.3 Bead-on-plate calibration
The performed calibration of the proposed bead-on-plate experiment aims to identify the heat transfer coefficient h as well as the arc efficiency \(\eta \) from the experiment’s temperature data described in Section 4.1. The calibration is independent of the temperature measurement method, in other words independent of whether a conventional approach with thermocouples or a newer approach with a pyrometer as in [30] is used to measure the temperature. The calibration of the heat transfer coefficient h needs an understanding of the welding process itself. Even though the convection has an effect all the time, it is marginal as long as the heat source is still active. This behavior is reflected in the PGD modes in \(\mathfrak {h}\), which are almost constant in the heating phase. Thus, the convection is marginal in this phase and a calibration of h would be inaccurate. Hence, to identify the heat transfer coefficient h, the cooling phase needs to be considered as also done in [45].
First, a calibration with synthetic measurement data is performed. Thus, the temperature values of the reference FE model (cooling phase) at all thermocouples, with \(\eta =0.8\) and \(h={15}{\text {W}/(\text {m}^{2}\text {K})}\), are used as measured data by adding a normal distributed measurement noise with zero mean and standard deviation \(\sigma ={15}^{\circ }\)C. The usage of virtual data allows to validate the developed model as well as to do some parametric studies, for example an investigation of the influence on the number of data points. The calibration is performed using MCMC with 20 chains, 1000 samples in the burn in phase, and 10,000 samples afterwards using
as prior distributions. The definition of the used likelihood function can be found in Appendix 3, where \(\textbf{y}_e\) denotes the measurement data at all thermocouples. The identified posteriori is depicted in Fig. 12 (left). Due to the applied probabilistic approach, the result is again a probability distribution instead of a single set on parameter values resulting from the usual deterministic approaches as in [45, 46]. Furthermore, the used measured data is compared to the PGD model evaluated at the identified mean parameter values, which is shown in Fig. 12 (right) for the thermocouple T02. There, an excellent accuracy can be observed. Additionally, due to the properties of the MCMC method, the added noise is identified as well.
Second, a calibration with real measurement data given in Fig. 7 splitted in training and testing is performed. The training is performed at the thermocouples T03 and T04, using the same settings as before, in other words the same priors and the same number of chains and samples. In the likelihood, the vector \(\textbf{y}_e\) is filled with temperature values measured by the thermocouples T03 and T04, considering only the cooling phase. The testing is then done at the thermocouple T01. In the process, the inference estimates the posteriori parameter distribution for the reduced model to fit the real data. In Fig. 13, the identified posteriori is depicted. The identified means of the parameters are
Figure 14 shows the validation of the calibrated PGD model at thermocouple T01, which is not included in the parameter estimation. The predictive posterior is computed by the samples of the MCMC algorithm. Since the parameter distributions are narrow, which is favored by a time correlation through a large number of data points, the uncertainty of the parameters is low. Thus, the standard deviation of the predictive posterior is dominated by the identified measurement noise with mean \(\bar{\sigma } = {12.32}^{\circ }\)C. Several things can be observed. First, on the left is the heating phase, which is not included in the calibration procedure. The error of the model to the measurement data is expected, since the model contains temperature independent material parameters as well as no further weld pool analysis and a welding process is a complex procedure, for example with an influence of the temperature dependency of the material parameters, especially in the heating phase. The focus here lies on the cooling phase, which is depicted on the right. There, a good agreement with the real cooling temperature decrease can be observed. Thus, even though the investigated models only use temperature independent material parameters as well as no further weld pool analysis, the approximation of real temperature data in the cooling phase of such a wire arc welding process is possible.
The great advantage lies in the computational time saving. A full order model like a FE model, which is the usual model for a welding simulation as in [34, 35, 47, 48], needs several hours for a single computation, whereas the reduced model only takes milliseconds for one evaluation, for example a computation of the temperature for the full time domain takes around 3.7 ms per thermocouple for the presented PGD model, and thus the complete calibration lasts minutes. Such high-speed parameter estimations were done using analytical models as in [49, 50], which come with a big trade-off in the amount of assumptions needed to set them up. Thus, the usage of the reduced order model combines the advantages of the accuracy of a FEM model with the speed of an analytical model. With that, the proposed methodology using the reduced order model enables an efficient model parameter estimation and builds the basis for the usage of a future digital twin in process control, where real-time measurement data is fed into a numerical model that augments the sensor data by computing additional indicators that can then be used for direct process control. However, the heat source has to be adjusted for a multi-layer simulation, since the geometry of the weld penetration changes due to the different heat conduction. A fitting approach for this is discussed in [29], where an adjustment term is added in the heat source model, which could be treated as an additional PGD variable.
5 Conclusion
In the present paper, a PGD forward model with a mapping capturing the hardly separable moving heat source for the temperature field of the wire arc additive manufacturing bead-on-plate weld problem is introduced and combined with a model calibration process. The hardly separable moving heat source term is handled by a mapping approach, which is extended to a 3D problem allowing the derivation of an efficient separated representation of the temperature. The proposed methods form the basis for a future digital twin regarding the real-time wire arc additive manufacturing process control.
Convergence studies are performed for the presented models showing good agreement of the PGD and FE model. A comparison of the PGD model to real measurement data shows an expected error in the heating phase due to the assumption of temperature independent material parameters as well as no further weld pool analysis, but also shows a good approximation in the cooling phase.
Furthermore, an efficient Bayesian model calibration by using the PGD forward model is performed. This enables a calibration procedure with several thousand samplings evaluated in some minutes. Here, the PGD model calibration process with reference FE model data shows an excellent accuracy of the estimated parameters heat power \(\eta \) and heat transfer coefficient h. Finally, the calibration process with real measurement data is performed leading to a good approximation of the cooling phase. Due to the superb operational time of the reduced model, the model calibration process is fast as well. The reduction of the computational effort through reduced order models yields an excellent calibration possibility, inspiring the use of reduced order models as a tool for future digital twins as defined in [51].
Availability of data and materials
Not applicable
Code availability
\(\bullet \) All of the data are available at Zenodo, via https://doi.org/10.5281/zenodo.7456814
\(\bullet \) The code is implemented in Python with version 3.8 available at http://www.python.org using the open-source tool FEniCS [52] with version 2019.1 available at https://fenicsproject.org/ as the FE tool.
\(\bullet \) To compute the PGD solution, PGDrome is developed which is available at https://github.com/BAMresearch/PGDrome
\(\bullet \) The model calibration is performed with probeye version 2.1.5, which is available at https://github.com/BAMresearch/probeye
References
Pittner A, Weiss D, Schwenk C, Rethmeier M (2011) Fast temperature field generation for welding simulation and reduction of experimental effort. Weld. World 55(9):83–90. https://doi.org/10.1007/BF03321324
Goldak JA, Akhlaghi M (2005) Computational welding mechanics. Springer, New York. https://doi.org/10.1007/b101137
Hu J, Tsai HL (2007) Heat and mass transfer in gas metal arc welding. Part I: the arc. Int J Heat Mass Tran 833–846. https://doi.org/10.1016/j.ijheatmasstransfer.2006.08.025
Hu J, Tsai HL (2007) Heat and mass transfer in gas metal arc welding. Part II: the metal. Int J Heat Mass Tran. https://doi.org/10.1016/j.ijheatmasstransfer.2006.08.026
Schnick M, Wilhelm G, Lohse M, Füssel U, Murphy A (2011) Three-dimensional modelling of arc behaviour and gas shield quality in tandem gas-metal arc welding using anti-phase pulse synchronization. J Phys D: Appl Phys 44:185205. https://doi.org/10.1088/0022-3727/44/18/185205
Murphy A, Tanaka M, Yamamoto K, Tashiro S, Lowke J, Ostrikov K (2013) Modelling of arc welding: the importance of including the arc plasma in the computational domain. Vacuum 85:579–584. https://doi.org/10.1016/j.vacuum.2010.08.015
Cho D-W, Song W-H, Cho M-H, Na S-J (2013) Analysis of submerged arc welding process by three-dimensional computational fluid dynamics simulations. J Mater Process Tech 213(12):2278–2291. https://doi.org/10.1016/j.jmatprotec.2013.06.017
Ogino Y, Hirata Y, Asai S (2017) Numerical simulation of metal transfer in pulsed-MIG welding. Weld World 61(6):1289–1296. https://doi.org/10.1007/s40194-017-0492-3
Sudnik W, Radaj D, Erofeev W (1996) Computerized simulation of laser beam welding, modelling and verification. J Phys D: Appl Phys 29(11):2811–2817. https://doi.org/10.1088/0022-3727/29/11/013
Liu Y, Zhang X, Lu M (2005) Meshless least-squares method for solving the steady-state heat conduction equation. Tsinghua Sci Technol 10(1):61–66. https://doi.org/10.1016/S1007-0214(05)70010-9
Beven K, Binley A (1992) The future of distributed models: model calibration and uncertainty prediction. Hydrol Process 6(3):279–298. https://doi.org/10.1002/hyp.3360060305
Chinesta F, Leygue A, Bordeu F, Aguado JV, Cueto E, Gonzalez D, Alfaro I, Ammar A, Huerta A (2013) PGD-based computational vademecum for efficient design, optimization and control. Arch Comput Method E 20. https://doi.org/10.1007/s11831-013-9080-x
Chinesta F, Ammar A, Cueto E (2010) Recent advances and new challenges in the use of the proper generalized decomposition for solving multidimensional models. Arch Comput Method E 17(4):327–350. https://doi.org/10.1007/s11831-010-9049-y
Chinesta F, Cueto E, Abisset-Chavanne E, Duval JL, Khaldi FE (2020) Virtual, digital and hybrid twins: a new paradigm in data-based engineering and engineered data. Arch Comput Method E 27(1):105–134. https://doi.org/10.1007/s11831-018-9301-4
Niroomandi S, González D, Alfaro I, Bordeu F, Leygue A, Cueto E, Chinesta F (2013) Real-time simulation of biological soft tissues: a PGD approach. Int J Numer Meth Bio 29(5):586–600. https://doi.org/10.1002/cnm.2544
Mena A, Bel D, Alfaro I, González D, Cueto E, Chinesta F (2015) Towards a pancreatic surgery simulator based on model order reduction. Adv Model Simul Eng Sci 2(31). https://doi.org/10.1186/s40323-015-0049-1
González D, Masson F, Poulhaon F, Leygue A, Cueto E, Chinesta F (2012) Proper generalized decomposition based dynamic data driven inverse identification. Math. Comput. Simulat. 82(9):1677–1695. https://doi.org/10.1016/j.matcom.2012.04.001
Ghnatios C, Barasinski A (2021) A nonparametric probabilistic method to enhance PGD solutions with data-driven approach, application to the automated tape placement process. Adv Model Simul Eng Sci 8(20). https://doi.org/10.1186/s40323-021-00205-5
Claus S, Kerfriden P (2018) A stable and optimally convergent LaTIn-CutFEM algorithm for multiple unilateral contact problems. Int J Numer Meth Eng 113(6):938–966. https://doi.org/10.1002/nme.5694
Giacoma A, Dureisseix D, Gravouil A (2016) An efficient quasioptimal space-time PGD application to frictional contact mechanics. Adv Model Simul Eng Sci 3(12). https://doi.org/10.1186/s40323-016-0067-7
Coelho Lima I, Robens-Radermacher A, Titscher T, Kadoke D, Koutsourelakis P-S, Unger JF (2022) Bayesian inference for random field parameters with a goal-oriented quality control of the PGD forward model’s accuracy. Comput Mech 70(6):1189–1210. https://doi.org/10.1007/s00466-022-02214-6
Rubio P-B, Louf F, Chamoin L (2018) Fast model updating coupling Bayesian inference and PGD model reduction. Comput Mech. https://doi.org/10.1007/s00466-018-1575-8
Ghnatios C, Abisset E, Ammar A, Cueto E, Duval J-L, Chinesta F (2019) Advanced separated spatial representations for hardly separable domains. Comput Method Appl M 354:802–819. https://doi.org/10.1016/j.cma.2019.05.047
Volume Model Order Reduction, 2, (2021) Snapshot-based methods and algorithms. De Gruyter, Berlin, Boston. https://doi.org/10.1515/9783110671490
Ghnatios C, Cueto E, Falco A, Duval J-L, Chinesta F (2021) Spurious-free interpolations for non-intrusive PGD-based parametric solutions: application to composites forming processes. Int J Mater Form 14(1):83–95. https://doi.org/10.1007/s12289-020-01561-0
Ammar A, Ghnatios C, Delplace F, Barasinski A, Duval J, Cueto E, Chinesta F (2020) On the effective conductivity and the apparent viscosity of a thin rough polymer interface using PGD-based separated representations. Int J Numer Meth Eng 121:5256–5274. https://doi.org/10.1002/nme.6448
Favoretto B, de Hillerin CA, Bettinotti O, Oancea V, Barbarulo A (2019) Reduced order modeling via PGD for highly transient thermal evolutions in additive manufacturing. Comput Method Appl M 349:405–430. https://doi.org/10.1016/j.cma.2019.02.033
Lu Y, Blal N, Gravouil A (2018) Multi-parametric space-time computational vademecum for parametric studies: application to real time welding simulations. Finite Elem Anal Des 139:62–72. https://doi.org/10.1016/j.finel.2017.10.008
Oyama K, Diplas S, M’hamdi M, Gunnaes AE, Azar AS (2019) Heat source management in wire-arc additive manufacturing process for Al-Mg and Al-Si alloys. Additive Manuf 26:180–192. https://doi.org/10.1016/j.addma.2019.01.007
Richter A, Gehling T, Treutler K, Wesling V, Rembe C (2021) Real-time measurement of temperature and volume of the weld pool in wire-arc additive manufacturing. Measurement: Sensors 17:100060. https://doi.org/10.1016/j.measen.2021.100060
Hackenhaar W, Mazzaferro JAE, Mazzaferro CCP, Grossi N, Campatelli G (2022) Effects of different WAAM current deposition modes on the mechanical properties of AISI H13 tool steel. Weld World 66(11):2259–2269. https://doi.org/10.1007/s40194-022-01342-0
Ogino Y, Hirata Y, Asai S (2018) Numerical simulation of WAAM process by a GMAW weld pool model. Weld World 62(2):393–401. https://doi.org/10.1007/s40194-018-0556-z
Goldak J, Chakravarti A, Bibby M (1984) A new finite element model for welding heat sources. Metall Trans B 15(2):299–305. https://doi.org/10.1007/BF02667333
Giarollo DF, Mazzaferro CCP, Mazzaferro JAE (2021) Comparison between two heat source models for wire-arc additive manufacturing using GMAW process. J Braz Soc Mech Sci 44(1):7. https://doi.org/10.1007/s40430-021-03307-8
Ahmad SN, Manurung Y, Mat MF, Minggu Z, Jaffar A, Prueller S, Leitner M (2020) Fem simulation procedure for distortion and residual stress analysis of wire arc additive manufacturing. IOP Conf Ser: Mater Sci Eng 834:012083. https://doi.org/10.1088/1757-899X/834/1/012083
Chinesta F, Ammar A, Leygue A, Keunings R (2011) An overview of the proper generalized decomposition with applications in computational rheology. J Non-Newtonian Fluid Mech 166(11):578–592. https://doi.org/10.1016/j.jnnfm.2010.12.012
Chinesta F, Ladevze P (2014) Separated representations and PGD-based model reduction: fundamentals and applications, 1st edn., p. 227. Springer, Vienna. https://doi.org/10.1007/978-3-7091-1794-1
Robens-Radermacher A, Unger JF (2020) Efficient structural reliability analysis by using a PGD model in an adaptive importance sampling schema. Adv Model Simul Eng Sci 7(1). https://doi.org/10.1186/s40323-020-00168-z
Watanabe S (2018) Mathematical theory of Bayesian statistics, 1st edn., p. 330. Chapman and Hall/CRC, New York. https://doi.org/10.1201/9781315373010
Minka TP (2001) A family of algorithms for approximate Bayesian inference. PhD thesis, Massachusetts Institute of Technology
Lye A, Cicirello A, Patelli E (2020) A review of stochastic sampling methods for Bayesian inference problems. In: Proceedings of the 29th European Safety and Reliability Conference, ESREL 2019, pp. 1866–1873. https://doi.org/10.3850/978-981-11-2724-3-1087-cd
Metropolis N, Rosenbluth AW, Rosenbluth MN, Teller AH, Teller E (1953) Equation of state calculations by fast computing machines. J Chem Phys 21(6):1087–1092. https://doi.org/10.1063/1.1699114
Van Ravenzwaaij D, Cassey P, Brown SD (2018) A simple introduction to Markov chain Monte-Carlo sampling. Psychon Bull Rev 25(1):143–154. https://doi.org/10.3758/s13423-016-1015-8
Probeye on the Python package index. https://pypi.org/project/probeye. Accessed: 2022-07-05
Pittner A, Karkhin V, Rethmeier M (2015) Reconstruction of 3D transient temperature field for fusion welding processes on basis of discrete experimental data. Weld World 59(4):497–512. https://doi.org/10.1007/s40194-015-0225-4
Karkhin VA, Plochikhine VV, Ilyin AS, Bergmann HW (2002) Inverse modelling of fusion welding processes. Weld World 46(11):2–13. https://doi.org/10.1007/BF03263391
Kiran DV, Basu B, Shah AK, Mishra S, De A (2010) Probing influence of welding current on weld quality in two wire tandem submerged arc welding of HSLA steel. Sci Technol Weld Joi 15(2):111–116. https://doi.org/10.1179/136217109X12518083193432
Barath Kumar MD, Manikandan M (2022) Assessment of process, parameters, residual stress mitigation, post treatments and finite element analysis simulations of wire arc additive manufacturing technique. Met Mater-int 28(1):54–111. https://doi.org/10.1007/s12540-021-01015-5
Karkhin VA, Pittner A, Schwenk C, Rethmeier M (2011) Simulation of inverse heat conduction problems in fusion welding with extended analytical heat source models. Front Mater Sci 5(2):119–125. https://doi.org/10.1007/s11706-011-0137-1
Syed AA, Pittner A, Rethmeier M, De A (2013) Modeling of gas metal arc welding process using an analytically determined volumetric heat source. ISIJ Int 53(4):698–703. https://doi.org/10.2355/isijinternational.53.698
Stark R, Anderl R, Thoben K-D, Wartzack S (2020) Wigeppositionspapier: “digitaler zwilling". Zeitschrift für wirtschaftlichen Fabrikbetrieb 115(s1):47–50. https://doi.org/10.3139/104.112311
Alnaes MS, Blechta J, Hake J, Johansson A, Kehlet B, Logg A, Richardson C, Ring J, Rognes ME, Wells GN (2015) The FEniCS project version 1.5. Archive of Numerical Software 3. https://doi.org/10.11588/ans.2015.100.20553
Funding
Open Access funding enabled and organized by Projekt DEAL.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare no competing interests.
Ethics approval
Not applicable
Consent to participate
Not applicable
Consent for publication
Not applicable
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendices
Appendix 1. Extended PGD formulation
Solving Eq. (16) (no mapping applied) requires a choice for the test function \(T^*\). A possibility is
To solve the resulting nonlinear problem, an alternated directions fixed-point algorithm is applied. Therefore, the test function considering x as variable reduces to
while assuming all modes independent from the current variable as known. Inserting this approach in the homogeneous form of Eq. (16), that is with \(q=0\), and separate it for each model parameter, yields (for the sake of simplicity, the integral limits are not given)
which can be solved for \(X^*\). The procedure for the first PGD variable’s mode is then repeated successively for each variable, leading to the new mode values after convergence.
Appendix 2. Coordinate transformation
Transforming the dimensionless \(\Theta (\xi _x,\xi _y,\xi _z,\tau ,\eta ,\mathfrak {h})\) problem to the mapped \(\Theta (s,\xi _y,\xi _z,r,\eta ,\mathfrak {h})\) problem is given by coordinate transformation
Thus, it holds
All these derivatives occurred in the weak form given in Eq. (22) and need to be calculated in each of the three s-parts, but are trivial with one exception, the first entry of \(\varvec{B}_{\tau }\):
Considering the above computation yields
Appendix 3. Likelihood function
Let \(\textbf{y}_e\in \mathbb {R}^d,\, d\in \mathbb {N}\) denote the measurement data that depends on a set of input data \(\textbf{x}_e = (x,y,z,t)\), where (x, y, z) describe the position of all thermocouples and t the time interval. Furthermore, the output of the PGD forward model \(\textbf{y}\) at any sensor and at any time is defined as
and the additive covariance matrix as
With these definitions, the likelihood function is defined as
These definitions are based on the more general case noted down in the probeye documentation https://probeye.readthedocs.io/en/latest/mathematics.html, last checked on 16.12.2022.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Strobl, D., Unger, J.F., Ghnatios, C. et al. Efficient bead-on-plate weld model for parameter estimation towards effective wire arc additive manufacturing simulation. Weld World 68, 969–986 (2024). https://doi.org/10.1007/s40194-024-01700-0
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s40194-024-01700-0