A collision detection and merging method for parallel simulation of multi-dendrite motion using phase field method
Through the collision detection and merging method in parallel simulation technology, the problem of merging and overlapping when dendrites move close to each other during translation and rotation in the liquid phase is solved, achieving true reproduction of multi-dendrite motion and improving simulation efficiency.
Patent Information
- Application Number
- CN202110273592.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-12
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-03-12
AI Technical Summary
In the process of simulating the translation and rotation of multiple dendrites in the liquid phase, existing technology is difficult to effectively handle the merger and overlap problems when dendrites are close to each other, resulting in distortion of the simulation results.
A collision detection and merging method for parallel simulation of multi-dendrite motion phase field method is proposed. It searches for overlapping solid phases node by node through multiple processes, filters the overlap within collided solid particles, and detects the overlap of multiple solid particles at different nodes. , filter the collisions of the same solid-phase particles in parallel calculations, and merge the colliding solid-phase particles to ensure momentum conservation.
Effectively detect and process dendrite collisions and mergers, reduce redundant operations, improve simulation efficiency, and ensure the authenticity and accuracy of simulation results.
Smart Images

Figure CN113283048B
Abstract
Description
Technical Field
[0001] The present invention proposes a collision detection and merging method for parallel simulation of multi-dendrite motion using a phase field method, which belongs to the field of microstructure simulation, is suitable for phase field simulation of multi-dendrite growth processes of binary single-phase alloys, and is suitable for using the phase field method to simulate the translational and rotational motion of dendrites in flowing liquid metal. Background Art
[0002] The simulation methods of microstructure in the solidification process have gone through the development process of deterministic methods, stochastic methods and direct simulation methods. Stochastic methods include Monte Carlo method, cellular automaton method, etc.; direct simulation methods include level set method and phase field method, etc. Compared with other methods, the phase field method can effectively avoid complex phase interface tracking, couple the macroscopic and microscopic physical fields in the solidification process, quantitatively analyze the curvature effect and dynamic effect of the solid-liquid interface, and reproduce the subgrain details inside the grain, thus becoming the mainstream method for predicting the evolution of microstructure.
[0003] The phase field simulation technology of single-phase binary alloys has gradually matured. Among them, a widely used phase field model is the QPF (Quantitative phase field) model proposed by Karma et al. This model uses the order parameter Φ to characterize the solid, liquid phase and interface. In the entire calculation domain, the area where Φ=1 is the solid phase, the area where Φ=-1 is the liquid phase, and the area between -1 and 1 is the interface. Through thin interface analysis, this model allows the interface layer width to be selected to be greater than the actual interface thickness of the metal material to improve the simulation efficiency. The solute trapping phenomenon caused by increasing the interface thickness is overcome by introducing the anti-solute retention term. Using the QPF model to simulate single crystal growth can achieve good results, but the actual metal solidification is often a process in which many dendrites nucleate and grow simultaneously. Based on this, some scholars have proposed a multi-phase field model based on the single order parameter QPF model. This model introduces N order parameters Φ. n Characterize different grains. In the entire calculation domain, Φ n = 1 is the solid phase of the nth grain, Φ n The area where all values are -1 is the liquid phase, Φ nThe region between -1 and 1 is the interface, including the solid-liquid interface and the solid-solid interface; at the solid-solid interface, the model reproduces the interaction between grains during solidification through an interaction energy term, and can predict the nucleation and growth of multiple dendrites in liquid metal, as well as the interaction of the solid-solid interface when the dendrites grow close to each other. At the same time, some scholars have found that during the growth of dendrites, the flow in the liquid metal has a significant effect on the growth of dendrites. The classic conclusion is that the growth of dendrites growing in liquid metal with natural convection will be promoted on the upstream side and inhibited on the dorsoventral side. Based on this, some scholars proposed a phase field model of coupled fluid flow based on the single-order parameter QPF model. This model can reproduce the asymmetric growth of dendrites under natural convection or forced convection. Compared with the model of uncoupled fluid flow, it can simulate dendrite growth more realistically. However, this model can only simulate the static growth process of dendrites in convective fluids, while actual dendrites will experience solid-phase motion in fluids with flow velocity or under the action of gravity, that is, fluid flushing or gravity will cause dendrites to translate or rotate in the liquid phase. Based on this, some scholars proposed a phase field model coupled with dendrite motion based on the phase field model coupled with fluid flow, and further combined it with the multiphase field model to obtain a thin interface quantitative multiphase field model that couples fluid flow and solid-phase motion. This model can reproduce the nucleation, asymmetric growth, translation, and rotation of multiple dendrites during the solidification of liquid metals.
[0004] However, when simulating the translation and rotation of multiple dendrites in the liquid phase, special treatment is required when the dendrites are close to each other. This treatment needs to consider two aspects: on the one hand, since the nucleation and growth of dendrites in the metal melt is in the form of non-small planes, it is manifested as a smooth interface on the macroscopic scale and a rough interface on the atomic scale. When the dendrites are close to each other, their rough interfaces on the atomic scale will fit each other, and the atoms will combine to form a connection. When the number of connections reaches a certain level, the bonding force also reaches the threshold for the dendrites to merge. The dendrites that are close to each other will form a whole and continue to move in the liquid metal in the form of merged solid phase particles. This solid phase particle is composed of two or more dendrites. Therefore, the first consideration of special treatment is based on the physical background, and it is necessary to consider the merging of dendrites when they are close to each other. On the other hand, since dendrites that grow in the liquid phase and move in the solid phase approach each other, each has a translation and rotation speed. At the moment of their contact, if they are allowed to continue to move, the subsequent simulation results will show excessive dendrite overlap, while there is no excessive overlap when dendrites grow in the real solidification process. Therefore, the second consideration for special processing is based on the simulation background. It is necessary to detect and process the moment when the dendrites approach and begin to overlap in time to obtain reasonable simulation results.
[0005] In summary, in order to approach the real solidification process, a thin interface quantitative multiphase field model that couples fluid flow and solid phase motion is needed to simulate the nucleation, asymmetric growth, translation, and rotation of multiple dendrites. In this simulation technology, dendrites that are close to each other need to be specially treated. One of the methods widely used by scholars at home and abroad is to assume that the collision after the dendrites approach each other is an inelastic collision, that is, the influence of the collision force on the dendrite is ignored, but the momentum conservation is satisfied; after the collision, the dendrites merge into a solid phase particle, and the solid phase particle continues to grow in the liquid phase and perform solid phase motion. Summary of the invention
[0006] In response to the special treatment of multiple dendrites close to each other described in the background technology, the present invention proposes a collision detection and merging method. The basic process is: when the phase field value of two or more grains at a certain node exceeds a certain threshold at a certain moment, it is judged to be overlapping. The overlap that occurs will further determine whether the conditions for collision between dendrites are met. If so, collision and merging operations are performed.
[0007] The specific process of the collision detection and merging method proposed in the present invention is as follows, comprising the following steps:
[0008] Step 1: Multiple processes search for overlapping solid phases node by node;
[0009] Step 2: Filter the overlap inside the collided solid phase particles;
[0010] Step 3: Filter the overlap of multiple solid particles at different nodes;
[0011] Step 4: Multi-process collision detection and information transmission;
[0012] Step 5: Filter the collisions of the same solid phase particles in different CPUs;
[0013] Step 6: Merge the collided solid particles;
[0014] ● In step 1, multiple processes search for overlapping solid phases node by node, and all processes search for the number of solid phase particles whose phase field values exceed the specified threshold node by node in their respective computational domains; an integer variable 1 is set to store this number. If the number is greater than 1, the current node is determined to be a solid phase particle overlap point, and the numbers of all overlapping solid phase particles are recorded; at the beginning of the simulation, each solid phase particle does not overlap with each other, and the number of order parameters contained in each solid phase particle is 1. The number of solid phase particles is the number of order parameters, and the number of each solid phase particle is named after the number of the order parameter; each node resets the integer variable 1 to 0 before searching for overlapping solid phases; the phase field threshold is generally selected between -1 and 0;
[0015] ● In step 2, the overlap inside the collided solid phase particles is filtered. Each process starts this filtering when searching for overlapping solid phases to improve efficiency. When searching for overlapping solid phases in a node-by-node manner, the overlap inside the collided solid phase particles will also be detected in subsequent time steps. This overlapping filtering method is to set a logical variable 1 for all existing solid phase particles. In the process of searching for overlapping solid phases node by node, when the order parameter of a solid phase particle at a certain node exceeds the phase field threshold, the logical variable 1 of the solid phase particle is set to TRUE; the judgment of the logical variable 1 is set again in the outer layer of the phase field threshold judgment, and the phase field threshold judgment is performed only when the logical variable 1 is FALSE; the meaning of the logical variable 1 is whether a solid phase particle has been detected as an overlapping solid phase, and the value of TRUE represents yes, and the value of FALSE represents no; each node assigns the logical variable 1 of all solid phase particles to FALSE before searching for overlapping solid phases.
[0016] ● In step 3, the overlap of multiple solid phase particles at different nodes is filtered. Each process starts this filtering when searching for overlapping solid phases to improve efficiency. Whether two or more solid phase particles overlap can be determined as long as one node overlaps. When searching for overlapping solid phases node by node, the overlap of solid phase particles at different nodes will be detected. Figure 1 As shown. The filtering method for redundant overlapping points is to set up a logical variable 2 and an integer variable 2 for all existing solid phase particles. In the process of searching for overlapping solid phases node by node, when the order parameter of a solid phase particle at a certain node exceeds the phase field threshold, if the logical variable 2 of the solid phase particle is TRUE, the integer variable 2 is accumulated; after each node searches for overlapping solid phases, the integer variables 1 and 2 are compared. If the two are equal, the integer variable 1 is reset to 0; after the comparison of the integer variables 1 and 2 is completed, it is determined whether the value of the integer variable 1 is greater than 1. If it is greater than 1, the detected Solid phase overlap is judged as particle collision, and the logical variable 2 of all solid phase particles constituting the collision is set to TRUE; the meaning of logical variable 2 is whether a certain solid phase particle has been detected as a collision particle, and the value of TRUE represents yes, and the value of FALSE represents no; at each moment, before starting to search for collision points node by node, the logical variables 2 of all existing solid phase particles are all assigned the value of FALSE; the meaning of integer variable 2 is the number of solid phases that have been detected as overlapping at a certain node and have been marked as collision particles; each node resets integer variable 2 to 0 before searching for overlapping solid phases.
[0017] ●Among them, in step 4, multi-process collision detection and information storage, an integer variable 3 is set in each process. After each node finishes searching for overlapping solid phases, if the value of integer variable 1 is greater than 1, the integer variable 3 is accumulated, and the numbers and total number of all overlapping solid phase particles are transferred. The meaning of integer variable 3 is the number of collisions in the calculation domain allocated to each CPU at a certain moment. At each moment, the integer variable 3 is reset to 0 before starting to search for collision points node by node.
[0018] ● In step 5, the collisions between the same solid phase particles in different CPUs are filtered out. After all CPUs complete the overlapping solid phase search in their respective computational domains, the collision times in all CPUs and the numbers and total numbers of the solid phase particles involved in all collisions are collected into the root process. Since the region division during parallel computing may cross the interior of the grains, the computational domains assigned to some CPUs may contain the same solid phase particles. When these CPUs perform overlapping solid phase search and collision detection, they may record the collisions of the same grains, resulting in the possibility that the collision information collected into the root process is repeated, such as Figure 2 As shown. The method of filtering such identical collisions is to set up a logical variable 3 for all the collected collisions, traverse all the collisions in the root process in the storage order, and determine whether each collision is the same as the subsequent collision; the judgment standard for two identical collisions is to have the same overlapping solid phase number and total number; if the same, the logical variable 3 of the current collision is assigned to TRUE; the judgment of the logical variable 3 is set up again in the outer layer of the identical collision comparison, and the collision comparison is performed only when the logical variable 3 is FALSE; after all collision duplication checks are completed, the collision information is transferred according to the logical variable 3, and only the information of the collisions with the logical variable 3 being FALSE is stored, including the number and total number of the overlapping solid phase particles, so that all collisions that do not overlap in all CPUs can be obtained; the meaning of the logical variable 3 is whether the current collision has been detected as an overlapping solid phase, and the value of TRUE represents yes, and the value of FALSE represents no; at each moment, when all collision information is collected, the logical variable 3 of all collisions is reset to FALSE.
[0019] ●In which, the solid phase particles that collided in step 6 are merged, and the mass, center of mass, translation speed, rotation speed, and moment of inertia of each overlapping solid phase particle in each collision are stored in the root process; then the translation and rotation speed of the merged dendrite are calculated using the following formula, and the momentum of the solid phase particles before and after the merger is conserved; the merged solid phase particles are numbered as the number of the first overlapping solid phase particle in the current collision, and the order parameters contained in the subsequent overlapping solid phase particles are summarized into the merged solid phase particles; then, through the sequential traversal method, starting from the second solid phase particle in the current collision, the solid phase particles that follow it are moved forward one position, and the total number of solid phase particles is reduced by one each time it is moved forward; each time it is moved forward, the corresponding translation, rotation speed and other information need to be moved forward together. Translation speed calculation:
[0020]
[0021] Rotation speed calculation:
[0022]
[0023] Where: U tr Represents the translational velocity, which is a vector; ω ro represents the rotation speed, which is a vector; I represents the moment of inertia of the solid particles around the center of mass, which is a vector; C represents the center of mass of the solid particles, which is a vector; the superscript a represents the solid particles before merging, the superscript b represents the merged solid particles, and n represents the total number of solid particles involved in a certain collision.
[0024] The beneficial effects of the present invention are as follows: the proposed collision detection and merging method can effectively detect the overlap of solid phase particles that have collided at different times, the overlap of multiple solid phase particles at different nodes at the same time, and the collision between the same solid phase particles detected in different CPUs during parallel calculation, and can effectively filter these overlaps or collisions, thereby reducing redundant calculations during collision and merging processing and improving simulation efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 Schematic diagram of multiple solid particles overlapping at different nodes
[0026] Figure 2 Schematic diagram of collision between the same solid phase particles in different CPUs
[0027] Figure 3 Overall workflow for simulating multi-dendrite growth, translation, and rotation in a square cavity flow
[0028] Figure 4 Parallel calculation results of the growth of 2 columnar crystals and 4 equiaxed crystals in aluminum-copper alloy under square cavity flow DETAILED DESCRIPTION
[0029] According to the collision detection and merging method proposed in this invention, parallel calculations were performed on the square cavity flow calculation domain with two columnar crystals and four equiaxed crystals. The overall process of the whole simulation is as follows: Figure 3 As shown, the specific steps are as follows.
[0030] Step 1: Initialization of phase field and flow field, including the assignment of various physical parameters, phase field parameters and flow field parameters. The aluminum-copper alloy is taken as the simulation object, and the values of various parameters are shown in Table 1.
[0031] Table 1 Initialization parameter assignment
[0032]
[0033] Step 2: Use MPI parallelism to simulate the entire computing domain and submit the calculation in a supercomputer platform with 256G memory, 2MHz main frequency, and 64 parallel cores.
[0034] Step 3: The entire computational domain is set to 512×512, and the number of order parameters is 6, including 2 columnar crystals and 4 equiaxed crystals. The equiaxed crystals are nucleated sequentially, forming a random circular nucleus every 10,000 time steps, and the nucleation radius is 12 spatial steps; the flow boundary in the liquid phase region is driven by the top cover, the inlet is located at the top, and the inlet velocity is the tangential velocity in the X direction; the circular nucleus grows, translates and rotates in the liquid phase driven by the top cover, and the cooling rate is 10℃ / s.
[0035] Step 3: Using the collision detection and merging method proposed in this patent, all dendrites in the entire computational domain are collided and merged at each moment. The specific process is as follows:
[0036] (1) Establish four overlapping solid phases based on the equiaxed crystal order parameter, name each solid phase particle with the number of the order parameter, and set up an array to store the parameter number corresponding to the order
[0037] (2) Setting the phase field threshold to -0.9, searching for overlapping solid phases node by node in each process, setting an integer variable 1 to record the number of overlapping solid phase particles; setting an array to store the numbers of all overlapping solid phase particles;
[0038] (3) A logical variable 1 is set for all current solid phase particles and initialized to FALSE; when a solid phase particle is detected as an overlapping solid phase, its value is assigned to TRUE; another judgment is set up in the outer layer of the phase field threshold judgment, and the phase field threshold judgment is performed only when the solid phase particle is detected as a non-overlapping solid phase;
[0039] (4) For all current solid particles, a logical variable 2 and an integer variable 2 are set and initialized to FALSE and 0 respectively. When a solid particle is detected as a collision particle, the integer variable 2 is accumulated; then the integer variables 1 and 2 are compared. If the two are equal, the integer variable 1 is reset to 0; after the comparison of the integer variables 1 and 2 is completed, it is determined whether the value of the integer variable 1 is greater than 1. If it is greater than 1, the logical variables 2 of all the solid particles constituting the collision are set to TRUE;
[0040] (5) In each process, an integer variable 3 is set and initialized to 0. After each node finishes searching for overlapping solid phases, if the value of the integer variable 1 is greater than 1, the integer variable 3 is accumulated, and the numbers and total number of all overlapping solid phase particles are transferred and stored;
[0041] (6) Collect the number of collisions in all CPUs, and the numbers and total number of solid phase particles involved in all collisions into the root process; and set up a logical variable 3 for all collected collisions, initialized to FALSE. In the root process, determine whether each collision is the same as the subsequent collision; if they are the same, assign the logical variable 3 of the current collision to TRUE;
[0042] (7) After all the collisions are completed, the collisions in which the logic variable 3 is FALSE are stored, and all collisions that do not overlap each other in all CPUs are obtained;
[0043] (8) storing the mass, center of mass, translational velocity, rotational velocity, and moment of inertia of each overlapping solid phase particle in each non-heavy collision in the root process;
[0044] (9) calculating the translation and rotation speeds of the merged dendrite; naming the merged solid phase particle with the number of the first overlapping solid phase particle, and summarizing the order parameters contained in the subsequent overlapping solid phase particles into the merged solid phase particle;
[0045] (10) Starting from the second solid phase particle, the solid phase particles behind it are moved forward by one position, and the total number of solid phase particles is reduced by one each time they are moved forward; each time the movement is made forward, the corresponding information such as the translation and rotation speed needs to be moved forward together.
[0046] Step 4: Perform flow field calculation to obtain the fluid flow rate in the liquid phase; and calculate the mass, center of mass, moment of inertia, translational velocity, and rotational velocity of each solid phase particle. Then calculate the solid phase velocity of each dendrite based on the translational velocity and rotational velocity.
[0047] Step 5: Perform phase field calculation and couple the dendrite motion into the phase field through the solid phase velocity.
[0048] Step 6: Perform solute field calculations and couple the fluid flow to the solute field through the fluid flow velocity.
[0049] Step 7: Output the results. Figure 4The growth and movement states of four equiaxed crystals in the liquid phase at different times are shown. It can be seen from the figure that the four equiaxed crystals are nucleated at step 0, step 10,000, step 20,000 and step 30,000 respectively; the equiaxed crystals grow, translate and rotate in the liquid phase after nucleation, which can be seen by comparing the results of steps 30,000, 60,000 and 90,000. The grain size increases significantly from step 30,000 to step 90,000, and four-axis anisotropic growth occurs; and all grains translate to the right and rotate at the top cover driving speed in the right direction. The rotation phenomenon can be seen by comparing the changes in the anisotropy axis. At step 90,000, grains 1 and 3 collide and merge; from step 90,000 to step 120,000, the merged solid phase particles continue to move and rotate in the liquid phase; since the grains have moved to the end angle position driven by the top cover at this time, the merged solid phase particles 1+3 mainly rotate around their center of mass, and the rotation angle is about 90° from step 90,000 to step 120,000. There is no excessive overlap between the collision and merger of grains 1 and 3, indicating that the results of the collision and merger are reasonable.
[0050] Through trial calculation results, it can be found that the collision detection and merging method of parallel simulation of multi-dendrite motion phase field method proposed in the present invention can assist the quantitative multiphase field model of thin interface that couples fluid flow and solid phase motion, and truly reproduce the asymmetric growth, translation, rotation and merging of multiple dendrites in a liquid phase with flow characteristics.
[0051] The protection scope of the present invention includes but is not limited to the above embodiments. The protection scope of the present invention shall be based on the claims. Any replacement, deformation, and improvement of the present technology that can be easily thought of by those skilled in the art shall fall within the protection scope of the present invention.
Claims
1. A method for collision detection and merging of multi-dendrite motion phase field parallel simulation, characterized in that The following steps are involved: Step 1: Multiple processes search for overlapping solid phases node by node. All processes search for the number of solid phase particles whose phase field values exceed the specified threshold node by node in their respective computational domains. Integer variable 1 is set in each process to store this number. If the number is greater than 1, the current node is determined to be a solid phase particle overlapping point, and the numbers of all overlapping solid phase particles are recorded. Each node resets the integer variable 1 to 0 before searching for overlapping solid phases. The phase field threshold is selected between -1 and 0. Step 2: Filter the overlaps that occur inside solid phase particles composed of multiple dendrites that have collided at different times. This filtering step is achieved by setting a logical variable 1 for all currently existing solid phase particles. In the process of searching for overlapping solid phases node by node, when the order parameter of a solid phase particle at a certain node exceeds the phase field threshold, the logical variable 1 of the solid phase particle is set to TRUE; the judgment of the logical variable 1 is set again in the outer layer of the phase field threshold judgment, and the phase field threshold judgment is performed only when the logical variable 1 is FALSE; before searching for overlapping solid phases at each node, the logical variables 1 of all solid phase particles are all assigned to FALSE; Step 3: Filter the overlap of two or more solid phase particles at different nodes at the same time. This filtering step is achieved by setting a logical variable 2 and an integer variable 2 for all the existing solid phase particles. In the process of searching for overlapping solid phases node by node, when the order parameter of a solid phase particle at a certain node exceeds the phase field threshold, if the logical variable 2 of the solid phase particle is TRUE, the integer variable 2 is accumulated; after searching for overlapping solid phases at each node, the integer variables 1 and 2 are compared. If the two are equal, the integer variable 1 is reset to 0; After the comparison between integer variables 1 and 2 is completed, it is determined whether the value of integer variable 1 is greater than 1. If it is greater than 1, the detected solid phase overlap is determined as a particle collision, and the logical variable 2 of all solid phase particles constituting the collision is set to TRUE; at each moment, before starting to search for collision points node by node, the logical variable 2 of all existing solid phase particles is assigned to FALSE; before each node performs overlapping solid phase search, the integer variable 2 is reset to 0; Step 4: Multi-process collision detection and information storage. In each process, an integer variable 3 is set. After each node finishes searching for overlapping solid phases, if the value of the integer variable 1 is greater than 1, the integer variable 3 is accumulated, and the numbers and total number of all overlapping solid phase particles are recorded. At each moment, the integer variable 3 is reset to 0 before starting to search for collision points node by node; Step 5: Filter the collisions between the same solid phase particles detected in different CPUs during parallel calculation. This filtering step is achieved by setting up a logical variable 3 for all the collected collisions. In the root process, all collisions are traversed in the storage order to determine whether each collision is the same as the subsequent collision. The judgment standard for two identical collisions is that they have the same overlapping solid phase number and total number. If they are the same, the logical variable 3 of the current collision is assigned to TRUE. In the outer layer of the identical collision comparison, the judgment of the logical variable 3 is set up again. The collision comparison is performed only when the logical variable 3 is FALSE. After all collision duplication checks are completed, the collision information is transferred according to the logical variable 3. Only the information of the collisions with the logical variable 3 being FALSE is stored, including the number and total number of overlapping solid phase particles, so that all collisions that do not overlap in all CPUs can be obtained. At each moment, when all collision information is collected, the logical variable 3 of all collisions is reset to FALSE. Step 6: Merge multiple dendrites that collide, and store the mass, center of mass, translation speed, rotation speed, and moment of inertia of each overlapping solid phase particle in each collision in the root process; then calculate the translation and rotation speed of the merged dendrite according to the conservation of momentum and angular momentum; the merged solid phase particle is numbered as the number of the first overlapping solid phase particle in the current collision, and the order parameters contained in the subsequent overlapping solid phase particles are summarized into the merged solid phase particle; then, through the sequential traversal method, starting from the second solid phase particle in the current collision, the solid phase particles that follow it are moved forward by one position, and the total number of solid phase particles is reduced by one each time it is moved forward; each time it is moved forward, the corresponding translation and rotation speed information needs to be moved forward together.
2. The method for collision detection and merging of multi-dendrite motion phase field parallel simulation according to claim 1, characterized in that In step 2, the overlapping detection and filtering of multiple dendrites that constitute the solid phase particles inside the solid phase particles are performed. The dendrites that have collided and merged at the previous moment will also appear as overlapping in the collision detection at the subsequent moment. If they are not filtered, the collided and merged solid phase particles will be detected as collisions at each subsequent moment, which will cause extremely redundant collision information transmission and storage, and solid phase particle center of mass and velocity calculation. Step 2 can effectively filter invalid overlaps, simplify redundant operations, and greatly improve collision detection efficiency.
3. The method for collision detection and merging of multi-dendrite motion phase field parallel simulation according to claim 1, characterized in that In step 3, the overlap between multiple solid phase particles at different nodes is detected and filtered. At the same time, two solid phase particles detected to have collided will be overlapping at multiple nodes. If they are not filtered, the collision detection carried out node by node will also involve collision information transmission and storage, solid phase particle center of mass and velocity calculation for the same collision, resulting in computational redundancy. Step 3 can effectively simplify such redundant calculations and improve the efficiency of collision detection.
4. The method for collision detection and merging of multi-dendrite motion phase field parallel simulation according to claim 1, characterized in that In step 5, collisions between the same solid phase particles detected in different CPUs during parallel calculations are filtered. During parallel calculations, the region segmentation will cross the interior of the solid phase particles, so that the calculation domains assigned to some CPUs contain the same solid phase particles. These CPUs independently perform collision detection during their respective operations. The collision results obtained describe the same collision of the same grains. If no filtering is performed, it will cause unnecessary CPU calculations. Step 5 can effectively filter the same collisions between CPUs and improve the efficiency of collision detection.
5. The method for collision detection and merging of multi-dendrite motion phase field parallel simulation according to claim 1, characterized in that The merging of the colliding dendrites in step 6 can calculate the translation and rotation speeds of the merged solid phase particles based on the mass, center of mass, translation speed, rotation speed and moment of inertia of each solid phase particle constituting the collision, and ensure the conservation of momentum, so that the merged dendrites continue to translate, rotate and grow in the liquid phase as a whole.
Citation Information
Patent Citations
Prediction method for dendritic crystal movement in molten steel
CN109817284A
Method for predicting dendritic crystal growth under condition of molten steel convection
CN111027172A
Particle flow simulation system and method
US20150213163A1
