Method and system for constructing digital metal material mold model
By re-meshing and filtering the finite element model, identifying free and fixed meshes, and re-optimizing the mesh, the problem of decreased simulation accuracy of static mesh models in metal forming processes is solved, and the simulation accuracy and reliability are improved.
Patent Information
- Application Number
- CN202511955796.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-23
- Publication Date
- 2026-03-27
AI Technical Summary
In the metal forming process, existing dynamic modeling techniques cannot achieve multi-physics coupling analysis using static mesh models, resulting in decreased simulation accuracy and inaccurate identification of free surfaces, which affects the accuracy of mold and material behavior simulation.
By constructing a finite element model, initial mesh generation and re-meshing are performed, new and non-new meshes are marked, their dynamic evaluation values and stress evaluation values are calculated, free meshes and fixed meshes are screened out, and mesh re-optimization is performed to ensure mesh quality during the simulation process.
It improves the accuracy and reliability of simulation, avoids the computational overhead of global optimization, ensures high quality of mesh in dynamic simulation, and improves mold design and process parameter optimization.
Smart Images

Figure CN121744790A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of dynamic modeling technology, specifically to a method and system for constructing digital metal material mold models. Background Technology
[0002] Metal forming processes, such as casting and extrusion, are typical nonlinear processes involving large material deformation, moving interfaces, and complex thermo-mechanical coupling. Numerical simulation has become a core tool for optimizing these processes, predicting product defects, and assessing mold life. When simulating the metal forming process, the area where the molten metal contacts the mold cavity undergoes drastic changes, accompanied by intense heat transfer and complex stress evolution. Static mesh mold models cannot accurately analyze and calculate such multi-physics coupling scenarios. Dynamic meshing techniques, such as the Arbitrary Lagrange-Euler method (ALE), can re-mesh the mold model according to the changes in the melt at different process stages, thereby improving the accuracy of finite element analysis.
[0003] The mesh quality generated by the ALE algorithm may not meet the requirements, and the generated mesh needs to be optimized again. To improve computational efficiency, the mesh on the free surface is usually identified and optimized. However, the reconstruction of the free surface often causes passive distortion of the mesh in the adjacent fixed surface. At the same time, when identifying the mesh on the free surface by the movement capability of the free surface, the phenomenon that the free surface stops moving after the mold is filled is not fully considered, which leads to inaccurate identification of the free surface in the dynamic modeling process, resulting in deviations in the simulation of mold and material behavior and a decrease in the simulation accuracy of metal material forming process. Summary of the Invention
[0004] To address the aforementioned technical problems, a method and system for constructing digital metal material mold models are provided to resolve existing issues.
[0005] The solution to the technical problem in this application is to provide a method and system for constructing digital metal material mold models, including the following steps: In a first aspect, embodiments of this application provide a method for constructing a digital metal material mold model, the method comprising the following steps: A finite element model of the mold is constructed, and an initial mesh is generated. In the simulation of the metal forming process, the finite element model is continuously re-meshed, and the newly added mesh and non-new mesh are marked after each re-meshing. The element stress of each mesh at different times is recorded after each re-meshing. For each re-division, we analyze the positional changes of non-newly added grids before and after the re-division, as well as the differences in geometric characteristics of grids within the local area where the non-newly added grids are located, and calculate the dynamic evaluation value of each non-newly added grid. By calculating the average stress level of the elements in the non-newly added mesh, the stress evaluation value of each non-newly added mesh is calculated. Combining the occlusion of the non-newly added mesh in different directions in space and the dynamic evaluation value, the evaluation coefficient of each non-newly added mesh is determined. The non-newly added mesh is then screened to obtain free meshes and fixed meshes. Based on the differences in geometric features and curvature of the grids within the local area of the fixed grid after each re-division, the quality degradation value of each fixed grid is determined, and the fixed grids are screened to obtain high-risk grids. The newly added mesh, free mesh, and high-risk mesh after each re-division are re-optimized to dynamically model the mold during the simulation process.
[0006] Preferably, marking the newly added and non-newly added grids after each re-division includes: assigning a label value to each grid in the initial division, marking the grids that do not have a label value after each re-division as newly added grids, assigning a label value to the newly added grids, and marking the grids other than the newly added grids after each re-division as non-newly added grids.
[0007] Preferably, the calculation of the dynamic evaluation value for each non-newly added grid includes: The distance between the centroid coordinates of each non-newly added grid after each re-division and the centroid coordinates of the grid corresponding to the same label value before the re-division is taken as the moving distance; All grids connected to the vertices of each non-new grid are denoted as neighboring grids; calculate the dispersion of the area of each non-new grid and all its neighboring grids. The dynamic evaluation value is the result of a positive fusion of the travel distance and the degree of dispersion.
[0008] Preferably, the calculation of the stress assessment value for each non-newly added grid includes: The element stress includes thermal stress and compressive stress; the average values of thermal stress and compressive stress of each non-newly added mesh at all times after each re-division are calculated and denoted as the first stress and the second stress, respectively. The stress assessment value is the result of a positive fusion of the first stress and the second stress.
[0009] Preferably, determining the evaluation coefficients for each non-newly added grid includes: Construct the bounding box of the finite element model; emit a ray from the centroid of each non-new mesh to the center point of each face on the bounding box, and calculate the number of times each ray intersects with the mesh; The minimum number of all rays corresponding to each non-newly added grid is selected as the occlusion coefficient of each non-newly added grid. The evaluation coefficient is the result of the fusion of dynamic evaluation value, stress evaluation value, and shading coefficient.
[0010] Preferably, obtaining free meshes and fixed meshes includes: obtaining a segmentation threshold for the evaluation coefficients of all non-newly added meshes after each re-division, denoted as a first threshold; marking non-newly added meshes with evaluation coefficients greater than or equal to the first threshold as free meshes, and vice versa, marking them as fixed meshes.
[0011] Preferably, determining the quality degradation value of each fixed grid includes: performing plane fitting on the vertices of each fixed grid and all its neighboring grids, calculating the shortest distance from each fixed grid to the fitted plane; and positively fusing the dispersion of each fixed grid with the shortest distance as the quality degradation value of each fixed grid.
[0012] Preferably, the step of obtaining high-risk meshes includes: obtaining a segmentation threshold for the quality degradation value of all fixed meshes, denoted as a second threshold, and marking fixed meshes with quality degradation values greater than or equal to the second threshold as high-risk meshes.
[0013] Preferably, the specific process of the mesh re-optimization is as follows: the smoothing algorithm is used to re-optimize the newly added mesh, free mesh, and high-risk mesh after each re-division.
[0014] Secondly, embodiments of this application also provide a digital metal material mold model construction system, including a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, it implements the steps of any of the above-described digital metal material mold model construction methods.
[0015] This application has at least the following beneficial effects: This application assigns a label value to each mesh, which facilitates accurate mesh tracking. Calculating the dynamic evaluation values of each non-newly added mesh allows for the rapid identification of moving and distorted meshes by analyzing their positional movement and local geometric differences, reflecting the likelihood of typical behavior characteristics of free-surface meshes. Calculating the stress evaluation values of each non-newly added mesh indicates the mesh's sustained exposure to high thermal-mechanical loads, assessing the possibility of direct contact between the non-newly added mesh and the melt, further confirming that the non-newly added mesh belongs to the free-surface category. Determining the evaluation coefficients for each non-newly added mesh allows for screening, identifying free and fixed meshes. This considers the possibility of non-newly added meshes being occluded in different directions, reflecting their potential location on the model's outer surface, and thus influencing mesh displacement, stress, and their position on the model's inner or outer surfaces. The method comprehensively evaluates the possibility of non-newly added meshes being located on free surfaces from multiple dimensions to accurately locate meshes on free surfaces. It determines the quality degradation value of each fixed mesh, filters fixed meshes, and identifies high-risk meshes. The beneficial effect is that by assessing the geometrical differences of meshes within their local area, it assesses the distortion of fixed meshes. Furthermore, based on the curvature of the fixed meshes, it identifies meshes with high quality degradation due to special structural features at their location or the influence of free surface variations, allowing for optimization of these meshes. This ensures the mesh quality of the finite element model and the reliability of subsequent calculation results globally. Mesh re-optimization is performed on newly added meshes, free meshes, and high-risk meshes after each re-division to dynamically model the mold during simulation. The beneficial effect is that by re-optimizing the selected meshes, it avoids the huge computational overhead of global optimization while ensuring that the mesh maintains high quality throughout the dynamic simulation, thereby improving the accuracy and reliability of the simulation. Attached Figure Description
[0016] The following description, in conjunction with the accompanying drawings, provides a more detailed explanation of a digital metal material mold model construction method of this application.
[0017] Figure 1 A flowchart illustrating the steps of a method for constructing a digital metal material mold model, as provided in this application embodiment; Figure 2 A flowchart illustrating the steps of the method for obtaining the evaluation coefficients of each non-newly added grid provided in the embodiments of this application. Detailed Implementation
[0018] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description of a digital metal material mold model construction method and system proposed in this application, in conjunction with the accompanying drawings and implementation examples, is provided. It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit the scope of this application.
[0019] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains.
[0020] Please see Figure 1 The diagram illustrates a flowchart of a method for constructing a digital metal material mold model according to an embodiment of this application. The method includes the following steps: Step 1: Construct the finite element model of the mold and perform initial mesh generation. In the simulation of metal material forming process, continuously re-mesh the finite element model, mark the newly added mesh and non-new mesh after each re-mesh, and record the element stress of each mesh at different times after each re-mesh.
[0021] Metal molds play a crucial role in manufacturing, being widely used in casting, stamping, and injection molding processes in industries such as automotive, aerospace, electronics, and consumer goods. In these processes, molds are the core element for achieving precise product forming; their design and performance directly determine the quality, precision, and production efficiency of the final product.
[0022] Metal forming is a complex physicochemical process that occurs in a high-temperature, high-pressure, and enclosed environment. Material flow, temperature transfer, and stress evolution are all invisible. By performing numerical simulation on the metal forming process and combining the simulation results to analyze process parameters and mold conditions, we can optimize mold design and process schemes, improve product quality, extend mold life, and enhance process stability.
[0023] Based on the above analysis, and based on the design drawings of the metal material mold, a three-dimensional model of the mold is constructed using CAD software, and then imported into finite element software to obtain the finite element model of the mold. In this embodiment, the finite element software used is ABAQUS. The construction of the finite element model is a well-known technique and will not be described in detail here.
[0024] Initially mesh the finite element model and assign a label value to each mesh. In this embodiment, the Advancing Front algorithm is used for mesh division, wherein the shape of the mesh is selected as triangle. The Advancing Front algorithm is a well-known technology and will not be described in detail here. Next, all meshes are numbered as label values for each mesh.
[0025] Metal forming is a dynamic process involving complex physical phenomena such as the flow, filling, and solidification of molten metal, as well as thermo-mechanical coupling. During this process, material deformation is drastic, and interfaces (such as free surfaces and solidification fronts) are constantly changing. Traditional numerical methods are prone to computational failures or accuracy degradation due to mesh distortion. The Arbitrary Lagrange-Euler algorithm (ALE) decouples the motion of the computational mesh from the motion of the material. Unlike the pure Lagrange method, which binds the mesh to the material and causes mesh distortion, or the pure Euler method, which fixes the mesh and blurs the interfaces, the ALE algorithm allows the mesh to move arbitrarily under its own inherent laws. This dynamically maintains the mesh quality during the simulation, effectively avoiding mesh distortion while ensuring accurate interface capture, thus guaranteeing the numerical stability and computational accuracy of the entire drastically dynamic process simulation.
[0026] When simulating the forming process of metal materials, the ALE algorithm is used to re-mesh the finite element model; In this embodiment, the ALE algorithm is a well-known technology and will not be described in detail here. The incremental step of the ALE algorithm is set to 10, that is, the finite element model is re-meshed every 10 incremental steps.
[0027] After each re-division, the grids that do not have a label value are marked as new grids, and a label value is assigned to the new grids. After each re-division, all grids except the newly added grids are marked as non-newly added grids; It should be noted that the newly added grids are assigned a label value sequentially increasing from the maximum label value of all grids before each re-division. For ease of understanding, for the first re-division, there are three newly added grids. Before the re-division, there are n label values from 1 to n, and the maximum label value is n. Therefore, the newly added grids are numbered starting from n+1, so the label values of the three newly added grids are n+1, n+2, and n+3, respectively. For the second re-division, if there are two newly added grids, they are numbered starting from n+4, and so on.
[0028] In the finite element software backend, the element stress of each mesh at different times after each re-division is recorded. The element stress includes thermal stress and compressive stress. It should be noted that thermal stress refers to temperature.
[0029] Thus, the mesh of the finite element model after each re-division and the element stress of the mesh at different times are obtained.
[0030] Step 2: For each re-division, analyze the positional changes of non-newly added grids before and after the re-division, as well as the differences in geometric characteristics of grids within the local area where the non-newly added grids are located, and calculate the dynamic evaluation value of each non-newly added grid.
[0031] When using the ALE algorithm for dynamic modeling, the model is usually dynamically divided into free surfaces and fixed surfaces. Fixed surfaces refer to the outer surface of the mold that does not directly contact the molten metal, and their geometry remains basically stable during the metal forming process. Free surfaces are mainly the cavity surfaces inside the mold that directly contact the molten metal. During the injection, filling, and solidification of the molten metal, they are easily affected by the coupling effects of temperature and pressure, which can lead to local displacement and mesh distortion.
[0032] Since the ALE algorithm dynamically models the finite element model by periodically re-meshing the mesh, each re-meshing results in the addition of new meshes and the removal of some meshes. Therefore, it is necessary to track the mesh, analyze mesh movement, and evaluate whether the mesh belongs to a free surface. Specifically: The distance between the centroid coordinates of each non-newly added grid after each re-division and the centroid coordinates of the grid corresponding to the same label value before the re-division is taken as the moving distance; In this embodiment, the distance is measured by calculating the Euclidean distance between the centroid coordinates of each non-newly added grid after each re-division and the centroid coordinates of the grid corresponding to the same label value before the re-division. As another implementation method, the implementer may use other methods of the prior art, such as Manhattan distance, Chebyshev distance, etc. This embodiment does not impose any special restrictions on this.
[0033] It should be noted that in the simulation of metal forming process, the appearance of new meshes is most likely caused by the forward advancement and expansion of the free surface of the molten metal. Therefore, the new meshes are more likely to belong to the free surface. Secondly, the movement distance reflects whether the same mesh has shifted in spatial position before and after re-division. The larger the value, the greater the possibility that the non-new meshes have moved with the changes of the molten metal during the simulation, and the more likely they are to belong to the free surface.
[0034] Secondly, during dynamic modeling using the ALE algorithm, the mesh on the free surface changes as the melt moves, often leading to mesh stacking and distortion. Therefore, it is necessary to analyze the geometric differences between the non-newly added mesh and its surrounding meshes to assess whether the non-newly added mesh might belong to the free surface. Specifically: Mark all grids connected to vertices of non-newly added grids as neighboring grids; Calculate the dispersion of the area of each non-newly added grid and all its neighboring grids; In this embodiment, the degree of dispersion is measured by calculating the standard deviation of the area of each non-new grid and all its neighboring grids. As other implementation methods, implementers may use other methods of the prior art, such as variance, coefficient of variation, etc. This embodiment does not impose any special restrictions on this.
[0035] It should be noted that the greater the degree of dispersion, the more significant the distortion of the size and shape of the mesh in the local area, reflecting that the non-newly added mesh is more in line with the typical deformation characteristics of the free surface as it changes with the melt.
[0036] Furthermore, based on the distance traveled and the degree of dispersion, a dynamic evaluation value is determined, specifically as follows: The movement distance and dispersion are positively integrated and used as the dynamic evaluation value for each non-new grid. In this embodiment, the specific process of forward fusion is as follows: the normalized result of the sum of the square of the moving distance and the degree of dispersion is used as the dynamic evaluation value of each non-new grid; as another implementation method, the implementer can calculate the normalized result of the product of the moving distance and the degree of dispersion as the dynamic evaluation value of each non-new grid; secondly, the maximum and minimum value normalization method is used for normalization processing, wherein the maximum and minimum value normalization method is a well-known technology and will not be described in detail here.
[0037] It should be noted that the larger the dynamic evaluation value, the greater the possibility that the non-newly added mesh moves with the molten metal and that there is a distorted mesh in a local area, reflecting that the non-newly added mesh is more likely to be a free surface.
[0038] At this point, the dynamic evaluation values for each non-newly added grid are obtained.
[0039] Step 3: Calculate the stress evaluation value of each non-newly added mesh by using the average level of element stress of the non-newly added mesh. Combine the occlusion of the non-newly added mesh in different directions in space and the dynamic evaluation value to determine the evaluation coefficient of each non-newly added mesh. Then, filter the non-newly added meshes to obtain free meshes and fixed meshes.
[0040] Furthermore, the flowchart of the method for obtaining the evaluation coefficients of each non-newly added grid provided in the embodiments of this application is as follows: Figure 2 As shown.
[0041] Furthermore, a free surface refers to the inner surface of the mold cavity that is in direct contact with the molten metal. When the area that originally belonged to the free surface is completely filled by the molten metal and adheres to the inner wall of the mold cavity, the mesh belonging to the free surface will no longer move because the molten metal no longer moves. Therefore, even if the mesh does not move, it may still belong to the free surface, and mesh distortion may introduce pseudo-displacement. Distinguishing free surfaces solely based on the movement of the mesh may lead to misjudgment.
[0042] Secondly, considering the geometric characteristics of the mold structure, the free surface of the mold typically corresponds only to the innermost cavity surface that is in direct contact with the melt, while the outer contour region of the mold is usually a fixed surface. Free and fixed surfaces are identified by analyzing whether non-newly added meshes are located within the outer contour region of the mold, specifically: Construct the bounding box of the finite element model; In this embodiment, the bounding box type is an axis-aligned bounding box (AABB). The method for constructing an axis-aligned bounding box is a well-known technique and will not be described in detail here.
[0043] From the centroid of each non-newly added mesh, emit a ray to the center point of each face on the bounding box, and calculate the number of times each ray intersects with the mesh; In this embodiment, the ray triangulation algorithm is used. ) Calculate the number of intersections between the ray and the mesh. The ray triangulation algorithm is a well-known technique and will not be described in detail here.
[0044] The minimum number of all rays corresponding to each non-newly added grid is selected as the occlusion coefficient of each non-newly added grid. It should be noted that if the number is 0, it means that there is no obstruction between the direction of the ray and the bounding box, reflecting that the non-new mesh belongs to the outermost layer of the finite element model; the smaller the obtained occlusion coefficient, the closer the non-new mesh is to the outer surface of the model, and the larger the occlusion coefficient, the more the non-new mesh is inside the model, and the more likely it is to belong to a free surface.
[0045] Secondly, since the mesh on the free surface is in direct contact with the molten metal during the casting process, it experiences greater stress than the mesh on the fixed surface. Therefore, the stress assessment value is calculated based on the stress experienced by the non-newly added mesh, specifically: Calculate the average thermal stress of each non-newly added mesh at all times after each re-division, and denote it as the first stress; Calculate the average pressure stress of each non-newly added mesh at all times after each re-division, and denote it as the second stress; The first stress and the second stress are positively merged and used as the stress evaluation value for each non-newly added mesh. In this embodiment, the specific process of forward fusion is as follows: the first stress and the second stress are normalized respectively, and the average of the normalized first stress and the normalized second stress is used as the stress evaluation value of each non-newly added mesh; as another implementation, the implementer can use the sum of the normalized first stress and the normalized second stress as the stress evaluation value of each non-newly added mesh; secondly, the normalization process is as follows: the ratio of the first stress of each non-newly added mesh to the maximum first stress of all non-newly added meshes is used as the normalized first stress, and correspondingly, the ratio of the second stress of each non-newly added mesh to the maximum second stress of all non-newly added meshes is used as the normalized second stress.
[0046] It should be noted that the greater the first stress, the more intense the non-newly added mesh is subjected to drastic temperature changes and strong thermal constraints. The greater the second stress, the stronger the extrusion impact that the non-newly added mesh is subjected to. The greater the obtained stress assessment value, the greater the possibility that the non-newly added mesh is continuously under high heat and high pressure during the simulation of metal material forming process, and the greater the possibility that it is in direct contact with the melt, reflecting that the non-newly added mesh is more likely to be a free surface.
[0047] Furthermore, based on the dynamic evaluation value, stress evaluation value, and shading coefficient, the evaluation coefficient is determined as follows: The result of fusing the dynamic evaluation value, stress evaluation value, and shading coefficient is used as the evaluation coefficient for each non-newly added grid. In this embodiment, the specific process of fusion is as follows: the sum of the dynamic evaluation value, stress evaluation value, and occlusion coefficient is used as the evaluation coefficient of each non-newly added mesh. In other implementations, the implementer can use the product of the dynamic evaluation value, stress evaluation value, and occlusion coefficient as the evaluation coefficient of each non-newly added mesh. It should be noted that, in order to avoid the dynamic evaluation value, stress evaluation value, and occlusion coefficient being 0, when calculating the product of the three, a positive mapping is performed on each value so that the result after positive mapping is greater than 0. The positive mapping process is as follows: a preset value greater than 0 is introduced for each value. The preset value greater than 0 is 0.1. In other implementations, the implementer can set it according to the actual situation.
[0048] It should be noted that the larger the evaluation coefficient, the more the non-new mesh conforms to the behavior characteristics of a free surface in terms of movement, spatial occlusion, and thermal-mechanical load response. This reflects that it is more likely to be on the surface of the mold cavity inside the mold that is in direct contact with the melt, i.e., more likely to be a free surface. Therefore, it is necessary to optimize the mesh to improve the quality and structure of the mesh in the simulation calculation.
[0049] Obtain the segmentation threshold of the evaluation coefficients of all non-newly added meshes after each re-division, and denote it as the first threshold. Non-newly added meshes whose evaluation coefficients are greater than or equal to the first threshold are marked as free meshes, and those whose evaluation coefficients are less than or equal to the first threshold are marked as fixed meshes. In this embodiment, the Otsu threshold segmentation algorithm is used to obtain the segmentation threshold. The Otsu threshold segmentation algorithm is a well-known technology and will not be described in detail here. As other implementation methods, implementers may use other methods of the prior art, such as cross-validation. This embodiment does not impose any special restrictions on this.
[0050] At this point, we have obtained both free mesh and fixed mesh.
[0051] Step 4: Based on the differences in geometric features and curvature of the fixed mesh within the local area after each re-division, determine the quality degradation value of each fixed mesh, screen the fixed meshes, and obtain high-risk meshes; perform mesh re-optimization on the newly added meshes, free meshes, and high-risk meshes after each re-division, so as to dynamically model the mold during the simulation process.
[0052] Furthermore, in the actual metal forming process, although some fixed surface areas do not directly contact the melt, after mesh remapping, the fixed mesh in the area adjacent to the free surface may undergo passive distortion due to the topology reconstruction of the local mesh, such as abnormal shrinkage or expansion of area, sharpening of interior corners, which will affect the accuracy of finite element analysis. Therefore, in order to improve the dynamic modeling effect of the mold and the accuracy of finite element analysis, the distortion of the mesh on the fixed surface is analyzed to assess whether optimization is needed.
[0053] If the fixed mesh is located in a region of abrupt curvature change, such as a sharp corner or a sudden change in wall thickness, although this region is not a free surface, it is still very easy to cause large analysis errors due to the steep stress gradient. Therefore, it is necessary to optimize this fixed mesh.
[0054] Perform plane fitting on each fixed grid and the vertices of all its neighboring grids, and calculate the shortest distance from each fixed grid to the fitted plane; In this embodiment, the least squares method is used for plane fitting. The least squares method is a well-known technique and will not be described in detail here. Secondly, the shortest distance is measured by calculating the Euclidean distance from each fixed grid to the fitting plane. The Euclidean distance is a well-known technique and will not be described in detail here.
[0055] The dispersion of each fixed grid and the shortest distance are positively fused to form the quality degradation value of each fixed grid. In this embodiment, the specific process of forward fusion is as follows: the sum of the dispersion of each fixed grid and the square of the shortest distance is used as the quality degradation value of each fixed grid. In other implementation methods, the implementer can use the product of the dispersion of each fixed grid and the shortest distance as the quality degradation value of each fixed grid.
[0056] It should be noted that the larger the shortest distance, the greater the curvature of the fixed mesh, indicating that the fixed mesh is more likely to be located on a structure with abrupt curvature changes. The larger the quality degradation value, the greater the possibility of distortion in the fixed mesh, and the more it should be optimized.
[0057] Obtain the segmentation threshold for the quality degradation value of all fixed meshes, denoted as the second threshold, and mark the fixed meshes with quality degradation values greater than or equal to the second threshold as high-risk meshes; In this embodiment, the Otsu threshold segmentation algorithm is used to obtain the segmentation threshold. The Otsu threshold segmentation algorithm is a well-known technology and will not be described in detail here. As other implementation methods, implementers may use other methods of the prior art, such as cross-validation. This embodiment does not impose any special restrictions on this.
[0058] The smoothing algorithm is used to re-optimize the newly added grid, free grid, and high-risk grid after each re-division. In this embodiment, the Laplacian smoothing algorithm is used for mesh re-optimization. The Laplacian smoothing algorithm is a well-known technology and will not be described in detail here.
[0059] By continuously re-meshing and re-optimizing the mesh until the simulation of the entire metal material forming process is completed, the problem of local mesh distortion caused by mesh re-meshing of the ALE algorithm is effectively alleviated while maintaining the stability of the overall topology. This allows for more reasonable dynamic modeling of the model, significantly improving the smoothness of mesh size transition, ensuring the quality and adaptability of the mesh during the simulation, and thus improving the accuracy and reliability of the simulation.
[0060] Based on the same inventive concept as the above method, this application embodiment also provides a digital metal material mold model construction system, including a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, it implements the steps of any one of the above-described digital metal material mold model construction methods.
[0061] It should be understood that, although Figure 1 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figure 1 At least some of the steps in the process may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
[0062] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0063] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application. Therefore, any simple modifications, equivalent changes, and alterations made to the above embodiments based on the technical essence of this application, without departing from the content of the technical solution of this application, shall fall within the protection scope of the technical solution of this application.
Claims
1. A method for constructing a digital metal material mold model, characterized in that, The method includes the following steps: A finite element model of the mold is constructed, and an initial mesh is generated. In the simulation of the metal forming process, the finite element model is continuously re-meshed, and the newly added mesh and non-new mesh are marked after each re-meshing. The element stress of each mesh at different times is recorded after each re-meshing. For each re-division, we analyze the positional changes of non-newly added grids before and after the re-division, as well as the differences in geometric characteristics of grids within the local area where the non-newly added grids are located, and calculate the dynamic evaluation value of each non-newly added grid. By calculating the average stress level of the elements in the non-newly added mesh, the stress evaluation value of each non-newly added mesh is calculated. Combining the occlusion of the non-newly added mesh in different directions in space and the dynamic evaluation value, the evaluation coefficient of each non-newly added mesh is determined. The non-newly added mesh is then screened to obtain free meshes and fixed meshes. Based on the differences in geometric features and curvature of the grids within the local area of the fixed grid after each re-division, the quality degradation value of each fixed grid is determined, and the fixed grids are screened to obtain high-risk grids. The newly added mesh, free mesh, and high-risk mesh after each re-division are re-optimized to dynamically model the mold during the simulation process.
2. The method for constructing a digital metal material mold model as described in claim 1, characterized in that, The step of marking newly added and non-newly added grids after each re-division includes: assigning a label value to each grid in the initial division, marking grids that do not have a label value after each re-division as newly added grids, assigning a label value to the newly added grids, and marking the grids other than newly added grids after each re-division as non-newly added grids.
3. The method for constructing a digital metal material mold model as described in claim 2, characterized in that, The calculation of the dynamic evaluation value for each non-newly added grid includes: The distance between the centroid coordinates of each non-newly added grid after each re-division and the centroid coordinates of the grid corresponding to the same label value before the re-division is taken as the moving distance; All grids connected to the vertices of each non-new grid are denoted as neighboring grids; calculate the dispersion of the area of each non-new grid and all its neighboring grids. The dynamic evaluation value is the result of a positive fusion of the travel distance and the degree of dispersion.
4. The method for constructing a digital metal material mold model as described in claim 1, characterized in that, The calculation of stress assessment values for each non-newly added grid includes: The element stress includes thermal stress and compressive stress; the average values of thermal stress and compressive stress of each non-newly added mesh at all times after each re-division are calculated and denoted as the first stress and the second stress, respectively. The stress assessment value is the result of a positive fusion of the first stress and the second stress.
5. The method for constructing a digital metal material mold model as described in claim 1, characterized in that, The determination of the evaluation coefficients for each non-newly added grid includes: Construct the bounding box of the finite element model; emit a ray from the centroid of each non-new mesh to the center point of each face on the bounding box, and calculate the number of times each ray intersects with the mesh; The minimum number of all rays corresponding to each non-newly added grid is selected as the occlusion coefficient of each non-newly added grid. The evaluation coefficient is the result of the fusion of dynamic evaluation value, stress evaluation value, and shading coefficient.
6. The method for constructing a digital metal material mold model as described in claim 1, characterized in that, The process of obtaining free meshes and fixed meshes includes: obtaining the segmentation threshold of the evaluation coefficients of all non-newly added meshes after each re-division, denoted as the first threshold; marking non-newly added meshes with evaluation coefficients greater than or equal to the first threshold as free meshes, and vice versa as fixed meshes.
7. The method for constructing a digital metal material mold model as described in claim 1, characterized in that, The process of determining the quality degradation value of each fixed grid includes: performing plane fitting on the vertices of each fixed grid and all its neighboring grids, calculating the shortest distance from each fixed grid to the fitted plane; and positively fusing the dispersion of each fixed grid with the shortest distance to obtain the quality degradation value of each fixed grid.
8. The method for constructing a digital metal material mold model as described in claim 1, characterized in that, The process of obtaining high-risk grids includes: obtaining a threshold for the segmentation of quality degradation values of all fixed grids, denoted as the second threshold, and marking fixed grids with quality degradation values greater than or equal to the second threshold as high-risk grids.
9. The method for constructing a digital metal material mold model as described in claim 1, characterized in that, The specific process of the mesh re-optimization is as follows: the smoothing algorithm is used to re-optimize the newly added meshes, free meshes and high-risk meshes after each re-division.
10. A digital metal material mold model building system, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the digital metal material mold model construction method as described in any one of claims 1-9.
