1. Introduction and Motivation
The automotive industry’s increasing production rates have heightened the demand for energy-efficient and environmentally sustainable paint curing processes. The “paint curing”, which is defined as the drying of wet or powdered liquid paint to a hard film, is the most critical step in determining the final paint film quality and is a significant energy consumer in the paint shop industries. During the last two decades, with the growing vehicle mass production rate, there has been a higher demand for faster curing time along with satisfying high film quality in terms of visual appearance, corrosion, and durability being taken into consideration. The main implemented strategies were retrofitting, optimizing, or redesigning the previous ovens with the particular view of increasing their energy efficiency. In the automotive industry, paint curing ovens consume more than 20% of the paint shop’s total energy [
1]. More than 25% of the energy is wasted due to suboptimal design, particularly at the startup and setback curing durations. The main sources of energy waste during drying/curing in automotive paint shops are ovens, furnaces, dryers, and boilers, which need special attention [
2]. According to Niamsuwan et al. [
3], wall and stored heat loss, waste gas loss, and entrance radiation loss are the most common types of heat loss in the auto oven. This proves the importance of further and precise numerical assessment of the thermo-fluid–solid coupling scenario and turbulence flow physics inside the automotive curing ovens for thermal energy management, savings, and recovery, with high paint film quality [
4]. The present high-fidelity numerical investigation of thermo-fluid–solid coupling turbulence treatment aims to guarantee the optimization and control of the above-mentioned losses and develop oven efficiency.
The most significant paint film curing mechanisms include solvent loss, chemical reaction, oxidation, melting, and resolidifying [
5]. The heat transfer rate, curing time, and temperature distribution are three determining factors for energy consumption optimization during the drying/curing stage, avoiding under-curing or overcuring phenomena, as shown in the paint cure window (PCW) [
5,
6]. To obtain a corrosion protective film layer of paint, controlling two challenging parameters of the curing temperature (to prevent exposing to crude or over-cured ranges) and the amount of consumed energy in the oven is significant [
5]. The formed paint film quality strongly depends on the conveyor pace and the homogeneity of the temperature distribution, which are controlled by empirical approaches [
7].
Figure 1a exhibits a schematic of a typical PCW, which defines the temperature ranges for the specified heating time with tolerances to reach desired drying/curing quality, as well as maximum (T
max) and minimum (T
min) temperatures as limitations [
8,
9]. If the paint film reaches above the T
max or below the T
min, regardless of curing time, it can be considered an “over-baked/burned-out” or “under-baked” film, respectively. Similarly, the transformed temperature (TT) curve uses a standard method to check the cured paint film quality [
10]. The paint curing is regarded as appropriate when the TT curve enters and exits from the AB and BC lines, respectively. If the cure time becomes lower or excessive for the TT curve to cross the AB and CD lines, the paint film will be “over-baked” or “under-baked”, respectively. The curves that are obtained by measuring the temperature history at the vehicle body critical points are called an ideal curing procedure, as shown in
Figure 1b for the primer coat application [
11].
Automotive mass production rate growth involves the employment of faster curing protectors with optimal lengths to supply mild hot flow without temperature gradients [
12]. Due to the high costs of the computational fluid dynamics (CFD) modeling, complicated geometry of the oven and car, complex physical processes, diverse scales of transient flows, and execution of a moving mesh with many bodies in the long-length oven, automotive continuous ovens are rarely addressed numerically in the literature [
10,
13]. Most of the investigations on this matter have implemented simplified models of the paint curing oven when they have applied various numerical methodologies such as Shrivastava and Ameel [
14], Bielski and Malinowski [
15], Mishra et al. [
16], and Rao [
17]. Some of the most relevant efforts in enhancing automotive paint curing are as follows.
Xiao et al. [
9] used a proactive quality control (QC) method for topcoat curing using dynamic process–product approaches. Rao and Teeparthi [
18] developed a semi-computational model for oven heat-up, focusing on nozzle arrangement and steady-state temperature on the Body in White (BiW) surface. Rao [
17] further refined these equations for complex flow patterns in automobile paint ovens. Wu et al. [
19] introduced a methodology to approximate transient convection fields, offering effective modeling with reduced computational demand. Mulemane et al. [
20] proposed reduced-order models for thermal oven modeling, incorporating lumpd capacities. Despotovic and Babic [
4] and Vasudevan [
21] both focused on energy flow modeling in curing ovens, and examining influential variables, and Vasudevan reported on residual weights and temperatures. Nazif [
6] enhanced energy efficiency in car wax ovens using a low-fidelity turbulence model. Giampieri et al. [
2] investigated energy and thermal management in paint curing to reduce consumption.
Domnick et al. [
22], and Yu [
23] utilized FLUENT software for modeling drying/curing processes, providing insights into paint film quality. Li et al. [
24] demonstrated the effectiveness of CFD modeling in capturing flow dynamics to enhance energy efficiency in industrial applications. Albiez et al. [
25] used Abaqus software for thermo-mechanical behavior modeling on coated aluminum surfaces. Johnson et al. [
26] and Pendar and Páscoa [
13] modeled heat transfer using IPS and OpenFOAM software, respectively, focusing on optimizing curing mechanisms and increasing energy efficiency.
Experimental studies by Seubert and Nichols [
27], Brinckmann et al. [
28], and Chen et al. [
29] investigated automotive epoxy clearcoats and water-based paint-drying. Choi et al. [
30] explored near-infrared range optimization in convective curing ovens. Agha and Abu-Farha [
31] and Sukhodolya et al. [
32] conducted experiments to understand curing effects and thermo-mechanical properties, addressing the challenges of experimental methods in this field.
In a practical conventional curing for an automotive paint shop, the car’s body passes through the curing/drying oven, and the cataphoretic paint on the surface with a thickness of ≈10 to 20 μm is exposed to heat with an average temperature of ≈170 °C for around 30 min. Subsequently, after applying the clear coat and base coat layers through spraying, the body paint film layers are baked in a curing oven at an average temperature of ≈140 °C and ≈80 °C for roughly 20 min and 5 min, respectively [
10]. Various new innovative painting and curing strategies have been implemented to reduce the process complexity and energy-saving in the automotive paint shop. One of the best methods for minimizing paint shop energy use is eliminating the primer coating booth and curing oven. The two-wet approach, as a successful strategy, can coat on a wet paint surface, eliminating the curing/drying process between paint film layer coating, considerably reducing energy consumption and VOC and CO
2 emissions. Additionally, in recent years, a novel method based on three-wet painting, using only one curing process after three layers of deposition, was introduced by Ford and Mazda, resulting in the best environmental performance [
10]. The high gradient of turbulent flow inside the paint drying/curing oven, due to various inlet airflow rates from nozzles and panels in diverse directions, makes selecting an appropriate turbulence model a critical issue. The LES turbulence model can better capture the internal flow and vortical structures [
11,
33,
34]. However, the use of a high-fidelity model, such as LES, can be computationally demanding if we aim to optimize the full process. One of the solutions for this problem is the use of reduced-order models, which are data-based, as digital twins of critical regions of the industrial process to ensure optimization.
Low-dimensional models are an increasingly common tool for analyzing flows and reducing the computational cost of CFD simulations. These models can extract the essential features of the flow and aid in extrapolating to untested conditions. An example of this is the reduced-order model, computed using modal decomposition, such as proper orthogonal decomposition (POD) and dynamic mode decomposition (DMD) [
35]. However, these modal reconstructions require a thorough understanding of the modes obtained. They must be correctly related to the actual flow, and often necessitate mathematical manipulations to ensure stable results [
36].
Machine learning models can be used for the same application; a special type is a convolutional model, which can better analyze 2D fields and accurately predict new conditions in unseen scenarios [
37]. Although simple CNNs have demonstrated success in tasks such as image classification, they are often outperformed by generative models, such as variational auto-encoders (VAEs), in generative processes [
38]. These generative models are specially designed machine learning models that use probabilistic layers, which are specifically designed for generative processes. In this line of investigation, we present a physically aware generative deep learning model in our research work.
A VAE is used to create a lower-dimensional latent space, which is designed to capture the underlying structure and variability in the data. Each point in the latent space corresponds to a potential data point, and the decoder network can generate data points from these latent representations. VAEs are often used for data generation, denoising, and interpolation. The dimensionality of the latent space is typically chosen by the user and may or may not be smaller than the original data space, depending on the specific application [
39]. One of the challenges is making a connection between the “real world” and the latent space, and this is our main focus. In this work, we propose to use an ANN to bridge the gap between a low-dimensional latent space and the real-world working conditions of the oven.
The central piece of the VAE architecture is the sampling layer, which allows the model to generate new, previously unseen data points. During the encoding phase, the input data are mapped to a latent space characterized by mean and variance parameters. The sampling layer then introduces a stochastic element by drawing samples from a Gaussian distribution parameterized by these mean and variance parameters [
40]. This sampling process not only aids in generating diverse outputs during the decoding phase but also acts as a regularizing mechanism, ensuring that the latent space maintains a continuous structure. Consequently, VAEs can interpolate smoothly between data points, making them well-suited for tasks like data generation and reconstruction.
Recent works have focused on enhancing the efficiency of the automotive paint curing process through the integration of CFD and neural networks, as explained below. Parsons et al. [
41] optimized vehicle part arrangements in paint curing ovens using machine learning surrogates, reducing CFD simulation costs and improving objective function values via a stack ensemble approach. Cavalcante et al. [
42] presented a neural network predictive control (NNPC) system for temperature optimization in paint curing ovens, integrating a phenomenological model, generalized predictive control (GPC), and ant colony optimization (ACO) to enhance paint quality and reduce costs. Đaković et al. [
43] reviewed machine learning applications for energy optimization in drying processes, focusing on neural networks and other algorithms to estimate energy consumption and reduce costs.
In summary, this study presents an integrated approach combining high-fidelity CFD simulations with machine learning to optimize the automotive paint curing process. The methodology improves heat transfer efficiency, and ensures consistent paint quality. Unlike previous studies relying on experimental data or low-fidelity models, our approach uses a variational auto-encoder (VAE)-based deep learning model and an artificial neural network (ANN) to create a digital twin of the curing oven, enabling precise predictions of temperature and velocity distributions for real-time process optimization. This combination of CFD modeling and data-driven learning offers an effective framework for energy-efficient, high-quality paint curing.
The paper is organized as follows:
Section 2 describes the mathematical model and the numerical implementation utilized for simulations;
Section 3 presents the oven and provides details on the simulation settings;
Section 4, firstly, focuses on the analysis of the fluid-thermal field inside the curing oven using the physical model for the full problem and secondly, presents an analysis of the heat-up region, where two data-based models are applied, and the performance of the generative prediction is studied; and in
Section 5, concluding remarks are provided.
2. Governing Equations
The study of the thermal interaction between the solid region and the continuous fluid phase involves three primary components: the fluid (heated air inside the oven) with its internal dynamic circuits, heat diffusion in the solid (car body surface, conveyor, panels, and nozzle base walls), and heat transfer at the interface. This work simulates these phenomena using the following set of appropriate models. The fluid–solid interaction (FSI) in the curing oven, aimed at energy savings and operational optimization, can be computed using a high-order unsteady setup and accurate boundary conditions, flow rates, and temperatures for air nozzles, air panels, and return air ducts located on the walls.
(I) Fluid region: The Favre-average compressible Navier–Stokes (NS) equations, applying the Large Eddy Simulation (LES) filtering technique are presented. The LES turbulence model is used to compute the larger and energy-containing eddies and model the smaller sub-grid structures during the computation. The LES turbulent model provides this capability to govern the high strain and stress rate of the complicated flow inside the oven. In using the LES, all variables, i.e.,
, are split into sub-grid scale (SGS) (
) and grid scale (GS) (
) components,
. In the GS component
, the
is the filter function and
is the filter width [
44]. We employed the top-hat filter [
45] as follows under the OpenFOAM source code:
The grid spacing is used as the basis for setting the filter width
[
46]. The top-hat (box) filter is an implicit filter, which depends on the grid spacing and, in turn, controls whether the smallest scales are retained. In this work, we modeled all of the scales below the filter width
, and employed a “smooth” delta. The gradient of the smoothed distribution is fixed by an adjustable coefficient of
as follows:
where
and
represent the present cell and neighbor cell, respectively.
The equation for the conservation of mass is given as follows:
where,
,
, and
are the fluid velocity vector, density, and time, respectively. The momentum conservation is as follows:
in which
and
are the viscous stress tensor and pressure, respectively.
is defined as follows:
where
and
denote the kinematic viscosity and Kronecker delta function, respectively. The unresolved transport part, the SGS,
, is defined as mentioned in reference Bensow and Fureby [
47]:
Equation (6) needs to be modeled using one of the popular sub-grid approaches. Here the eddy-viscosity model is employed as follows:
where
is the resolved scale’s strain rate tensor, and a “Local Eddy-Viscosity” method solves the sub-grid scale turbulent viscosity,
. Applying the “one equation eddy-viscosity model” (OEEVM) sub-grid scale (SGS) approach preserves an LES turbulence model [
13,
47]. In the present analysis, the OEEVM sub-grid scale model is utilized. To calculate the turbulence kinetic energy
k, the OEEVM approach solves the following equations:
In this model,
is the filter width, and
and
are two constants with the considered values of 1.048 and 0.094, respectively, for the present study. The energy equation, which is solved for the internal enthalpy (
), is as follows:
where
,
, and
are kinematic energy, effective thermal diffusivity, and heat generation due to reactions, respectively. The temperature equation for the fluid domain is as follows:
where
denotes the molecular thermal diffusivity.
(II) Solid region: In the solid region, the energy equation has to be modeled to obtain the evolution of the space–time temperature. The energy equation represents the temporal enthalpy change, which is equal to the divergence of the heat conducted through the solid:
where
is the specific enthalpy,
is the solid density, and
is the thermal diffusivity which is defined as the ratio between the thermal conductivity
and the specific heat capacity
.
(III) Solid–fluid coupling: At the solid–fluid interface, since there is no surface reaction, the temperature continuity (
) and heat fluxes balance (
) must fulfill the conservation of energy,
where
,
, and
represent the normal direction to the wall and fluid and solid thermal conductivity, respectively. Here, a Neumann–Neumann decomposition approach is applied among various available thermal field coupling techniques [
48], guaranteeing the balance of
and
equations under the prescribed tolerance.
4. Results and Discussion
This section analyzes the time-averaged characteristics of car curing during the electro-deposition painting stage. Precise details can be obtained from the results of this unsteady simulation, such as high-resolution flow distribution in different zones of the oven, diffusion patterns, and mixing streams produced due to various injected air streams, the convective heat transfer rate, vortical structure topology, velocity, and temperature maps on the car body. Following this, we present the results of a data-based model using ANN and VAE to create a digital twin specifically for the heat-up region of the oven, allowing intelligent optimization in this critical area, aiming to prevent paint burnout and ensure optimal energy usage. Data and structures of the available PSA Mangualde automotive curing oven’s PaintShop plant and real Citroën Berlingo car features are considered for optimization-based analysis. It should be noted that the use of the present oven can be expanded for curing other similar automotive models in the same category, not just limited to the Citroën Berlingo model.
4.1. Results of the Physical Model
The main objective is to analyze the mean air temperature along the oven length, together with precise temperature distribution obtained on the solid car body surface. As mentioned earlier, the accurate LES turbulence model is used in the current simulation to achieve this goal.
Figure 12 and
Figure 13 show the complexity of the hot-air flow field pattern and the mean temperature distribution in the center and side section planes along the full oven length. Nine consecutive frames of the temporal variation in the mean air temperature during one complete cycle, up to reaching the fully operational condition after the startup of the base oven (Oven_1), are presented in
Figure 12. Analyzing these frames enables us to comprehend the complex initial hot-air flow interference in the oven space, which is difficult in practice. In zones 1 and 2, during the heat-up stage, hot-air feeding is coupled with convection and circulation thermal heat transfer. Weaker hot-air operation and lower average temperatures in the third zone of the heat-up stage are evident due to low panel density. The inappropriate diffusion directions of the hot-air injectors during heating (
Figure 13a) highlight the need for proposing an optimal oven design to achieve a homogenized temperature distribution. As apparent in the case of Oven_1, due to the slight hot-air gradient and density in the areas where car bodies are traversing, less thermal power is absorbed via convection between the solid car surface and the oven gases. To address the issue of weak heat diffusion and dispersion in the upper-wall and lower-ground regions where the roofline and wheelbase line are located, especially in zones 3 and 4, the Oven_3 case is introduced. By moderately redirecting the hot-air injectors and developing their flow share (see
Table 2), the distribution was optimized. The temperature contour in the Oven_3 case, across all zones, shows a more uniform distribution, essentially devoid of a severe jump, as well as a gradual longitudinal gradient (
Figure 13c). It leads to enhancing energy efficiency and reduces sustainable energy consumption. In the case of Oven_2, the improvement occurs, but not precisely at the location that the bodies are traversing, as in Oven_3.
All phenomena, including forced convection heat transfer between the hot air and the body, conduction heat transfer within the car body, and radiation heat transfer between the oven and the vehicle, were modeled using the operating algorithm. This valuable data can be employed to investigate the occurrence of paint film defects during drying/curing.
Figure 14 and
Figure 15 illustrate the vehicle surface temperature during the heat-up, holding, and cooling stages in one cycle of the oven’s operation for the modified Oven_3 case. The values of the calculated temperature, local heat-up gradients, and heat transmission on the car’s external surfaces at the locations of the waist, accent, and character lines were observed to be inherently high. Being in the vicinity of the hot-air inlet nozzles and panel strike locations, which affect the body due to the large size of the recirculation air generation, is the reason. Furthermore, the complex structure of the car body’s outer shell intensifies the non-uniformity of the temperature distribution. Despite the fact that the body surface temperature in the first half of the oven is lower than the rest, the power absorption in this region by the car is higher due to convection and a more significant thermal gradient. Lower and more uniform temperature values were found in portions of the vehicle. Except for the car body’s transverse middle region, where it is far from the nozzles and the panels’ impinging point, the final distribution in the latter two zones was relatively constant throughout the body surface.
The mean air temperature distribution, along with the mentioned aesthetic key lines, in a cross-section of the oven center, for three designed ovens is evaluated in
Figure 16. As evident in the graphs, the overall mean temperature patterns obtained from three modeled ovens are reasonably similar and logically accurate based on the actual requirements. The severe initial jump in the first zone, which was influenced by large-sized panels with a high flow rate, consumes a large amount of energy. The actual reason for this intense increment is to preheat the air to raise the car body temperature, which has a surface with a low outside environment temperature (303 K), to more quickly reach a temperature close to the initial phase of the oven tunnel. The distribution slope remains almost stable at the holding stage before decreasing at the cooling stage. As no substantial longitudinal mass flows exist, each zone has a roughly uniform temperature with minimal longitudinal variation. The distribution in the base oven (Oven_1) shows some instability, oscillation, and design weaknesses, which are optimized in the case of Oven_3. In the case of Oven_3, flow rate adjustment and hot-air diffusion re-direction are implemented with the aim of proper conduction heat transfer. As the mean temperature distribution shows in
Figure 16a, the adjustment in the case of Oven_3 results in a better hot thermal flow pattern that is precisely directed toward the coated car body surface, causing higher conjugate heat transfer (CHT), adding energy sustainability, without incurring additional costs or using a larger amount of energy.
The temporal evolution of the non-dimensional mean air temperature at the roof line for the Oven_3 case, along with the full oven length, is also presented in
Figure 16b. The overall qualitative behavior of the computed temperature distribution curves for various times met the expectations for an automotive curing oven. The temperature distribution along the length of the oven has not significantly changed and reached a constant fully-operated state after around t* = 0.125 from the start-up point, where the vehicle paint curing began to run. The lines around t* ≥ 0.125 indicate a smooth and stabilized distribution after experiencing fluctuating and unstable distribution around t* ≤ 0.1 during the growing stage.
Figure 17 depicts the mitigated/exceeded temperature regions, on the car surface during traversal inside the modified oven (Oven_3), below/above the minimum and maximum recommended ranges in the curing window represented in
Figure 1. It is evident that the areas between the waist and accent lines are over-baked/burned-out. Additionally, it can be found that the car’s hood, rear parts of the roof, and small back areas of the floor remain under-baked. The temperature contour on the car surface during the heat-up curing stage proves that the body’s hood, roof, and door areas need more attention compared to other regions. Our results show the modification’s effect on diminishing the under-baked areas in the lower parts of the car body. This defect is solved by hot-air flow redirection by the panels and nozzles in the case of Oven_3. The curing can be successfully managed with little attention to the detected problematic areas.
In
Figure 18, the fluid dynamic characteristics of the velocity field, mixing of different injected air streams from components, and air circulation structure in different regions of the oven and on the car body surface are shown. The comparison of the mean air velocity distribution across the center and side planes along the entire oven length for the three scenarios considered in this work is presented in
Figure 19. The superior method in all considered cases (Oven_1 to Oven_3) is the low-speed hot-air diffusion during the interaction with the car body surface in the heat-up and holding stages, with an exception for the hot-air velocity at the oven’s entrance, which has slightly higher values when hitting the body surface (zone 1). This benefit allows the coated car body to exchange heat at the correct time and velocity while traversing the oven length. This results in the paint film having a smooth, unblemished appearance with higher quality. In contrast to other stages, the cooling region experiences a higher velocity range, but this does not cause distortion or destructive consequences on the quality of the formed paint film, which is on nearly dried or cured car bodies passing through this stage. In Oven_3, the velocity distribution exhibits higher values at the car traversing location, particularly in the holding stage, compared to Oven_1. More efficient conjugate heat transfer results from this enhancement. The maximum difference in velocity magnitude values between cases is ≈≤0.28 m/s, which is not sufficiently harsh to influence the homogeneity and uniformity of the paint film significantly.
The critical location of the considered planes, where the oven’s components are presented, for velocity magnitude examination is applicable. To prevent paint distortion and preserve visual quality, the oven’s components were designed to inject air into the vehicle surface at a low and optimum velocity. The thrown airflow reaches the body surface with limited velocity even in nozzles’ longitudinal distance, particularly in the holding stage.
Figure 19a, the mean air velocity along the roof line, in a cross-section of the oven center, for three designed ovens are evaluated. In all cases, a considerable number of oscillations in zones 2, 3, and 4 with a sinusoidal pattern are discernible. The maximum peak-to-peak values of these oscillations are just ≈0.03 m/s, which are sufficiently weak to have a noticeable impact on the paint film homogeneity. The intermittent placement of nozzles and panels is the source of these fluctuations. For the velocity distribution over the oven length during various zones, Oven_3 yields a higher and more consistent value.
The temporal evolution record of the mean air velocity at the roof line for the Oven_3 case, along with the full oven length, is shown in
Figure 19b. Turbulent and chaotic flow occurs at the oven’s start-up operating phase, demonstrating higher velocity values. The fully operated states with lower, smoother, and optimum velocity distribution values occur around t* ≥ 0.125.
Figure 20 visualizes the vortical structures, flow diffusion patterns, and convective flow of the hot-air outlet stream inside the oven. The vortex-growing structures and flow stream near the components of the oven that forced the hot-air flow to change, with regard to velocity magnitude, are presented in
Figure 20a. The line integral convolution (LIC) approach is utilized to visualize streamlines [
62]. These patterns are captured at the initiation of a continuous curing operation (t* = 0.08) before fully mixed chaotic flow steam occurs. With moderated velocity values, the flow is more controllable by manipulating the flow share and direction of the oven’s upper and lower components. The flow type inside the oven is three-dimensional (3D), with large vortices and complex patterns. The circulation of air toward the center point of the oven from the beginning and ending points of the oven due to the operational mechanisms of the ventilating lids is clear. The recirculation zone length (
) in the cooling stage is smaller with a higher succession of smaller scale than the heating and holding stages, which all satisfy the necessity of the curing. The values of
in curing zones are large enough to reach the body surface in the real operational conditions.
The 3D time evolution maps for the second invariant of the velocity gradient tensor (Q) of the LES results obtained from the chaotic stream flow pattern due to multi-directional hot-air flow loading from five hundred thirty-three components of the entire oven are visualized in
Figure 20b. This loading strategy significantly altered the product paint film’s quality. This criterion is most commonly used to highlight the vortical structure and efficiently aid in examining the effect of diffusion flow rate and direction on the vortical system and flow discipline in one look. In the t* = 0.08 of Oven_3, sizable, uniform tubes without any distortion and longitudinal direction shape almost reach the oven’s middle formed in heat-up and holding stages. However, at the cooling stage, a finer and denser vortex tube with a non-uniform surface appears, which does not affect the paint film quality.
4.2. Data-Based Model Results
For this part, we focused only on one section of the heat-up region, which will be used for the data-based model, for the prediction of the continuous space of operation of the oven and to allow the control of burnout. From the previous results, the critical region chosen for the data-based model is compromised to 3.24 ≤ x ≤ 5.26 m.
(I) Data collection and database generation: The first step of the data-based model workflow is database generation, in which the ML models will learn the features. Our database is a compilation of 2D fields for the cross planes XY and ZY, for different working conditions
. Each condition, is calculated with the CFD model and the cross planes XY and ZY are extracted for the velocity and temperature field. The working conditions tested are presented in
Table 5.
Case 0 (C0) is the base case, as a reference, where the working conditions are set to zero, i.e., . The database was generated using a uniform grid of points with a maximum of 256 points in each direction, which is the resolution of the field.
Figure 21 shows the temperature and velocity fields for the cross-section of C0, for the symmetry plane (across the oven section), with a resolution of 256 points.
Figure 22 shows how a 15% change in the inlet flow rate affects the field, such as the temperature and velocity distribution. In this figure, we observe the absolute differences in temperature and velocity fields between Case 0 and Case 1. The differences are non-uniform and too complex to identify a specific problem zone.
Detecting important regions locally and identifying problem areas can be challenging due to the complex structures present. To address this challenge, our optimization efforts are focused on analyzing the mean and standard deviations of the field along the x-direction. This approach involves using mean and standard deviation curves, as demonstrated in
Figure 23.
Figure 23a shows the mean of the temperature field in the x directions and
Figure 23b shows the standard deviation. The standard deviation value is important for measuring the uniformity inside the oven, which is one of the goals.
Each parameter of the working condition can influence the field, although optimizing it becomes a complex task when dealing with more than one parameter. This is where the machine learning model becomes highly valuable for multi-objective optimization based on new predictions. Here, we will create a digital twin to explore uncharted possibilities without the need for computationally demanding CFD calculations, just by using the weights of connection that the ML model extracted.
(II) Generative performance and range of operation: All of the fields and arrays of working conditions were normalized using the minimum and maximum value method. This is an important step for ensuring that the input conditions affect the field properly. This normalization is performed by multiplying each condition and field by a scalar array prior to the training step. After this, for actual predictions, the generated field is multiplied by the inverse of the scalar, yielding the true values of the prediction. The model’s convergence during training was defined by an early stopping criterion, to avoid overfitting the model’s parameters. This criterion stops the training whenever the MSE error exceeds the minimum reached after 500 epochs. The performance of the model was monitored on the validation set using the mean squared error and mean absolute error metrics. The mean squared error (MSE) and mean absolute error (MAE) metrics for the loss are defined as follows:
where
is the number of samples,
is the true value of the
sample, and
is the predicted value of the
sample.
Figure 24 shows the loss of the training step, showing the convergence of the model, where the total error loss of the VAE bypass is given by
Upon the training of the VAE, with the fields bypassed, an ANN was trained to correlate the low-dimensional latent space with the working conditions array. The architecture of the ANN was then tested, ensuring a connection between the physical conditions and the low-dimensional space of the VAE. The number of epochs was set to 5000 to ensure a good decrease on the loss of the training set, as shown in
Figure 24.
According to the results, we see that a latent space
should have a dimension of 32, with the ANN architecture having dimensions of 8 × 16 × 32 × 32. For this latent dimension, we propose using the VAE architecture shown in
Table 6.
For the validation of the model and since we have a small database, we tested training the model by excluding the base case C0. After the training, we predicted the field for the base case and measured the error. The results are promising and are shown in
Figure 25.
For temperature, the mean error is 0.67% (with a maximum of 2.7%), and for velocity, the mean error is 1.97%, compared to the CFD values. When analyzing the working conditions, it becomes evident that the model accurately represents the cross-section of the oven for the hidden case, a scenario to which the model was not exposed during the training phase.
Figure 26 shows the mean error between the predicted values for the base case and the CFD field. As we observe the model, for both temperature and velocity, the error crosses zero for different parameters at zero, as expected.
Figure 26 presents the results of the sensitivity analysis, demonstrating the model’s robustness to variations in key input parameters, such as airflow rate, inlet temperature, and injection angle. The analysis shows that while the velocity is more sensitive to input changes, with a 40% variation leading to errors of approximately 20%, the temperature field remains significantly more stable, with errors staying around 10% and below 2% for variations up to 20%. These results show that the model can predict the field for working conditions not seen by the training model, thereby validating the model for new predictions beyond the conditions represented in the CFD model. To gain even more confidence in the model, we retrained it, including the C0 case. We present the new predictions after the retraining in the next section.
(III) Predictions: With the ML model and architecture validated for our dataset we then used the trained model to make predictions of unseen conditions.
Figure 27 shows the percentage of variation in the mean value of the temperature field, as a function of the deviation from the base case C0 condition.
Analyzing the results, we see that the curves appear to have breakpoints (marked with a circle). These points mark the range for which the model has accuracy, e.g., for the , we should only predict values within the range . For the , the range is a whither with a confidence of .
Within this range of predictions, we can reconstruct the 2D field and identify the regions where the flow is improved, and where it is not. Firstly, we reconstruct the XY plane (along the oven), where
Figure 28 shows different conditions with a 5% and 10% increase in the working condition from the base case. The figures are colored by the difference in the field predicted for the new condition and the base case.
We observe a significant number of predictions for comparison on a plane-by-plane basis. To streamline the optimization, we initially focus on the average temperature and subsequently analyze the velocity, enabling us to attain a three-dimensional representation of the space.
Figure 29 shows the impact of varying condition parameters on the mean temperature/velocity of the 2D field for both cross planes in a 3D space. This 3D space allows for an intuitive and efficient assessment of the interplay between the condition parameters and the mean of the 2D field.
Building upon the findings of this study, several promising avenues for future research can be identified. These include incorporating diverse car materials and paint types into simulations to enhance their applicability, optimizing oven designs to improve curing performance, explicitly quantifying energy savings by comparing pre- and post-optimization metrics, expanding the machine learning model by integrating larger datasets and real-time monitoring for broader applications, and validating the digital twin model while scaling its use through industry collaboration to maximize practical impact.
This model can be adapted to other industrial environments where fluid dynamics and thermal management are critical, such as various sections of manufacturing facilities, industrial ovens, or HVAC systems. Once trained on relevant data from these applications, the model can provide real-time predictions of temperature and velocity fields, offering a fast and cost-effective alternative to computationally intensive fluid dynamics simulations.
5. Concluding Remarks
The present study implements an optimization-based parametric modification of conjugate heat transfer (CHT) in an entire automotive oven under the OpenFOAM framework as a reliable open-source tool. Precise fluid dynamic characteristics are obtained using an accurate LES turbulence model, a high-fidelity solver, and high-quality structured grids, after validating the proposed CHT code with a heat sink benchmark. Notably, this is the first LES study revealing the impact of entire automotive oven structural components on the heat and momentum transfer mechanisms over the car surface by fully resolving the process. Detailed results from this unsteady simulation are compared for both the base and modified ovens, including high-resolution flow distribution in different oven zones, diffusion patterns, and mixing streams of various injected airflows. Additionally, the convective heat transfer rate, vortical structure topology, velocity, and temperature field maps on the car body and inside the entire oven are examined. The simulation results indicate that the implemented low-cost optimization strategy in the Oven_3 case significantly improves thermal energy efficiency during the CHT of the oven. The temperature contours in Oven_3 exhibit a more uniform and optimized higher gradual distribution due to flow rate adjustments and hot-air diffusion redirection, leading to the proper conduction of heat transfer without severe temperature fluctuations. Moreover, the under-/over-baked regions on the car surface are minimized in this case by adhering to the recommended temperature ranges in the PCW for the mitigated/exceeded temperatures. The optimal hot-air diffusion at low speed during its interaction with the car body surface in Oven_3 results in the formation of a smooth, unblemished, and aesthetically appealing paint film. This benefit leads to lower TKE, proper mixing, and moderate vortical structures, which are excellent indicators of gentle heat exchange with reduced film distortion and non-uniformity. The prominent airflow circulation occurs in the middle and at the end of the heat-up stage. This optimal thermal control guarantees the homogeneity and uniformity of the cured film, with high quality in terms of corrosion resistance and durability. The present study further extends knowledge of curing mechanisms inside an automotive oven under heavy loading conditions.
The physical model of the thermal dynamics of this oven was used as a database for the generation of a data-based model using machine learning. The database was generated for the heat-up region, since the goal is to develop a surrogate model that can predict if the heat-up condition will result in a “burn-up temperature”, which is not desired. With this data-based model, we can determine the operational window for the oven. A variational auto-encoder was chosen for the generative process and was coupled with an artificial neural network (ANN) to incorporate physical awareness of the latent space of the auto-encoder. By doing this, we propose an ANN+VAE model that can predict new conditions beyond the scope of the numerical approach. This approach is essential for real-world applications because a variational auto-encoder by itself cannot connect to practical scenarios. Although the confidence range is limited, with a mean error of field reconstruction for temperature of 2%, this small range is attributed to the small database set, which can be improved by retraining the model with new conditions, thereby increasing confidence and extending the range of working conditions.
By feeding this model with real-world, simulation-based data, we enable it to accurately predict and replicate complex thermal behaviors in various operational scenarios. This approach ensures that the data-based model is not only grounded in physical reality but also extends the applicability of our findings to a broader range of conditions, enhancing its practical utility in predicting and preventing undesirable outcomes such as paint burnout in the heat-up region. Consequently, the data-based model acts as a digital twin, mirroring and extrapolating from the physical model’s results to ensure optimal oven performance across diverse and untested conditions.