Integrating simulation and machine learning for accurate preform charge prediction in Sheet Molding Compound manufacturing
간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (21) 에폭시수지
기본 정보
- 저자
- DOI
- 10.1007/s12289-025-01878-8
- 저널
- International Journal of Material Forming
- 발행년도
- 2025
- 발행기관
- Springer Science+Business Media
- 피인용수
- 2
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1007/s12289-025-01878-8
- 토픽
- Injection Molding Process and Properties
- OpenAlex ID
- W4407103541
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 엔지니어링 플라스틱 · (23) 컴파운드
- 부 분야
- (21) 에폭시수지
- R&D 측면
- 공정·제조
- 확신도
- 0.80
- 근거 용어
- Sheet Molding Compound (SMC), mold filling, initial charge shape, machine learning, digital twin
- 판단 근거
- 이 논문은 복합재료 성형 공정인 SMC(Sheet Molding Compound)에서 최적의 충전 형상을 예측하기 위한 시뮬레이션 및 머신러닝 기법을 다룹니다. 이는 코오롱인더스트리의 엔지니어링 플라스틱(23) 및 관련 수지(21) 사업의 성형 공정 최적화 및 디지털 트윈 구축에 간접적으로 활용될 수 있습니다.
- R&D 활용 포인트
- SMC 및 복합소재 성형 공정에서 시뮬레이션과 AI를 결합하여 불량(미충전, 넘침)을 최소화하고, 생산 효율을 높이는 공정 제어 시스템 개발에 활용 가능합니다.
- 평가 입력
- 섹션 본문 50,458자 중 30,032자 발췌
초록
본문 52,782자
본문 펼치기
섹션 본문 107문단 · 49,622자
(제목 없음)
1The Sheet Molding Compound (SMC) process is essential in high-volume manufacturing of composite structures due to its scalability and efficiency.A primary challenge, however, lies in determining the initial charge shape that ensures complete mold filling without excessive overflow, typically resolved through labor-intensive trial and error.While simulations can anticipate the mold filling outcome, they often lack the capability to fine-tune the initial preform configuration, leading to inefficiencies in both time and material.This study presents an innovative, simulation-driven approach for accurately predicting initial charge shapes for two-dimensional (2D) mold designs.By employing Darcy's Law and a fixed mesh grid framework, the methodology simulates a reverse material flow to trace the optimal preform shape.A complementary machine learning (ML) model was then developed to predict the preform shapes based on mold geometry, final thickness, and initial charge thickness.Serving as a digital twin of the SMC process, this ML model delivers results with comparable accuracy to simulations, significantly enhancing computational efficiency and avoiding common convergence issues in traditional simulations.This ML-driven digital twin approach also provides a robust proof of concept for addressing initial charge shapes in complex three-dimensional (3D) molds, where the computational demands of reverse flow simulations may present challenges.This combined simulation and ML framework equips manufacturers with a more precise and efficient tool for optimizing SMC processes, minimizing material waste, and reducing production time.
Introduction
2Composite materials have become indispensable for reducing part weights while enhancing mechanical properties and design flexibility.Their application spans a wide range of industries, particularly those prioritizing lightweight Extensive research has been conducted to better understand the SMC process and the behavior of reinforced polymers [4,5] to ensure high production quality and reduced costs in manufacturing composite structures.However, achieving these objectives requires a high-fidelity model capable of accurately predicting the filling behavior [6].Importantly, this filling behavior can be simulated without explicitly incorporating fiber orientation into the model, as flow mechanics in fiber suspension composite SMC is weakly influenced by the fiber orientation during the bulk charge movement phase.This simplification, as highlighted in studies by [7], enables computational efficiency while maintaining the predictive capabilities of numerical models for the SMC process.It allows for broader explorations of use cases, especially in academic scenarios requiring hundreds of simulations.
3The initial step toward achieving a high-quality SMC product is determining the initial charge shape that will completely fill the mold without causing overflow or leaving unfilled zones.While this may seem straightforward, it is challenging in practice.Existing simulation tools excel at predicting the final charge shape given an initial charge shape, but not the reverse.Thus, a simulation tool that aids in the design of the initial charge shape can significantly enhance product quality.
4Several simulation techniques are available for modeling the SMC process.In this research, the SMC process is simulated using the reduced stokes model making use of lubrication hypotheses, a model closely related to that used in the Resin Transfer Molding (RTM) process [5,8].Since the SMC process involves both stamping and material flow into the mold, the simulation must accurately update the flow front over time.Two primary approaches are commonly employed for such modeling: fixed and moving mesh techniques [9].Recent studies suggest that the modified mesh approach is not cost-effective due to the need for re-meshing at each time step, which significantly increases computational expense [10].
5In this study, the numerical model is implemented using a fixed mesh technique.To ensure boundary accuracy, an auxiliary function is employed to continuously update the fluid domain boundary during the simulation.Related work has addressed the direct simulation of the SMC process and its optimization with respect to process parameters using a deep learning surrogate model to minimize material overflow [11].In contrast, our approach considers simulations performed in the reverse direction: starting from a desired final mold configuration, the process is simulated backward in time to determine the initial charge location and shape required to achieve the desired outcome.
6Building on the success of the reverse simulation methodology, we utilize snapshots generated from these simulations to develop a surrogate model of the filling process.This surrogate model, based on an innovative machine learning architecture, predicts not only the filling history but also the initial charge shape and its optimal spatial placement to minimize inflow effects.Unlike standard simulations, the surrogate operates in real-time and eliminates challenges such as mesh generation and convergence issues.Furthermore, the surrogate serves as a proof of concept before scaling to more complex, industrial-grade reverse SMC simulations, where computational costs would be significant, highlighting the practical utility of such a model.
7Various surrogate modeling techniques have been explored in the literature, including Genetic Algorithms (GA) [12], model-order reduction methods like sparse Proper Generalized Decomposition (sPGD) [13][14][15], and machine learning approaches based on Neural Networks (NN) [16][17][18].Among these, machine learning (ML) offers significant advantages due to its versatility and ability to efficiently capture complex, non-linear relationships within data [19].While PGD-based methods are effective for solving partial differential equations, and GA provides robust optimization strategies, MLparticularly neural networks-has demonstrated exceptional performance across diverse applications [20][21][22].Given the complexity of reverse SMC simulation, this study employs ML to develop a tailored surrogate model.Section "Choosing an appropriate architecture" details the design and implementation of a specialized architecture optimized for this purpose.
8This paper is organized as follows: Section "Reference problem formulation" presents the mathematical formulation and assumptions for simulating the SMC compression process.Section "Reverse SMC simulation: application examples" outlines the numerical implementation used to model various mold shapes and demonstrates the efficiency of the method through multiple use cases.Section "Machine learning-driven initial charge prediction" introduces the machine learning architecture developed for predicting the initial charge shape and position, highlighting the surrogate model's utility with various flat 2D mold shapes.Finally, Section "Conclusions and perspectives" provides conclusions and perspectives.
Reference problem formulation
9This section details the mathematical framework used to develop a numerical simulation model for the Sheet Molding Compound (SMC) process.The methodology begins with the formulation of the squeeze flow, which models the standard SMC process where a compression mold squeezes the material to fill a given cavity.Building on this foundation, the reverse simulation approach is introduced.Reverse simulation numerically inverts the SMC flow process, starting from the filled mold and tracing back to the initial charge shape required to achieve the final configuration.This reverse process is implemented by modifying the equations governing the squeeze flow simulation, which is physically equivalent to transforming the applied compression pressure into a suction pressure.Nevertheless, this is performed without any numerical modification to the pressure formulation as compared to the standard SMC simulation.While this approach simplifies the problem by neglecting the influence of fiber orientation in composite materials, it provides an effective means of addressing the complex challenge of optimizing precharge dimensions.Once this initial charge shape determined, a direct SMC simulation could be performed in order to validate the mold filling based on this latter charge and to account for fiber orientation.
10The governing equations and relationships underlying the compression process are established to accurately describe the phenomenon.The numerical simulations are carried out using a fixed mesh and employ the finite element method combined with control volume techniques.
Lubrication approximation
11The numerical modeling of the compression process begins with the application of the Stokes equation.To reduce computational complexity for narrow gaps (2h), lubrication theory is applied.This simplifies the governing equation for fluid with viscosity as follows:
12Here, ∇ P denotes the pressure gradient, V = (u, v, w) T represents velocity, and η is the dynamic viscosity.In this framework, the velocity gradient in the thickness direction dominates compared to the in-plane gradients, and the velocity component in the thickness direction (w) is negligible compared to its in-plane counterparts:
13Under these assumptions, P = P(x, y) in Eq. 1, and by integrating twice, the velocity profile is expressed as:
14The velocity averaged across the gap thickness becomes:
15As the fluid undergoes compression, the thickness decreases over time.Considering U as the compression rate, the thickness evolution is defined as:
16The flow rate, denoted as q(x, y), is calculated by:
17To satisfy mass conservation:
18Substituting Eq. 6 into Eq.7, we obtain:
19The strong formulation of Eq. 8 can then be expressed in its weak form as:
20Here, f (t) represents the fluid domain at time t, and P * is a weighting function.By solving the weak form, the pressure distribution can be determined, and the average velocity in the fluid domain is obtained using Eq. 4. Since the evolution of the fluid domain must also be tracked, the application of Eq. 9 for the entire domain will be addressed in the next section.
Flow-front tracking
21When modeling deformation phenomena, the choice between a fixed and an adaptive mesh must be made due to variable boundaries.To ensure accuracy and consistency during the compression process, a fixed mesh consisting of quadrangular elements is utilized across the entire 2D domain ( ).
22To update the fluid domain, a variable I (x, t) is defined throughout the domain ( ).Within the fluid domain f (t), I is set to 1, and it is 0 in the empty domain e (t):
23At t = 0, I is initialized based on the initial mass configuration, I init , which represents the initial charge shape in the mold: (11) The evolution of the fluid domain is governed by a scalar advection equation:
24Figure 1 illustrates the considered model.Considering fluid properties:
25• In the mold's empty region, pressure vanishes: P = 0 in e (t) • In the fluid region, incompressibility implies: ∇ • Ṽ = U in f (t), leading to:
26To extend these equations to the entire domain ( ), the weak form becomes:
27Here, the void pressure is assumed to be P 0 = 0.The simultaneous solution of Eqs. 13 and 12 enables the time evolution of the SMC process.
28The transport Eq. 12 is solved using the volume of fluid method and the Total Variation Diminishing (TVD) scheme as described in [23].To minimize numerical diffusion associated with front-flow tracking, [23] evaluated the performance of various flux limiters, including Minmod, Superbee, and Monotonized Centered, for updating the volume fraction.Their analysis concluded that a second-order scheme using the Superbee flux limiter provides the best accuracy and stability.This strategy has been adopted in this study and applied here.Consequently, Eq. 12 can be discretized as follows:
29where i is the step number associated with time step t i , A(e) is the area of the control volume e, n ej is the outward unit vector on the common edge of control volumes (quadrangle) e and j, l ej is the length of that edge and fej • n ej represents the fluid flux across this same edge.
Reversed flow simulation
30Sections "Lubrication approximation" and "Flow-front tracking" detailed the mathematical foundations of a direct SMC flow simulation.In such simulations, the flow front at a given time step, t i+1 , depends solely on the material state at the preceding time step, t i .However, as the time step tends to zero, the pressure gradient at t i can instead be utilized to infer the material state at t i−1 .This is achieved by reversing the direction of the fluid flux.
31Fig. 1 One and two-dimensional models of SMC [11] In this reverse flow process, rather than advancing the flow front and transitioning I from 0 to 1 in fluid elements adjacent to the front, the flow moves backward.In this scenario, the fluid retreats from the flow front elements to their neighboring fully charged elements.Consequently, I decreases at the flow front until the element becomes empty.
32The flux limiter strategy employed in the direct SMC simulations to reduce diffusion can also applied in reverse SMC simulations.However, as the time step size increases, errors associated with the reverse fluid flux strategy become more pronounced.This is due to the inherent limitations of numerical diffusion, which cannot be negative and, therefore, restricts the exact reversal of the flow.Consequently, the reverse simulation may diverge from being a perfect inverse of the direct simulation, particularly for larger time step sizes.In such cases, the reverse simulation may converge toward a solution that, while not entirely equivalent to the direct simulation, still maintains physical consistency and provides a reasonable approximation for practical applications.
33Numerically, implementing this requires adjustments to both Eqs.14 and 5.The modified Eq. 14 is expressed as:
34where the flux term now accounts for reversed flow direction.Similarly, Eq. 5 is updated to reflect an increase in charge thickness instead of its decrease:
35With these modifications, the reverse SMC simulation is implemented using MATLAB.The results of this approach will be presented in the subsequent section.
Generating an initial mold shape
36A 2D flat plate of dimensions 0.6 × 0.6 m 2 serves as the base for generating various 2D mold shapes.These shapes are used for reverse SMC flow simulations to determine the initial charge shape that optimally fills the mold.The process of creating an initial mold shape follows the approach outlined in [11].
37First, a number of control points (ranging from 7 to 32) is selected, with the last control point coinciding with the first one.A fictive circle centered at the center of the 2D plate is create and is divided into equal sectors corresponding to the number of control points.A random radius is assigned to each sector, constrained between a minimum value of 0.1 m and a maximum of 0.25 m.Using these points, a closed curve is generated using the Non-Uniform Rational B-Splines (NURBS) method, with a third-degree polynomial.This approach ensures the creation of smooth and tailored curves without sharp angles, as described in [24].
38This method allows for generating an unlimited number of SMC molds with varying shape complexities.The complexity depends on the number of control points and their associated radii.Mesh elements enclosed by the NURBS curve define the final part shape, while elements outside this boundary represent voids.
39Figure 2 illustrates the methodology.Six control points are selected, each assigned a random radius within the range [0.1, 0.25] m.These control points are connected by a light blue polygon.Using these control points, a NURBS curve (shown in red) is generated, producing a smooth, continuous boundary compared to the sharp edges of the light blue polygon.All mesh elements enclosed within the NURBS curve are considered part of the intended SMC part, with an initial volume fraction (I = 1) (fully filled) and are colored yellow.The remaining mesh elements outside the NURBS curve are classified as void (I = 0) and are colored blue.
Snapshots generation and storage
40The process described earlier for generating a single mold shape and running its simulation can be repeated to perform a large number of calculations, enabling the creation of a comprehensive dataset.Specifically, we generate approximately a thousand mold shapes and corresponding simulations.
41The mold generation begins by selecting a number of control points, n cp , within the range [7,32].For each selected n cp , we generate 2 × n cp − 1 different sets of control points.These control points are then used as input to a NURBS function to create 2 × n cp − 1 unique mold shapes for the given n cp selection.This approach ensures that as the number of control points increases, the variety and complexity of the generated shapes also increase.By applying this method, a total of 988 distinct mold shapes are generated.
42Figure 3 illustrates four examples of mold shapes created with varying numbers of control points.Using this process, all 988 mold shapes are systematically generated and subsequently used to perform reverse SMC flow simulations.
43Based on the generated mold shapes, reverse SMC simulations are performed with the following characteristics:
44• Mesh size: The simulation domain is meshed with non-uniform quadrilateral elements, resulting in approximately 64, 000 elements.Elements in the fixed mesh that are inside the NURBS curve as full elements (I (x, t) = I init = 1).A coarser mesh increased the likelihood of divergence in calculations, while a finer mesh did not offer additional accuracy and significantly increased computational costs.The results of these simulations are presented in the next section.
Results assessments and analysis
45In the following, we present the outcome of the reverse SMC simulation, which determines the initial charge shape, and validate this result by running a direct SMC simulation.The Fig. 3 Different mold shapes generated with varying number of control points direct simulation starts with the predicted initial charge shape and thickness, using a compression velocity of 1 mm/s over a duration of 36 s, consistent with the reverse SMC simulation conditions.Ideally, the direct SMC simulation, when initialized with the predicted charge shape, location, and thickness, should perfectly fill the mold.
46As explained in the previous section, we avoided generating overly sharp shapes and created complex molds using NURBS.The outcomes of the reverse SMC simulation are inspected in Fig. 4 on a simple mold geometry.Figure 4a illustrates the mold shape (light blue) and the initial charge shape predicted by the reverse simulation (yellow).At first glance, this outcome appears reasonable; however, the charge shape exhibits rough boundaries.
47This lack of smoothness can be attributed to the reverse flow simulation process: elements along the border tend to empty as the material flows inward to neighboring elements.Achieving smoother and more physically realistic boundaries would require using much smaller elements, reducing the time step, and accepting a lower convergence rate-factors that are computationally impractical.Therefore, further smoothing of the boundaries, beyond what is seen in Fig. 4a, is not feasible.
48When the predicted initial charge shape is utilized to perform a direct SMC simulation, the results presented in Fig. 4b are obtained.The mold shape is depicted in light blue for reference.While the direct simulation does not achieve a perfect mold filling, it avoids overflow, with only minor unfilled regions along the borders.This outcome is primarily attributed to mass conservation not being fully preserved, leading to a slight reduction in the predicted charge mass.This mass discrepancy arises naturally and is unavoidable due to the formulation of the problem in Section "Lubrication approximation", where diffusion effects are intrinsic to the governing equations and the associated fixed-mesh numerical techniques.Over the substantial number of time steps required for both the reverse and direct simulations, material losses gradually accumulate.Despite this limitation, the magnitude of the loss is constrained, and the predicted charge maintains its accurate positioning and overall shape.These results underscore the robustness and practical applicability of the proposed method.
49As we examine Fig. 5, which depicts a simple mold geometry with three smooth corners, the conclusions drawn earlier remain valid.However, we observe slightly reduced mold filling in the corner regions.
50This effect becomes more pronounced when inspecting Fig. 6, which involves a more complex mold geometry with sharper corners.The predicted initial charge shape, shown in Fig. 6a, has visibly rough boundaries, yet it leads to satisfactory mold filling as illustrated in Fig. 6b.
51Despite the unusual mold shape, the method successfully predicts an initial charge shape that is well-adapted to the mold geometry.Extending the charge shape by even one element beyond the border would result in significant overflow, estimated at around eight elements or more in total.This underscores the precision required in defining the charge shape.Given that the thickness decreases from 41 mm to 5 mm by the end of the simulation, achieving perfect filling requires accuracy to within less than a single element.
52Furthermore, since the method does not account for partially filled elements, perfect filling is inherently difficult.Nevertheless, the results demonstrate that the method performs well, as it predicts an initial charge shape that minimizes underfilling and avoids overflow, even in complex geometries.
53To further explore the capabilities of reverse SMC simulation and push it to its limits, we applied it to a Fig. 4 Predicted initial charge shape for a simple mold, followed by direct SMC simulation results to evaluate mold filling accuracy.The mold shape is shown in light blue, and the simulation outcomes are displayed in yellow Fig. 5 Evaluation of the proposed method on a simple mold geometry with three smooth corners Fig. 6 Evaluation of the proposed method on a complex mold geometry with sharper corners Fig. 7 Reverse SMC simulation applied to a star-shaped mold star-shaped mold (Fig. 7). Figure 7a depicts the mold geometry and control points used to generate smooth corners.The corresponding initial charge shape predicted by reverse simulation is shown in Fig. 7b.Due to the asymmetry of the mold, each corner exhibits distinct charge distributions, with two small elements separating from the main charge near the lower corner.These separations, likely numerical artifacts, do not significantly affect the overall filling and occur during the reverse simulation when a 'necking' effect appears on a particular position, leading after to few elements separation from main charge.This phenomenon is very rare, yet observable in some cases mainly those exhibiting sharp corners.Such numerical artifacts in reverse SMC simulation can be partially mitigated using a "cleaning" algorithm.For instance, isolated charge elements surrounded by empty regions can be removed.However, our reverse simulation applied this cleaning only when the isolated material fits within a single control volume element.Larger separated regions were preserved for two key reasons: first, to provide engineers with a visual judgment of prediction quality while maintaining mass conservation; and second, to evaluate the performance of the ML model in handling such rare and challenging cases as Section "Results assessments and analysis" will reveal.
54Direct SMC simulation based on the predicted charge shape (Figure 8) reveals voids in all five corners, highlighting the challenge of achieving perfect filling in highly complex molds.Nonetheless, the reverse SMC simulation demonstrates the ability to approximate a reasonable initial charge shape for complex geometries, albeit with some limitations in corner precision.This limitation highlights the constraints inherent in the problem formulation detailed in Section "Reference problem formulation", especially when paired with the fixed mesh approach.Numerical diffusion, present in both the direct and reverse SMC simulations, Fig. 8 Direct SMC simulation results for the star-shaped mold of Fig. 7 contributes to the observed mass loss over the extensive simulation time steps, exacerbated by the fixed mesh technique.
55Moreover, sharp corners in the star-shaped mold amplify these challenges.The inability to achieve the steep pressure gradients necessary for sharp corners stems from the divergence operator, ∇ P, which governs the pressure field.This operator inherently smooths pressure variations, avoiding discontinuities and excessive gradients.While this regularization is critical for numerical stability, it limits the methodology's capability to accurately fill geometries with pronounced angular features.
56These factors collectively illustrate the trade-offs between computational efficiency and physical fidelity inherent in the current framework.Addressing these limitations could involve enriching the equilibrium equations with additional constraints or adaptive refinement strategies to better manage complex geometries and reduce material loss in extreme cases.
Conclusion
57The results show that reverse SMC flow simulations can effectively predict the initial charge shape, associated with a given thickness.When applied in direct SMC simulations, the predicted charge compresses into the desired mold shape.Minor mass loss during the simulations may leave some regions unfilled, but this can be mitigated by slightly increasing the charge dimensions-typically less than 5% radially-helping to limit overflow to similar levels.
58While reverse SMC simulations offer a computationally efficient solution in 2D, they require precise tuning of mesh size and time steps.These challenges become more significant in 3D simulations, where computational costs increase.Machine learning presents a promising alternative, enabling real-time prediction of the initial charge shape without the need for meshing or high-performance computing.Moreover, as the next section shows, machine learning prediction could be as good as the reverse SMC simulation, making it particularly well-suited for integration into SMC machines, especially for 3D applications, as explored in the next section.
Machine learning-driven initial charge prediction
59The success of the reverse flow simulation for the SMC process provides engineers with a powerful tool to design initial charge shapes that enable optimal mold filling.This simulation is also computationally inexpensive, contributing to its effectiveness.However, the broader goal extends to applications in complex 3D molds, where accounting for intricate geometries and incorporating fiber orientation becomes essential.Transitioning from flat 2D simulations to flow simulation in 3D molds introduces computational expenses and technical challenges, such as meshing and convergence issues.
60In anticipation of these challenges, a key question arises: can machine learning be trained from reverse SMC simulation to predict optimal initial charge shapes without relying on mesh-based simulations?While this may seem unnecessary for low-cost simulations, as seen in simpler 2D cases, an ML surrogate that can effectively replace simulation becomes invaluable for tackling complex 3D molds.
61This section explores the development, training, and validation of a machine learning architecture capable of functioning as a digital twin for the reverse SMC flow simulation.This ML model demonstrates the feasibility of machine learning to replace traditional simulations, providing a promising solution for future 3D applications where computational efficiency is crucial.
Choosing an appropriate architecture
62When considering machine learning as a tool for creating digital twins, the selection of architectures and technologies is extensive.However, each application requires a specific architecture to capture the underlying physics or intrinsic characteristics of the problem.For simulating the Sheet Molding Compound (SMC) process, the machine learning architecture should fulfill several key requirements:
631.It must accept a 2D mold shape as an image, along with the desired part's final thickness and the available charge's initial thickness.Representing the mold shape as an image aligns with the geometric nature of the part.In industrial applications, the mold shape may initially be in CAD format, which can be converted to an image to serve as input to the machine learning model.Using an image representation, rather than vector format, helps preserve essential spatial relationships, such as neighboring elements.Consequently, convolutional neural networks (CNNs) are well-suited for this task due to their proficiency in handling image-based data [25].2. The architecture must be capable of processing and differentiating between two distinct input types: the mold image and the associated thickness parameters.This enables the model to pay appropriate attention to each input type and incorporate them effectively into the prediction process.3. Since the model output must be a charge shape image, architectures that generate pixel-based outputs are required.Traditional neural networks (NNs) that output a single value or a small set of values are not suitable.
64In this context, several machine learning architectures meet the criteria for predicting initial charge shapes in SMC simulations:
65• Generative Adversarial Networks (GANs) [17]: GANs are capable of generating high-quality images by learning the underlying distribution of target images.They can therefore be applied to generate 2D representations of initial charge shapes.However, GANs often require substantial datasets to avoid mode collapse and ensure stable training.This can pose challenges in applications with limited data or high computational costs, making GANs less practical for certain SMC-related problems.
66• Autoencoders [26,27]: Autoencoders, particularly those focused on image reconstruction, are valuable for capturing latent representations and reconstructing target images.However, traditional autoencoders are primarily designed to reconstruct input images identically, while the SMC application requires generating an output image distinct from the input.Although modified architectures like Variational Autoencoders (VAEs) [28] offer capabilities for generating images based on probabilistic latent spaces, their direct application may fall short of addressing the problem's complexity.
67To address such issues, specific generative architectures have been explored.For instance, [18] proposes using two autoencoders, one for the input latent space and another for the output latent space, connected via a Multilayer Perceptron (MLP).This approach has also been used in [29] to predict cross-sectional features of SPR joints and in [31] for the design of a polymer extrusion die.While effective, such methods require training multiple models, which may not justify the effort if latent space manipulation or exploration is not the primary goal.• U-Net [30]: Initially developed for biomedical image segmentation, the U-Net architecture excels in tasks requiring pixel-level accuracy.Its encoder-decoder structure, coupled with skip connections, enables U-Net to simultaneously capture high-level abstractions and finegrained spatial details.This capability is critical for predicting complex charge shapes that align with specific SMC mold geometries.U-Net's structure is particularly advantageous for preserving spatial context through skip connections, which directly merge low-and highresolution features, allowing the network to accurately handle subtle geometric variations in input images while maintaining spatial fidelity in outputs.
68Each of these architectures offers unique strengths for building an ML-based digital twin for SMC simulation, with capabilities in handling image data, spatial relationships, and precise output generation.Among these, U-Net's performance surpasses that of GANs for this application due to its pixel-wise prediction capabilities and simpler training requirements.Unlike GANs, which involve adversarial training complexities and potential instability, U-Net provides a stable, direct path to generating detailed and spatially accurate charge shape predictions.
69U-Net's proven effectiveness in image segmentation tasks reinforces its suitability for SMC simulations, as it can reliably map mold images and thickness data to desired charge configurations with high spatial precision.Its strong performance in this work further underscores its ability to meet the demands of complex shape generation in engineering applications, offering both high fidelity and computational efficiency.
The U-Net architecture for SMC charge shape prediction
70In this section, the U-Net architecture used for training the SMC initial charge shape predictor is described.The trained model generates an image of the initial charge based on the part shape, its desired thickness, and the available charge thickness.Although simulation describes the evolution of the shape as a function of time, the shape at time step t i depends only on the previous time state t i−1 with no direct dependence on the history of previous states.Consequently, the outcome is not dependent on a given sequence of states or paths, making Recurrent Neural Networks (RNNs) irrelevant for this task.
71The architecture used in the framework of this research possesses the following key characteristics:
72• Encoder-Decoder Structure: Similar to autoencoders, U-Net has an encoder (downsampling path) and a decoder (upsampling path).The encoder compresses spatial information, while the decoder reconstructs it, making it suitable for tasks requiring spatial understanding.• Skip Connections: U-Net integrates skip connections between corresponding layers in the encoder and decoder.These connections directly pass feature maps from the encoder to the decoder, preserving detailed spatial information lost during downsampling.This feature makes U-Net particularly effective for tasks requiring precise localization, such as segmentation.• Segmentation Output: Unlike conventional autoencoders, which aim to reconstruct the input, U-Net outputs a modified image tailored to the task.In this application, the last layer outputs binary values indicating the presence of the charge.
73The U-Net autoencoder architecture used in this study is schematized in Fig. 9, with detailed layer descriptions provided in Table 1.A key component of the architecture is the convolutional block referred to in Table 1, which is a six-layer block detailed in Table 2.This block takes two parameters: the number of input channels x in and the number of output channels x out .This U-Net architecture has two unique features tailored to the requirements of SMC modeling:
74• Latent Space Representation: The latent space is represented through a combination of a bottleneck and an embedding mechanism, allowing the model to capture essential features of the part while integrating the additional non-image inputs: the desired part thickness and the available charge thickness.Specifically, the latent space consists of one convolutional block (as defined in Table 2) and an embedding layer.The embedding layer is a fully connected layer that processes the thickness inputs, producing an output of the same size as the convolutional bottleneck output.The bottleneck and embedding outputs are then fused via element-wise addition after broadcasting the bottleneck dimensions to match the spatial shape.• Logical Activation Layer: The final layer applies a logical thresholding mechanism where all element values greater than or equal to 0.75 are set to 1.This logical layer aids in accelerating convergence and ensures the output aligns with the binary nature of the charge prediction task.
75The architecture described above features over 466,000 trainable parameters.Notably, similar architectures with smaller sizes (fewer parameters) were tested but failed to achieve comparable accuracy on the test cases.
Data preparation and training
76There are several approaches to generating snapshots for machine learning training, each tailored to the specific goals of the study.In this work, the primary objective is to construct a dataset sufficient to validate the proof of concept: demonstrating that machine learning can accurately predict the initial charge shape based on three key inputs.These inputs include (1) the final mold shape, which represents the desired geometry of the manufactured part; (2) the thickness of the manufactured part; and (3) the initial charge thickness, which corresponds to the total available charge thickness defined by the engineer.To achieve this, simulations play a crucial role in generating the required dataset.However, testing a variety of final part thicknesses and initial charge thicknesses would demand a significant amount of simulation data.To mitigate this challenge, an effective data augmentation strategy has been employed: leveraging snapshots from intermediate time steps within each simulation.This approach significantly expands the dataset.
77The 1, 000 reverse SMC simulations conducted in Section "Reverse SMC simulation: application examples" provide the dataset for training, validation, and testing of the proposed machine learning architecture.Each simulation consists of 12,000 time steps, with a snapshot recorded every 300 time steps.This means that each simulation case generates 40 snapshots in addition to the initial state, with each snapshot associated with a specific charge thickness.Let s denote the snapshot number, where s ∈ [0, 40].A training set is constructed by pairing one input snapshot s in and one output snapshot s out such that:
78For each simulation case, a function f s randomly selects 16 pairs of [s in , s out ] from the simulation data according to Eq. (17).Additionally, common snapshots are included for all pairs: the initial and final charge states ([0, 40]), as well as intermediate snapshots at [0, 10], [0, 20], and [0, 30].This process ensures that every time f s is called, a new set of data is generated based on the same simulation experiments.
79A limitation of this method is that, for any given mold shape, the charge shape and thickness are inherently linked by the simulation process.As a result, the dataset lacks the flexibility to test arbitrary combinations of mold size and thickness.Achieving generalization-where arbitrary combinations of mold shapes and thicknesses can be tested-would require additional data generation but does not necessitate changes to the current strategy.
80Since the training is conducted in series, each series generates data using f s .At the end of each series, the training is evaluated.If further training is required, adjustments to the learning rate can be made, and the f s function is called again to generate new snapshots for the next training iteration from the same simulation experiments.
81To utilize this data effectively, preprocessing is required to align it with the architecture's input requirements.The SMC simulation results are originally represented as binary values at each mesh element, with ones indicating the presence of SMC material and zeros indicating voids.However, due to the non-uniform nature of the mesh, this representation is not directly interpretable as an image by convolutional layers.
82The first step in data preparation involves transforming the simulation outputs into a standardized image format.Each result is projected onto an 84×84 uniform quadrilateral mesh, creating a normalized image representation that is compatible with convolutional neural networks.This process is applied to all time steps across all simulations, ensuring consistency in data format.The preprocessed dataset is then stored in an HDF5 file, facilitating efficient access and integration within Python-based machine learning frameworks.
83From the 1, 000 simulations, 200 cases were randomly selected and reserved exclusively for testing.These cases remain completely unseen by the network during training and validation to ensure an unbiased evaluation of the model's performance.An additional 100 cases were set aside for validation.The validation dataset is used during training to monitor and prevent overfitting.Specifically, if the loss on the training dataset decreases while the validation loss begins to increase, early stopping is applied to halt training and avoid overfitting.
84During training, the number of epochs was determined by the point at which both the training and validation losses plateaued, indicating that further optimization would not significantly improve performance.Additionally, dropout layers incorporated within the network architecture played a crucial role in mitigating overfitting, resulting in a consistent and comparable loss between the training and validation datasets.
85Moreover, the training process utilized a Mean Squared Error (MSE) loss function and the Adam optimizer.Training was conducted over six series, with the function f s invoked at the start of each series to diversify the training data.The learning rate was progressively adjusted across the series to optimize model convergence, as summarized in Table 3.
86PyTorch with CUDA was selected for its seamless integration with NVIDIA GPUs and ease of use on Windows compared to TensorFlow.Using a NVIDIA GeForce RTX 4080 Laptop GPU with 12GB VRAM, training completed in 3 hours, achieving a 10-fold speedup over CPU training on a 13th Gen Intel Core i9-13950HX (2.20 GHz, 32GB RAM).CUDA's efficient memory management ensured smooth handling of large-scale data, making PyTorch the optimal choice for this application.
Results assessments and analysis
87In this section, we compare the initial charge shape predicted by the Machine Learning (ML) architecture presented in Section "The U-Net architecture for SMC charge shape prediction" with the initial charge shape obtained through reverse simulation, as described in Section "Reverse SMC simulation: application examples".The results primarily focus on the test dataset, which was never seen by the network during training.Notably, the accuracy observed on the training, validation, and test datasets is consistent, indicating that the network did not overfit the data.For clarity and relevance, we limit our discussion to the test dataset.
88The test dataset comprises 188 simulation cases, each featuring 40 snapshots at various time steps of the simulation.Following the methodology outlined in Section "Data preparation and training ", we extract 20 input-output combinations from each simulation.These combinations are used to test the network's ability to predict the initial charge shape from the final mold shape, its thickness h 0 , and the corresponding charge thickness h ∞ .
89Figure 10 illustrates the comparison between reverse simulation and ML predictions for a representative case.In Figure 10a and b, the final mold shape is shown in light blue, while the predicted initial charge shape is depicted in light red.A visual comparison highlights the similarity between the two methods, with ML predictions exhibiting smoother boundaries.
90Figure 10c shows the difference between the simulation and ML predictions.Regions where ML predicts extra elements appear in red, while regions missed by ML appear in blue.Quantitatively, the discrepancy corresponds to approximately 10% of the simulation-based initial charge area.However, considering positive and negative contributions (extra and missing elements), the net error reduces to about +3%.
91This error level is representative of the test cases.Notably, the error decreases significantly when the difference between h 0 and h ∞ is reduced.For cases where h ∞ − h 0 < 3 mm, the error remains below 1%.
92Even though a 10% error might appear significant at first glance, visual inspection reveals that it primarily results from boundary smoothing rather than major inaccuracies in prediction.This observation holds true for the majority of mold shapes, many of which exhibit even lower error levels.For instance, Figure 11 demonstrates another representative example where the conclusions align with those drawn earlier.For the few cases with higher error levels, further analysis and insights will be provided.
93One of the validation cases with a relatively high percentage error is illustrated in Fig. 12.In this scenario, the network predicts extra material in various locations along the boundary, smoothing the charge shape and avoiding Fig. 11 Comparison of initial charge shape predictions: reverse simulation vs. ML, for a another given mold shape along with h 0 = 5 mm and h ∞ = 41 mm Fig. 12 Comparison of initial charge shape predictions: reverse simulation vs. ML, for a mold shape presenting 18% error.Prediction is for h 0 = 5 mm and h ∞ = 41 mm the sharp corners occasionally observed in reverse simulation results.This tendency of the ML model is largely a response to numerical artifacts rather than physical phenomena.While reverse simulation often results in material loss, the ML model compensates by providing a "filtered" prediction, yielding a smoothed boundary that better aligns with the physical reality of the problem than the raw numerical simulation.
94The errors induced by the ML predictions are generally lower than those previously shown, and the methodology maintains validity even in challenging scenarios.In the following, we explore one of the more extreme error cases, demonstrating the robustness of the proposed approach.Figure 13 illustrates a case where the error is estimated at 8%.Although the error is not particularly large, a significant difference can be observed between the simulation and ML predictions.
95In this case, the simulation predicts two distinct charge regions, resulting from the loss of some material elements.This separation creates a smaller detached disk-shaped charge region, as seen in Fig. 13a.In contrast, the ML prediction provides a continuous charge shape, which is more logical.Since the simulation is not designed to produce two disconnected charge regions, the ML prediction appears more physically consistent.This outcome underscores the ML model's ability to avoid such numerical instabilities, which occur rarely and are not commonly present in the training data.
96This demonstrates that the model has learned the physics of the simulation during training and performs well when the input aligns with the physical principles it has been trained on.Discrepancies typically arise in situations where the simulation introduces numerical artifacts that deviate from the underlying physics, which the machine learning model cannot capture effectively.
Summary of findings
97This section demonstrates the effectiveness of machine learning in constructing a surrogate capable of replicating the SMC simulation software for real-time predictions.The errors associated with the machine learning predictions are comparable to those inherent in the reverse SMC flow simulation.Notably, prediction errors are primarily confined to small deviations along the initial charge boundary, while the overall charge shape is accurately captured.These results highlight the potential of the U-Net Autoencoder architecture as a powerful tool for addressing complex 3D mold shapes.
Conclusions and perspectives
98This study demonstrates the effectiveness of reverse SMC flow simulations and machine learning-based surrogates for predicting the initial charge shape in the SMC compression process.The reverse simulation methodology successfully Fig. 13 Comparison of initial charge shape predictions: reverse simulation vs. ML, for a case where the simulation predicts disconnected charges.Prediction is for h 0 = 5 mm and h ∞ = 41 mm reconstructs the initial charge configuration required to achieve the desired final mold shape.While some minor mass loss during both reverse and direct simulations results in small unfilled regions, these discrepancies can be managed by slightly increasing the charge dimensions, ensuring a filling accuracy within acceptable limits.This approach minimizes material overflow while maintaining high efficiency.
99The development of a machine learning surrogate, leveraging a U-Net Autoencoder architecture, further advances the potential for real-time predictions of the initial charge shape.The surrogate model replicates the simulation results with errors comparable to those of the reverse simulation and predicts the overall charge shape and position accurately.This success on 2D flat mold shapes paves the way for 3D applications, where surrogate modeling would bring a consequent computational advantage.
100Looking ahead, the integration of the machine learning surrogate into industrial SMC machines could offer transformative advantages.By eliminating the need for meshing and high computational costs, this approach provides a practical, efficient solution for real-time process optimization.Future work will focus on extending the methodology to complex 3D mold shapes, further refining the surrogate model to enhance its accuracy and scalability, and exploring its application in diverse industrial settings.
Fig. 2
101Fig.2Generation of a random mold shape using control points and NURBS
Fig. 9
102Fig. 9 Schematic of the U-Net architecture used to create the SMC digital twin
Fig. 10
103Fig.10 Comparison of initial charge shape predictions: reverse simulation vs. ML, for a given mold shape along with h 0 = 5 mm and h ∞ = 41 mm
Funding
104Open access funding provided by Arts et Metiers Institute of Technology.This project has received funding from the European Union's Horizon Europe Research and Innovation program under Grant Agreement No. 101091449 PIONEER.
Table 1
105Description of the U-Net autoencoder architecture used in the scope of this research and schematized in Fig.9
Table 2
106Composition
Table 3
107Learning rate schedule and corresponding number of epochs for each training series
참고문헌 25건
- PGD for solving multidimensional and parametric models Courses and lectures · Springer Vienna · 2014 10.1007/978-3-7091-1794-1_2
- U-Net: Convolutional Networks for Biomedical Image Segmentation Lecture notes in computer science · Springer Science+Business Media · 2015 10.1007/978-3-319-24574-4_28
- Sheet Molding Compounds Wiley Encyclopedia of Composites · 2012 10.1002/9781118097298.weoc222
- Optimisation of location and dimension of SMC precharge in compression moulding process Computers & Structures · Elsevier BV · 2011 10.1016/j.compstruc.2011.04.004
- Finite element methods for flow problems with moving boundaries and interfaces Archives of Computational Methods in Engineering · Springer Science+Business Media · 2001 10.1007/bf02897870
- A fixed mesh numerical method for modelling the flow in liquid composites moulding processes using a volume of fluid technique Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2003 10.1016/s0045-7825(02)00604-7
- Extracting and composing robust features with denoising autoencoders 2008 10.1145/1390156.1390294
- Flow Analysis of Sheet Molding Compounds in Compression Molding International Polymer Processing · De Gruyter · 1991 10.3139/217.910061
- The international journal of material forming International Journal of Material Forming · Springer Science+Business Media · 2008 10.1007/s12289-008-0006-3
- Proper Generalized Decomposition based dynamic data-driven control of thermal processes Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2011 10.1016/j.cma.2011.11.018
- Reducing the Dimensionality of Data with Neural Networks Science · American Association for the Advancement of Science · 2006 10.1126/science.1127647
- Gradient-based learning applied to document recognition Proceedings of the IEEE · Institute of Electrical and Electronics Engineers · 1998 10.1109/5.726791
- Comparison of various fluid–structure interaction methods for deformable bodies Computers & Structures · Elsevier BV · 2007 10.1016/j.compstruc.2007.01.010
- Infrared heating stage simulation of semi-transparent media (PET) using ray tracing method International Journal of Material Forming · Springer Science+Business Media · 2010 10.1007/s12289-010-0985-8
- Application of artificial neural networks for the optimal design of sheet molding compound (SMC) compression molding Polymer Composites · Wiley · 1995 10.1002/pc.750160508
- Neural Networks and Deep Learning Cambridge University Press eBooks · Cambridge University Press · 2016 10.1017/cbo9781316576533.019
- Flows in Polymers, Reinforced Polymers and Composites SpringerBriefs in applied sciences and technology · Springer Nature · 2015 10.1007/978-3-319-16757-2
- From dilute to entangled fibre suspensions involved in the flow of reinforced polymers: A unified framework Journal of Non-Newtonian Fluid Mechanics · Elsevier BV · 2017 10.1016/j.jnnfm.2017.10.003
- A Multidimensional Data‐Driven Sparse Identification Technique: The Sparse Proper Generalized Decomposition Complexity · Hindawi Publishing Corporation · 2018 10.1155/2018/5608286
- Advanced modeling and simulation of sheet moulding compound (SMC) processes International Journal of Material Forming · Springer Science+Business Media · 2019 10.1007/s12289-019-01506-2
- Structure-preserving neural networks Journal of Computational Physics · Elsevier BV · 2020 10.1016/j.jcp.2020.109950
- Polymer composite materials: A comprehensive review Composite Structures · Elsevier BV · 2021 10.1016/j.compstruct.2021.113640
- The NURBS Book Monographs in visual communication · Springer Nature · 1997 10.1007/978-3-642-59223-2
- Hybrid twin of RTM process at the scarce data limit International Journal of Material Forming · Springer Science+Business Media · 2023 10.1007/s12289-023-01747-2
- Prediction of cross-sectional features of SPR joints based on the punch force-displacement curve using machine learning The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2023 10.1007/s00170-023-12102-9