A calculation method and device for molten metal tracking

By using the lattice Boltzmann algorithm and particle tracking technology during high-pressure casting, the problem that the metal liquid flow information cannot be accurately obtained in the prior art is solved, and the precise simulation of the metal liquid flow and the complete filling of the filling area are achieved.

CN119578123BActive Publication Date: 2025-05-13SHENZHEN SHICHUANG TENGYANG TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510131390.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-02-06
Publication Date
2025-05-13
Estimated Expiration
2045-02-06

AI Technical Summary

Technical Problem

The prior art cannot accurately obtain the exact flow information and flow range of the metal liquid during high-pressure casting, resulting in unreasonable design.

Method used

A calculation method for metal liquid tracking is provided. By obtaining the structural model file of high-pressure casting, setting the metal liquid inlet and parameters, lattice Boltzmann algorithm to calculate the metal liquid flow field, and adding particles to perform position calculation until the product metal liquid filling area is filled with metal liquid.

Benefits of technology

Accurate simulation and tracking of metal liquid flow is achieved, ensuring that the product metal liquid filling area is completely filled and the detailed particle motion trajectory is output.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119578123B_ABST
    Figure CN119578123B_ABST
Patent Text Reader

Abstract

The present application discloses a calculation method and device for molten metal tracking, which can be applied to the field of high-pressure casting technology, including: obtaining a structural model file of high-pressure casting; setting the entrance, entrance speed and parameters of the molten metal, and finding the positions of all ingates in the casting system; calculating the molten metal flow field information of each ingate area based on the lattice Boltzmann algorithm, and obtaining the molten metal flow field speed of each grid at the current moment; adding particles to each grid of the ingate; calculating the positions of all particles at the next moment according to the molten metal speed and the particle position; judging whether the product molten metal filling area is completely filled with molten metal; if not, continuing to update the flow field using the lattice Boltzmann algorithm until it is full; and outputting the positions of particles at all moments. Thus, the flow of molten metal in the high-pressure casting process is simulated by flow field calculation and particle tracking technology, ensuring that the product molten metal filling area can be completely filled, and outputting the particle motion trajectory.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of high pressure casting, and in particular to a calculation method and device for molten metal tracking. Background Art

[0002] In the design of most castings, the metal liquid needs to flow from the gating system into the inlet of the product cavity, which is usually called the ingate. As the connection point between the gating system and the cavity product, the number of ingates is usually more than one, sometimes up to dozens, and the design of the gating system and ingates occupies an important position in the high-pressure casting mold because they directly affect the flow path of the metal liquid and the quality of the final product. Therefore, how to reasonably determine the location of the ingates and the cross-sectional area of ​​each ingate is one of the most critical factors in designing the gating system.

[0003] In the existing technology, the product is divided into areas, the volume of each area is calculated, and then the cross-sectional area of ​​the gate is determined based on the partitioned volume of the product. Finally, the approximate flow area of ​​the molten metal is determined based on the engineer's experience.

[0004] However, relying on the experience of engineers, the pouring system and the inner gate are designed and laid out qualitatively, which makes it impossible to obtain the exact flow information and flow range of the molten metal. Summary of the invention

[0005] Based on the above-mentioned deficiencies of the prior art, the present application provides a calculation method and device for molten metal tracking to solve the problem brought about by the prior art that the exact flow information and flow range of the molten metal cannot be obtained.

[0006] In order to achieve the above objectives, this application provides the following technical solutions:

[0007] The first aspect of the present application provides a calculation method for molten metal tracking, comprising:

[0008] Acquire a structural model file of high pressure casting; wherein the high pressure casting is obtained by combining a pouring system and a product metal liquid filling area;

[0009] Setting a molten metal inlet of the molten metal filling area of ​​the product in the pouring system, and setting parameter information of the molten metal and an inlet velocity of the molten metal at the molten metal inlet;

[0010] Searching the locations of all the ingates contained in the metal liquid filling area of ​​the product in the structural model file;

[0011] The molten metal is injected into the molten metal inlet, and for each of the ingates, based on the parameter information and the inlet velocity, a lattice Boltzmann algorithm is used to calculate the flow field of the molten metal in the pouring system and the corresponding area of ​​the ingate, so as to obtain the flow field velocity of the molten metal at the current moment corresponding to each grid included in the ingate;

[0012] At the current moment, particles are added to each grid of the inner gate, and the positions of all particles at the next moment are calculated according to the speed and position of all particles at the current moment; wherein the speed of the particle refers to the speed of the metal liquid flow field at the current moment corresponding to the grid position where the particle is located;

[0013] Determining whether the product molten metal filling area is filled with the molten metal;

[0014] If the molten metal filling area of ​​the product is not filled with the molten metal, the lattice Boltzmann algorithm is used to calculate the flow field of the molten metal in the pouring system and the corresponding area of ​​each of the ingates according to the molten metal flow field velocity at the current moment corresponding to the pouring system and each of the grids, the parameter information and the inlet velocity, to obtain the molten metal flow field velocity at the next moment corresponding to each of the grids contained in each of the ingates;

[0015] The metal liquid flow field velocity at the next moment corresponding to each grid contained in each of the ingates is updated to the metal liquid flow field velocity at the current moment, and the next moment is taken as the current moment, and the step of adding particles to each grid of the ingate at the current moment is returned to be executed, and the positions of all particles at the next moment are calculated according to the speed and position of all particles at the current moment, until the metal liquid filling area of ​​the product is filled with the metal liquid;

[0016] If the product molten metal filling area is filled with the molten metal, the positions of the particles at all times are output.

[0017] Optionally, in the calculation method for molten metal tracking, for each of the ingates, based on the parameter information and the inlet velocity, a lattice Boltzmann algorithm is used to perform flow field calculation on the molten metal in the pouring system and the corresponding area of ​​the ingate, to obtain the current moment molten metal flow field velocity corresponding to each grid included in the ingate, including:

[0018] For each grid in each of the ingates, respectively, a lattice Boltzmann equation of the grid is set;

[0019] Obtain each direction of the grid and the corresponding position of the grid in space;

[0020] Based on the parameter information, the inlet velocity, each direction and position of the grid, the lattice Boltzmann equation is solved to obtain the metal liquid flow field velocity corresponding to the grid at the current moment.

[0021] Optionally, in the above-mentioned calculation method for molten metal tracking, after searching the positions of all the ingates included in the molten metal filling area of ​​the product in the structural model file, the method further includes:

[0022] The position of each of the ingates contained in the molten metal filling area of ​​the product is marked to obtain an index corresponding to each of the ingates.

[0023] Optionally, in the above calculation method for molten metal tracking, calculating the positions of all particles at the next moment according to the speed and position of all particles at the current moment includes:

[0024] For all the particles, the index corresponding to the ingate is assigned to the attribute of the particle, and the velocity of the molten metal flow field corresponding to the grid position of the particle at the current moment is determined as the velocity of the particle, so as to obtain the target particle;

[0025] Calculate the difference between the next moment and the current moment;

[0026] The position of the particle at the next moment is calculated according to the difference, the speed and the position of the target particle.

[0027] Optionally, in the above calculation method for molten metal tracking, the step of determining whether the molten metal filling area of ​​the product is filled with the molten metal includes:

[0028] According to the positions of particles at all times, determining whether each grid included in each of the ingates contains particles;

[0029] If each grid contained in each of the ingates contains particles, it is determined that the molten metal filling area of ​​the product is filled with the molten metal;

[0030] If each grid included in each of the ingates does not contain added particles, it is determined that the molten metal filling area of ​​the product is not filled with the molten metal.

[0031] A second aspect of the present application provides a computing device for molten metal tracking, comprising:

[0032] A file acquisition unit, used to acquire a structural model file of high-pressure casting; wherein the high-pressure casting is obtained by combining a pouring system and a product metal liquid filling area;

[0033] A setting unit, used to set a molten metal inlet of the molten metal filling area of ​​the product in the pouring system, and set parameter information of the molten metal and an inlet speed of the molten metal at the molten metal inlet;

[0034] A search unit, used for searching the locations of all the ingates included in the metal liquid filling area of ​​the product in the structural model file;

[0035] a flow field calculation unit, configured to inject the molten metal into the molten metal inlet, and for each of the ingates, respectively, based on the parameter information and the inlet velocity, use a lattice Boltzmann algorithm to perform flow field calculation on the molten metal in the pouring system and the corresponding area of ​​the ingate, to obtain a flow field velocity of the molten metal at a current moment corresponding to each grid included in the ingate;

[0036] A position calculation unit is used to add particles in each grid of the gate at the current moment, and calculate the positions of all particles at the next moment according to the speed and position of all particles at the current moment; wherein the speed of the particle refers to the speed of the metal liquid flow field at the current moment corresponding to the grid position where the particle is located;

[0037] A judging unit, used for judging whether the metal liquid filling area of ​​the product is filled with the metal liquid;

[0038] A speed calculation unit, for performing flow field calculation on the pouring system and the molten metal in the area corresponding to each of the ingates using a lattice Boltzmann algorithm according to the current moment molten metal flow field velocity corresponding to the pouring system and each of the grids, the parameter information and the inlet velocity, if the molten metal filling area of ​​the product is not filled with the molten metal, so as to obtain the molten metal flow field velocity corresponding to each grid contained in each of the ingates at the next moment;

[0039] an updating unit, for updating the metal liquid flow field velocity at the next moment corresponding to each grid contained in each of the ingates to the metal liquid flow field velocity at the current moment and taking the next moment as the current moment, and returning to execute the adding of particles in each grid of the ingate at the current moment, and calculating the position of the particles at the next moment according to the speed and position of all particles at the current moment, until the metal liquid filling area of ​​the product is filled with the metal liquid;

[0040] The output unit is used to output the positions of the particles at all times if the metal liquid filling area of ​​the product is filled with the metal liquid.

[0041] Optionally, in the above-mentioned calculation device for molten metal tracking, the flow field calculation unit includes:

[0042] An equation setting unit, for setting the lattice Boltzmann equation of each grid in each of the ingates respectively;

[0043] A position acquisition unit, used to acquire each direction of the grid and the corresponding position of the grid in space;

[0044] A solving unit is used to solve the lattice Boltzmann equation based on the parameter information, the inlet velocity, each direction and position of the grid, and obtain the metal liquid flow field velocity corresponding to the grid at the current moment.

[0045] Optionally, in the above-mentioned calculation device for molten metal tracking, it also includes:

[0046] The marking unit is used to mark the position of each of the ingates contained in the metal liquid filling area of ​​the product to obtain an index corresponding to each of the ingates.

[0047] Optionally, in the above-mentioned calculation device for molten metal tracking, the position calculation unit includes:

[0048] A first determination unit is used to assign the index corresponding to the gate to the attribute of the particle for all the particles respectively, and determine the metal liquid flow field velocity corresponding to the grid position of the particle at the current moment as the velocity of the particle, so as to obtain a target particle;

[0049] A difference calculation unit, used to calculate the difference between the next moment and the current moment;

[0050] The calculation unit is used to calculate the position of the particle at the next moment according to the difference, the speed and the position of the target particle.

[0051] Optionally, in the above-mentioned calculation device for molten metal tracking, the judgment unit includes:

[0052] A particle judging unit, used for judging whether each grid included in each of the ingates contains particles according to the positions of the particles at all times;

[0053] A second determination unit is used to determine that the product molten metal filling area is filled with the molten metal if each grid included in each of the ingates contains particles;

[0054] The third determination unit is used to determine that the molten metal filling area of ​​the product is not filled with the molten metal if each grid included in each of the inner gates does not contain the added particles.

[0055] The present application provides a calculation method for molten metal tracking, firstly obtaining a structural model file of high pressure casting, which contains the combination information of the pouring system and the product molten metal filling area, then setting the entrance of the molten metal in the pouring system, and setting the parameters and entrance speed of the molten metal, then finding the positions of all the inner gates in the structural model, and then calculating the molten metal flow field of the pouring system and the product molten metal filling area including each inner gate area based on the lattice Boltzmann algorithm, and obtaining the molten metal flow field velocity of each grid at the current moment, then selecting the inner gate grid and adding particles. According to the speed of the molten metal and the position of the particles, the position of the particles at the next moment is calculated, and then it is determined whether the product molten metal filling area is completely filled with molten metal. If not, the lattice Boltzmann algorithm is continued to be used for flow field calculation, and the molten metal flow field velocity of each grid is updated until the product molten metal filling area is completely filled with molten metal. Finally, the positions of the particles at all moments are output to complete the tracking process. The flow of molten metal during high-pressure casting is simulated through flow field calculation and particle tracking technology to ensure that the product molten metal filling area (cavity product) can be completely filled and output detailed particle movement trajectory. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0057] Figure 1 A schematic diagram of a flow chart of a calculation method for molten metal tracking provided in an embodiment of the present application;

[0058] Figure 2 A schematic structural diagram of a pouring system and a product provided in another embodiment of the present application;

[0059] Figure 3 A schematic flow chart of a method for calculating the velocity of a molten metal flow field provided in another embodiment of the present application;

[0060] Figure 4 A schematic diagram of a structure for solving the velocity of a molten metal provided in another embodiment of the present application;

[0061] Figure 5 A schematic flow chart of a method for calculating a particle position provided in another embodiment of the present application;

[0062] Figure 6 A schematic flow chart of a method for determining whether a metal liquid filling area of ​​a product is full provided in another embodiment of the present application;

[0063] Figure 7 A schematic structural diagram of a metal liquid flow range provided in another embodiment of the present application;

[0064] Figure 8 A schematic diagram of the structure of a computing device for molten metal tracking provided in another embodiment of the present application. DETAILED DESCRIPTION

[0065] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0066] In this application, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0067] The present application embodiment provides a calculation method for molten metal tracking, such as Figure 1 As shown, the specific steps include:

[0068] S101, obtaining a structural model file of high pressure casting.

[0069] It is understandable that in order to accurately calculate the area of ​​molten metal inside the product molten metal filling area and accurately understand the flow of molten metal, the structural model file of high-pressure casting can be first imported into the calculation program of the solver so that the calculation program can calculate the area of ​​molten metal with the help of the structural model file. Among them, high-pressure casting is obtained by combining the pouring system and the product molten metal filling area. The structural model file contains the geometric shape and structural information of the casting.

[0070] S102, setting a molten metal inlet of a product molten metal filling area in a pouring system, and setting parameter information of the molten metal and an inlet velocity of the molten metal at the molten metal inlet.

[0071] Specifically, in the process of high-pressure casting, the design of the pouring system is very important, especially the setting of the molten metal inlet, which is related to the quality of high-pressure castings, surface finish, and control of defects such as pores and cold shuts.

[0072] It should be noted that the molten metal inlet usually refers to the place where the molten metal enters the cavity, also called the gate. It is the channel that introduces the molten metal into the mold cavity through the pouring system (such as runner, distribution channel). The setting of the molten metal inlet needs to consider the geometry of the cavity and the characteristics of the casting to ensure that the molten metal can evenly fill the entire cavity and avoid defects such as voids and pores.

[0073] After setting the metal liquid inlet, it is also necessary to set the parameter information of the metal liquid and the inlet velocity of the metal liquid at the metal liquid inlet. The parameter information of the metal liquid may include the density and viscosity of the metal liquid.

[0074] Viscosity: The viscosity of molten metal affects its fluidity. Especially in high-pressure casting, the viscosity parameters of the molten metal need to be accurately set.

[0075] Density: The density of molten metal is closely related to its temperature and composition. Changes in density will also affect the flow characteristics of the molten metal.

[0076] It should also be noted that the inlet velocity of the molten metal is an important parameter in the high-pressure casting process, which affects the stability of the molten metal flow, the pouring effect and the final quality of the casting.

[0077] Optionally, numerical simulation (such as CFD simulation) can be used to set parameters such as the inlet velocity and viscosity of the molten metal, and calculate and optimize the process of the molten metal entering the mold cavity, thereby ensuring smooth filling of the high-pressure casting during the pouring process, reducing defects and ensuring the mechanical properties of the casting.

[0078] S103. Search the structural model file for locations of all ingates included in the metal liquid filling area of ​​the product.

[0079] It is understandable that in order to optimize the casting process, improve the quality of castings, reduce material waste and improve production efficiency, it is necessary to find the locations of all the gates contained in the product's molten metal filling area in the structural model file in advance, because the location of the gate can directly affect the flow path of the molten metal. A reasonable ingate layout can ensure that the molten metal can fill the cavity smoothly and evenly, thereby reducing defects such as pores, cold shuts, and poor flow.

[0080] Specifically, the search may be performed through CAD software, CAE software or numerical simulation software.

[0081] In the application embodiment, after step S103, the method further includes:

[0082] The position of each ingate contained in the metal liquid filling area of ​​the product is marked to obtain the index corresponding to each ingate.

[0083] It should be noted that in the implementation of this application, after finding the position of each ingate, it is necessary to mark the position of each ingate, and each position is an index, so as to distinguish the molten metal flow of each ingate and the molten metal tracking in the future. Figure 2 The schematic diagram of the gating system and product shown in FIG. Figure 2 The 1, 2, 3, 4, 5, and 6 marked therein are the numbers of each ingates contained in the metal liquid filling area of ​​the product, that is, the index corresponding to each ingates.

[0084] S104, injecting the molten metal into the molten metal inlet, and for each ingate, respectively, based on the parameter information and the inlet velocity, using the lattice Boltzmann algorithm to calculate the flow field of the molten metal in the pouring system and the corresponding area of ​​the ingate, to obtain the molten metal flow field velocity corresponding to each grid contained in the ingate at the current moment.

[0085] It can be understood that after the preparation of the molten metal is completed, the molten metal can be injected into the set molten metal inlet, and then the lattice Boltzmann method is used to calculate the flow field of the molten metal. At this time, the lattice Boltzmann method will regard the inside of the product molten metal filling area as a grid, thereby obtaining the molten metal flow field velocity corresponding to each grid contained in each inner gate at the current moment, that is, the flow velocity of the molten metal at a specific moment in the grid of each inner gate.

[0086] Optionally, in another embodiment of the present application, in step S104, for each ingate, based on the parameter information and the inlet velocity, the lattice Boltzmann algorithm is used to calculate the flow field of the molten metal in the pouring system and the corresponding area of ​​the ingate, and a specific implementation method of obtaining the flow field velocity of the molten metal at the current moment corresponding to each grid included in the ingate is obtained, such as Figure 3 As shown, the following steps are included:

[0087] S301 . For each grid in each ingate, set the lattice Boltzmann equation of the grid.

[0088] Specifically, the expression of the lattice Boltzmann equation is:

[0089]

[0090] Among them, x represents the position of the current grid in space, It represents the step size between the current moment and the next moment in the calculation, t represents the current moment, Represents the grid Direction, is the mass component in each direction, which can be called the mass distribution function according to the usual definition.

[0091] S302: Obtain each direction of the grid and the corresponding position of the grid in space.

[0092] It is understandable that in order to obtain the flow range and flow information of the molten metal, it is necessary to obtain each direction of the grid and the corresponding position of the grid in space. Among them, space refers to two-dimensional space. For details, please refer to Figure 4 The schematic diagram of the structure for solving the velocity of the molten metal is shown in Figure 4 As shown, c0 corresponding to f0 is (0, 0), c1 corresponding to f1 is (1, 0), c2 corresponding to f2 is (-1, 0), c3 corresponding to f3 is (0, 1), and c4 corresponding to f4 is (0, -1).

[0093] S303, based on the parameter information, the inlet velocity, each direction and position of the grid, the lattice Boltzmann equation is solved to obtain the metal liquid flow field velocity corresponding to the grid at the current moment.

[0094] It should be noted that, in the embodiment of the present application, the solution of the lattice Boltzmann equation is described in two-dimensional space. Specifically, the relevant variables include: (i=0, 1, 2, 3, 4), the speed of the molten metal, in the solution process is an unknown quantity, wherein the lattice Boltzmann equation in step S301 is transformed, that is, the solution formula is:

[0095]

[0096] in, Represents the grid direction, substitute the direction and position in step S302 into the solution formula, x represents the position of the current grid in space, represents the step size between the current moment and the next moment in the calculation, and t represents the current moment. Unknown quantity, The calculation expression is:

[0097]

[0098] in, It is related to the density and viscosity of the molten metal. ,in , ρ and μ represent the input metal liquid density and viscosity respectively, where It is calculated from the velocity of the molten metal and the mass of the molten metal in the grid. The solution formula is as follows:

[0099]

[0100] Among them, ω i is the weight. In the five directions 0, 1, 2, 3, and 4, the weight of each direction is different, namely ω0=1 / 3, ω1=ω2=ω3=ω4=1 / 6. In the initial stage of calculation, the speed of the molten metal is known, which is the inlet speed set in step S102. After that, the speed in the molten metal area is determined by The specific solution formula is as follows:

[0101]

[0102] Among them, m is the mass of the molten metal in the current grid, and u is the flow field velocity of the molten metal corresponding to the grid at the current moment.

[0103] S105. At the current moment, add particles to each grid of the inner gate, and calculate the positions of all particles at the next moment according to the speed and position of all particles at the current moment.

[0104] The velocity of the particle refers to the velocity of the molten metal flow field at the current moment corresponding to the grid position where the particle is located, and the position of the particle refers to the grid position where the particle is located.

[0105] It should be noted that in order to effectively track the molten metal, to know the flow of the molten metal, and then to know whether the high-pressure casting is filled with molten metal, in the embodiment of the present application, it is necessary to use a particle tracking algorithm to record the molten metal information passing through each ingates at the current moment, that is, in each time step of the simulation, according to the velocity field of the molten metal flow field at the current moment, select each grid of the ingates. Any grid can represent the flow state of the molten metal at a specific position. Within the grid, the system will add particles to the molten metal, and then calculate the position of the particles at the next moment based on the speed and position of the grid, so that the particles will enter the next simulation cycle. The system will continue to calculate the movement of the particles based on the new position and new velocity field of the particles, and update the interaction between the fluid and the particles.

[0106] Optionally, in another embodiment of the present application, a specific implementation method of calculating the positions of all particles at the next moment according to the speed and position of all particles at the current moment in step S105 is as follows: Figure 5 As shown, the following steps are included:

[0107] S501. For all particles respectively, assign the index corresponding to the gate to the attribute of the particle, and determine the current metal liquid flow field velocity corresponding to the grid position of the particle as the velocity of the particle, so as to obtain the target particle.

[0108] It should be noted that by assigning the index of the ingate grid to the particles and obtaining the corresponding molten metal flow field velocity, the movement of the particles in the molten metal can be accurately simulated, and the molten metal flow condition and molten metal tracking of each ingate can be distinguished by assigning the index.

[0109] S502: Calculate the difference between the next moment and the current moment.

[0110] Specifically, the calculation formula of the difference between the next moment and the current moment is: t2-t1.

[0111] Among them, the current time is t1, the next time is t2, and the next time is set according to the system.

[0112] S503: Calculate the position of the particle at the next moment according to the difference, the speed and the position of the target particle.

[0113] Specifically, given the difference t2-t1, the position is (x1, y1, z1), and the current velocity is (u, v, w), the calculation formula for the particle's position at the next moment is:

[0114] (x1+(t2-t1)*u, y1+(t2-t1)*v, z1+(t2-t1)*w)

[0115] Among them, u is the velocity projection of the particle velocity on the x-axis, v is the velocity projection of the particle velocity on the y-axis, and w is the velocity projection of the particle velocity on the z-axis.

[0116] S106, determining whether the product molten metal filling area is filled with molten metal.

[0117] It should be noted that when obtaining the position of the particle at the next moment, it is necessary to determine whether the product metal liquid filling area is filled with metal liquid to avoid continuing to track the flow of metal liquid, thereby failing to know the flow of metal liquid. Therefore, if the product metal liquid filling area is filled with metal liquid, step S109 is executed. If the product metal liquid filling area is not filled with metal liquid, step S107 is executed.

[0118] Alternatively, the determination can be made by the number of grids. Assuming that the grid of the product is 10,000 grid units, count the number of liquid units in the product. If the number is close to 10,000, the product is considered full. (Note: How to define close, for example, if the number of liquid units is 9990, 9990 / 10000=0.999, it can be considered close. This standard can be based on experience).

[0119] Optionally, in another embodiment of the present application, a specific implementation of step S106 is as follows: Figure 6As shown, the following steps are included:

[0120] S601. According to the positions of particles at all times, determine whether each grid included in each ingate contains particles.

[0121] Specifically, whether the product molten metal filling area is filled with molten metal can be determined based on whether each grid included in the product molten metal filling area contains particles, so as to determine whether each grid included in each ingate contains particles. If each grid included in each ingate contains particles, step S602 is executed. If each grid included in each ingate does not contain added particles, step S603 is executed.

[0122] S602, determine whether the product molten metal filling area is filled with molten metal.

[0123] S603, determine that the product molten metal filling area is not filled with molten metal.

[0124] It is understandable that if each grid contained in each inner gate does not contain added particles, it is necessary to continue to predict the position of the particles at the next moment.

[0125] S107. According to the current metal liquid flow field velocity, parameter information and inlet velocity corresponding to the pouring system and each grid, the lattice Boltzmann algorithm is used to calculate the flow field of the metal liquid in the pouring system and the corresponding area of ​​each ingate, and the metal liquid flow field velocity at the next moment corresponding to each grid contained in each ingate is obtained.

[0126] It should be noted that if the metal filling area of ​​the product is not filled with metal liquid, it is necessary to calculate the metal liquid flow field velocity at the next moment according to the metal liquid flow field velocity at the current moment corresponding to each grid contained in each inner gate obtained in step S104. The specific calculation process can be referred to steps S301 to S303 in the above method embodiment, which will not be repeated here. It should be emphasized that in solving the unknown quantity In the process, you need to The next step is to solve the metal liquid flow field velocity and the speed according to step S104. Solve it to get .

[0127] S108, updating the metal liquid flow field velocity at the next moment corresponding to each grid included in each inner gate to the metal liquid flow field velocity at the current moment and taking the next moment as the current moment.

[0128] It should be noted that after obtaining the molten metal flow field velocity at the next moment, it is necessary to update the molten metal flow field velocity at the next moment corresponding to each grid contained in each inner gate to the molten metal flow field velocity at the current moment and take the next moment as the current moment to avoid subsequent repeated judgments on the molten metal at the current moment, thereby affecting the tracking of the molten metal at the next moment, and it is also necessary to return to execute step 105 until the product molten metal filling area is filled with molten metal.

[0129] S109, output the positions of particles at all times.

[0130] Specifically, when the metal filling area of ​​the product is filled with molten metal, it is necessary to output the position of the particles at all times, that is, to display the particle information of each ingate, so that the final flow range of the molten metal flowing out of each ingate can be obtained. For details, please refer to Figure 7 The schematic diagram of the structure of the metal liquid flow range is shown in FIG. Figure 7 The 1, 2, 3, 4, 5, and 6 marked therein are the numbers of each ingates contained in the metal liquid filling area of ​​the product, that is, the index corresponding to each ingates.

[0131] The present application provides a calculation method for molten metal tracking, firstly obtains the structural model file of high pressure casting, which contains the combination information of the pouring system and the product molten metal filling area, then sets the entrance of the molten metal in the pouring system, and sets the parameters and entrance speed of the molten metal, then finds the position of all the gates in the structural model, and then calculates the molten metal flow field of the pouring system and the product molten metal filling area including each gate area based on the lattice Boltzmann algorithm, obtains the molten metal flow field velocity of each grid at the current moment, then selects the grid of the gate, and adds particles. According to the speed of the molten metal and the position of the particles, the position of the particles at the next moment is calculated, and then it is judged whether the product molten metal filling area is completely filled with molten metal. If not, the lattice Boltzmann algorithm is continued to be used for flow field calculation, and the molten metal flow field velocity of each grid is updated until the product molten metal filling area is completely filled with molten metal. Finally, the position of the particles at all moments is output to complete the tracking process. Thus, the flow of molten metal in the high pressure casting process is simulated by flow field calculation and particle tracking technology, ensuring that the product molten metal filling area can be completely filled, and outputting detailed particle motion trajectory.

[0132] Another embodiment of the present application provides a computing device for tracing molten metal, such as Figure 8 As shown, it includes the following units:

[0133] The file acquisition unit 801 is used to acquire the structural model file of high pressure casting, wherein the high pressure casting is obtained by combining the pouring system and the product metal liquid filling area.

[0134] The setting unit 802 is used to set the molten metal inlet of the product molten metal filling area in the pouring system, and set the parameter information of the molten metal and the inlet speed of the molten metal at the molten metal inlet.

[0135] The search unit 803 is used to search the locations of all the ingates included in the metal liquid filling area of ​​the product in the structure model file.

[0136] The flow field calculation unit 804 is used to inject the molten metal into the molten metal inlet, and for each ingate, based on the parameter information and the inlet velocity, use the lattice Boltzmann algorithm to perform flow field calculation on the molten metal in the pouring system and the corresponding area of ​​the ingate, and obtain the current moment of the molten metal flow field velocity corresponding to each grid contained in the ingate.

[0137] The position calculation unit 805 is used to add particles to each grid of the gate at the current moment, and calculate the positions of all particles at the next moment according to the speed and position of all particles at the current moment. The speed of the particle refers to the speed of the metal liquid flow field at the current moment corresponding to the grid position where the particle is located.

[0138] The judging unit 806 is used to judge whether the product molten metal filling area is filled with molten metal.

[0139] The speed calculation unit 807 is used to calculate the flow field of the molten metal in the pouring system and each ingate corresponding area using the lattice Boltzmann algorithm if the molten metal filling area of ​​the product is not filled with molten metal, based on the molten metal flow field velocity, parameter information and inlet velocity corresponding to the pouring system and each grid at the current moment, to obtain the molten metal flow field velocity corresponding to each grid contained in each ingate at the next moment.

[0140] The updating unit 808 is used to update the metal liquid flow field velocity at the next moment corresponding to each grid contained in each inner gate to the metal liquid flow field velocity at the current moment and take the next moment as the current moment, and return to execute at the current moment, add particles to each grid of the inner gate, and calculate the position of the particles at the next moment according to the speed and position of all particles at the current moment, until the product metal liquid filling area is filled with metal liquid.

[0141] The output unit 809 is used to output the positions of the particles at all times if the product molten metal filling area is filled with molten metal.

[0142] It should be noted that the specific working process of the above modules in the embodiment of the present application can refer to steps S101 to S109 in the above method embodiment, which will not be repeated here.

[0143] Optionally, in a calculation device for molten metal tracking provided in another embodiment of the present application, the flow field calculation unit 804 includes:

[0144] The equation setting unit is used to set the lattice Boltzmann equation of each grid in each ingate respectively.

[0145] The position acquisition unit is used to acquire each direction of the grid and the corresponding position of the grid in space.

[0146] The solving unit is used to solve the lattice Boltzmann equation based on parameter information, inlet velocity, each direction and position of the grid, and obtain the metal liquid flow field velocity corresponding to the grid at the current moment.

[0147] Optionally, a computing device for molten metal tracking provided in another embodiment of the present application further includes:

[0148] The marking unit is used to mark the position of each ingate contained in the metal liquid filling area of ​​the product to obtain the index corresponding to each ingate.

[0149] Optionally, in a calculation device for molten metal tracking provided by another embodiment of the present application, the position calculation unit 805 includes:

[0150] The first determination unit is used to assign the index corresponding to the gate to the attribute of the particle for all particles respectively, and determine the metal liquid flow field velocity corresponding to the grid position of the particle at the current moment as the velocity of the particle to obtain the target particle.

[0151] The difference calculation unit is used to calculate the difference between the next moment and the current moment.

[0152] The calculation unit is used to calculate the position of the particle at the next moment according to the difference, the speed and the position of the target particle.

[0153] Optionally, in a computing device for molten metal tracking provided in another embodiment of the present application, the judgment unit 806 includes:

[0154] The particle judgment unit is used to judge whether each grid included in each gate contains particles according to the positions of particles at all times.

[0155] The second determining unit is used to determine that the product molten metal filling area is filled with molten metal if each grid included in each ingate contains particles.

[0156] The third determination unit is used to determine that the product molten metal filling area is not filled with molten metal if each grid included in each ingate does not contain added particles.

[0157] It should be noted that the specific working process of each module provided in the above embodiments of the present application can refer to the corresponding steps in the above method embodiments, which will not be repeated here.

[0158] It should also be noted that the computing device for molten metal tracking provided in the embodiment of the present application has the technical effects of any of the above embodiments, and the embodiments of the present application are not described in detail here.

[0159] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0160] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A calculation method for molten metal tracking, characterized in that: include: Acquire a structural model file of high pressure casting; wherein the high pressure casting is obtained by combining a pouring system and a product metal liquid filling area; Setting a molten metal inlet of the molten metal filling area of ​​the product in the pouring system, and setting parameter information of the molten metal and an inlet velocity of the molten metal at the molten metal inlet; Searching the locations of all the ingates contained in the metal liquid filling area of ​​the product in the structural model file; The molten metal is injected into the molten metal inlet, and for each of the ingates, based on the parameter information and the inlet velocity, a lattice Boltzmann algorithm is used to calculate the flow field of the molten metal in the pouring system and the corresponding area of ​​the ingate, so as to obtain the flow field velocity of the molten metal at the current moment corresponding to each grid included in the ingate; At the current moment, particles are added to each grid of the ingate, and the positions of all particles at the next moment are calculated according to the speeds and positions of all particles at the current moment; wherein the speed of the particle refers to the speed of the molten metal flow field at the current moment corresponding to the grid position where the particle is located; Determining whether the product molten metal filling area is filled with the molten metal; If the molten metal filling area of ​​the product is not filled with the molten metal, the lattice Boltzmann algorithm is used to calculate the flow field of the molten metal in the pouring system and the corresponding area of ​​each of the ingates according to the molten metal flow field velocity at the current moment corresponding to the pouring system and each of the grids, the parameter information and the inlet velocity, to obtain the molten metal flow field velocity at the next moment corresponding to each of the grids contained in each of the ingates; The metal liquid flow field velocity at the next moment corresponding to each grid contained in each of the ingates is updated to the metal liquid flow field velocity at the current moment, and the next moment is taken as the current moment, and the step of adding particles to each grid of the ingate at the current moment is returned to be executed, and the positions of all particles at the next moment are calculated according to the speed and position of all particles at the current moment, until the metal liquid filling area of ​​the product is filled with the metal liquid; If the product molten metal filling area is filled with the molten metal, the positions of the particles at all times are output.

2. The method according to claim 1, characterized in that For each of the ingates, based on the parameter information and the inlet velocity, the lattice Boltzmann algorithm is used to calculate the flow field of the molten metal in the pouring system and the corresponding area of ​​the ingate, and the current moment flow field velocity of the molten metal corresponding to each grid included in the ingate is obtained, including: For each grid in each of the ingates, respectively, a lattice Boltzmann equation of the grid is set; Obtain each direction of the grid and the corresponding position of the grid in space; Based on the parameter information, the inlet velocity, each direction and position of the grid, the lattice Boltzmann equation is solved to obtain the metal liquid flow field velocity corresponding to the grid at the current moment.

3. The method according to claim 1, characterized in that After searching the structure model file for the positions of all the ingates contained in the metal liquid filling area of ​​the product, the method further includes: The position of each of the ingates contained in the molten metal filling area of ​​the product is marked to obtain an index corresponding to each of the ingates.

4. The method according to claim 3, characterized in that The calculating the positions of all particles at the next moment according to the speeds and positions of all particles at the current moment includes: For all the particles, the index corresponding to the ingate is assigned to the attribute of the particle, and the velocity of the molten metal flow field corresponding to the grid position of the particle at the current moment is determined as the velocity of the particle, so as to obtain the target particle; Calculate the difference between the next moment and the current moment; The position of the particle at the next moment is calculated according to the difference, the speed and the position of the target particle.

5. The method according to claim 1, characterized in that The determining whether the product molten metal filling area is filled with the molten metal comprises: According to the positions of particles at all times, determining whether each grid included in each of the ingates contains particles; If each grid contained in each of the ingates contains particles, it is determined that the molten metal filling area of ​​the product is filled with the molten metal; If each grid included in each of the ingates does not contain added particles, it is determined that the molten metal filling area of ​​the product is not filled with the molten metal.

6. A calculation device for molten metal tracking, characterized in that: include: A file acquisition unit, used to acquire a structural model file of high-pressure casting; wherein the high-pressure casting is obtained by combining a pouring system and a product metal liquid filling area; A setting unit, used to set a molten metal inlet of the molten metal filling area of ​​the product in the pouring system, and set parameter information of the molten metal and an inlet speed of the molten metal at the molten metal inlet; A search unit, used for searching the locations of all the ingates included in the metal liquid filling area of ​​the product in the structural model file; a flow field calculation unit, configured to inject the molten metal into the molten metal inlet, and for each of the ingates, respectively, based on the parameter information and the inlet velocity, use a lattice Boltzmann algorithm to perform flow field calculation on the molten metal in the pouring system and the corresponding area of ​​the ingate, to obtain a flow field velocity of the molten metal at a current moment corresponding to each grid included in the ingate; A position calculation unit is used to add particles in each grid of the gate at the current moment, and calculate the positions of all particles at the next moment according to the speed and position of all particles at the current moment; wherein the speed of the particle refers to the speed of the metal liquid flow field at the current moment corresponding to the grid position where the particle is located; A judging unit, used for judging whether the metal liquid filling area of ​​the product is filled with the metal liquid; A speed calculation unit, for performing flow field calculation on the pouring system and the molten metal in the area corresponding to each of the ingates using a lattice Boltzmann algorithm according to the current moment molten metal flow field velocity corresponding to the pouring system and each of the grids, the parameter information and the inlet velocity, if the molten metal filling area of ​​the product is not filled with the molten metal, so as to obtain the molten metal flow field velocity corresponding to each grid contained in each of the ingates at the next moment; an updating unit, for updating the metal liquid flow field velocity at the next moment corresponding to each grid contained in each of the ingates to the metal liquid flow field velocity at the current moment and taking the next moment as the current moment, and returning to execute the adding of particles in each grid of the ingate at the current moment, and calculating the position of the particles at the next moment according to the speed and position of all particles at the current moment, until the metal liquid filling area of ​​the product is filled with the metal liquid; The output unit is used to output the positions of the particles at all times if the metal liquid filling area of ​​the product is filled with the metal liquid.

7. The device according to claim 6, characterized in that The flow field calculation unit comprises: An equation setting unit, for setting the lattice Boltzmann equation of each grid in each of the ingates respectively; A position acquisition unit, used to acquire each direction of the grid and the corresponding position of the grid in space; A solving unit is used to solve the lattice Boltzmann equation based on the parameter information, the inlet velocity, each direction and position of the grid, and obtain the metal liquid flow field velocity corresponding to the grid at the current moment.

8. The device according to claim 6, characterized in that Also includes: The marking unit is used to mark the position of each of the ingates contained in the metal liquid filling area of ​​the product to obtain an index corresponding to each of the ingates.

9. The device according to claim 8, characterized in that The position calculation unit comprises: A first determination unit is used to assign the index corresponding to the gate to the attribute of the particle for all the particles respectively, and determine the metal liquid flow field velocity corresponding to the grid position of the particle at the current moment as the velocity of the particle, so as to obtain a target particle; A difference calculation unit, used to calculate the difference between the next moment and the current moment; The calculation unit is used to calculate the position of the particle at the next moment according to the difference, the speed and the position of the target particle.

10. The device according to claim 6, characterized in that The judging unit comprises: A particle judging unit, used for judging whether each grid included in each of the ingates contains particles according to the positions of the particles at all times; A second determination unit is used to determine that the product molten metal filling area is filled with the molten metal if each grid included in each of the ingates contains particles; The third determination unit is used to determine that the molten metal filling area of ​​the product is not filled with the molten metal if each grid included in each of the inner gates does not contain the added particles.

Citation Information

Patent Citations

  • Prediction method for dendritic crystal movement in molten steel

    CN109817284A

  • Buried pipeline CFD calculation method and device based on lattice Boltzmann and medium

    CN118607146A