A+B→C+D reaction type hard sphere-pseudo-particle coupling simulation method
Through the hard sphere-quasi-particle coupling simulation method, the problem of low computational efficiency in the study of the coupling mechanism of diffusion and reaction processes at the nanoscale is solved, and efficient parallel computing and system-wide information acquisition are achieved, which is suitable for gas-solid microchemical reaction processes.
Patent Information
- Application Number
- CN202110637370.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-08
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2041-06-08
AI Technical Summary
The existing hard sphere-quasi-particle coupling algorithm has low computational efficiency when studying the coupling mechanism of diffusion and reaction processes at the nano-micro scale. There is a lack of reports on simple typical reaction kinetic models, which limits its application in this field.
A hard sphere-quasi-particle coupling simulation method of the A+B→C+D reaction type is proposed. By obtaining particle attribute parameters, setting reaction model parameters, and dividing the hard sphere simulation sub-area and the quasi-particle simulation sub-area, event-driven and time-driven are used Simulate in a way that ignores the mutual attraction between particles, reduces the amount of calculation, and improves calculation efficiency.
It achieves efficient parallel computing, improves computing efficiency, and can obtain system-wide evolution information. It is suitable for gas-solid microchemical reaction processes at the nanoscale and microscale, and expands the scope of applications.
Smart Images

Figure CN113362906B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of classical molecular dynamics simulation and calculation, and in particular to a hard sphere-pseudo-particle coupling simulation method of an A+B→C+D reaction type. Background Art
[0002] Studying the coupling mechanism of diffusion and reaction processes at the nanoscale is of great significance for understanding macroscopic and complex chemical reaction systems, such as single-molecule catalytic reaction processes. The state of gas molecules at the nanoscale can well conform to the rarefied gas hypothesis and exhibits discrete characteristics at the molecular level. It is no longer applicable to the continuous medium hypothesis, and other simulation calculation methods must be sought. In this research field, the molecular dynamics (MD) method has shown great application potential due to its high calculation accuracy. The MD method is a powerful computer simulation method that connects the microscopic world and the macroscopic world. It can describe the research system at the molecular level, obtain the dynamic change law of the microscopic state of each atom and molecule over time by solving Newton's equation of motion, and thus obtain various physical and chemical properties of the molecular system statistics.
[0003] Based on the interaction force between particles, the classic MD simulation methods include the Hard-Sphere (HS) model, the Soft-Sphere (SS) model, and the Pseudo-Particle Modeling (PPM) proposed to solve the problem that the HS model is difficult to parallelize. The collision of HS particles can be equivalent to the interaction of a series of SS particles, but the computational efficiency of the SS model is not as high as that of the HS model. PPM combines the advantages of the higher computational efficiency of the HS model and the better scalability of the SS model. However, for the simulation of rarefied gases, since the states of all particles need to be updated synchronously in the PPM system, the computational efficiency of PPM is significantly lower than that of the HS model. The HS-PPM coupling algorithm can simultaneously meet the large-scale parallel computing requirements of high computational accuracy, large computational scale (nanometer and nanosecond space-time scales), and high computational efficiency.
[0004] However, there is no report in the current literature on how to implement simple typical reaction kinetic models in the HS-PPM coupling algorithm, which restricts the application of the HS-PPM coupling algorithm in the study of the coupling mechanism of diffusion and reaction processes at the nano- and micro-scales.
[0005] The above information disclosed in the Background section is only for enhancement of understanding of the background of the present disclosure and therefore it may include information that does not constitute the prior art that is already known to one of ordinary skill in the art. Summary of the invention
[0006] The purpose of the present disclosure is to provide a hard sphere-pseudo-particle coupling simulation method of the A+B→C+D reaction type, which has the advantages of parallel computing, high computing efficiency, large computing scale, wide application range, and the ability to obtain information on the evolution of the entire system.
[0007] In order to achieve the above-mentioned invention object, the present invention adopts the following technical solutions:
[0008] According to a first aspect of the present disclosure, a hard sphere-pseudo-particle coupling simulation method of an A+B→C+D reaction type is provided, characterized in that it comprises:
[0009] Obtaining the particle attribute parameters of each of particles A, B, C and D, and setting the particle attribute parameters of particles C' and D', where C' and D' are intermediate products in the reaction process, and the particle attribute parameters include particle mass, particle hard sphere radius, particle type number and particle radius growth rate;
[0010] Setting model parameters of the reaction model, as well as the particle numbers and reaction parameters of the particle A, particle B, particle C', particle D', particle C and particle D, wherein the model parameters include a model reaction temperature, a process number and a model geometric parameter;
[0011] Based on the model parameters of the reaction model and the particle property parameters of the particle A and the particle B, determine the initial velocity and initial position of the particle A and the particle B respectively;
[0012] According to the model parameters, the reaction model is divided into process division, grid division, hard sphere simulation sub-area division and pseudo-particle simulation sub-area division, and a future event list is established for the hard sphere simulation sub-area;
[0013] The simulation calculation process is started, and the reaction states, particle radius and particle position changes of the particles A, B, C', D', C and D are detected, and the quantity information of each particle is counted. When the quantity of the particle A or the particle B is 0, the calculation process is ended.
[0014] In an exemplary embodiment of the present disclosure, the particle property parameters of each of particles A, B, C and D are obtained, and the particle property parameters of particles C' and D' are set, where C' and D' are intermediate products in the reaction process, and the particle property parameters include particle mass, particle hard sphere radius, particle type number and particle radius growth rate, and further include:
[0015] The particle attribute parameters are dimensionally processed.
[0016] In an exemplary embodiment of the present disclosure, the determining the initial velocity and initial position of each of the particles A and B based on the model parameters of the reaction model and the particle property parameters of each of the particles A and B comprises:
[0017] Obtaining the initial velocity of the particle A and the particle B according to the model reaction temperature of the reaction model and the particle masses of the particle A and the particle B;
[0018] According to the model geometric parameters of the reaction model, the initial positions of the particle A and the particle B are obtained.
[0019] In an exemplary embodiment of the present disclosure, there are multiple hard sphere simulation sub-areas, and the multiple hard sphere simulation sub-areas are connected through the pseudo-particle simulation sub-areas.
[0020] In an exemplary embodiment of the present disclosure, the step of dividing the reaction model into processes, grids, hard sphere simulation sub-areas and pseudo-particle simulation sub-areas according to the model parameters, and establishing a future event list for the hard sphere simulation sub-areas includes:
[0021] Dividing the reaction model into a plurality of submodules based on the number of processes, each process being responsible for simulation calculation of one of the submodules;
[0022] Performing grid division on each of the submodules, so that the boundary area of each submodule is the pseudo-particle sub-area, the remaining area is the hard sphere simulation sub-area, and the pseudo-particle sub-area surrounds the hard sphere simulation sub-area;
[0023] A list of future events is established for the hard sphere simulation sub-region.
[0024] In an exemplary embodiment of the present disclosure, the starting simulation calculation process, detecting the reaction state, particle radius and particle position change process of each of the particles A, B, C', D', C and D, and counting the quantity information of each particle, when the quantity of the particle A or the particle B is 0, ending the calculation process includes:
[0025] Detect whether there is a particle collision. When two particles are detected to have collided, determine the type of particles that collided.
[0026] When the particles that collide are the particle A and the particle B, according to a preset reaction principle, it is determined whether the particles A and the particle B that collide react, and corresponding processing is performed according to the determination result, and the reaction principle is set according to the reaction parameter; when the particles that collide are not the particle A and the particle B, the speed, particle radius and particle position corresponding to each particle after the collision are updated;
[0027] The number information of each type of particles is counted, and when the number of the particle A or the particle B is 0, the calculation process ends.
[0028] In an exemplary embodiment of the present disclosure, the determining whether the colliding particles A and B react and performing corresponding processing according to the determination result includes:
[0029] If it is determined that the particle A and the particle B react, one of the particle A and the particle B is transferred to particle C', and the other is transferred to particle D', and the speed, particle radius and particle position of the particle A, the particle B and / or the particle C', the particle D' after the collision are updated, and the future event list of the hard sphere simulation sub-area is updated;
[0030] If it is determined that the particle A and the particle B do not react, the speed and particle position corresponding to the particle A and the particle B after the collision are updated.
[0031] In an exemplary embodiment of the present disclosure, each particle satisfies the first relational expression before and after the collision.
[0032]
[0033] And the second relation
[0034]
[0035] Among them, subscripts 1 and 2 are used to distinguish the particles that collide, r1 and r2 represent the position vectors of the particles before the collision, v1 and v2 represent the velocity vectors of the particles before the collision, v'1 and v'2 represent the velocity vectors of the particles after the collision, e represents the collision recovery coefficient, and m1 and m2 represent the masses of the particles at the time of collision.
[0036] In an exemplary embodiment of the present disclosure, the particle radius of the particle C' and the particle D' satisfies the third relationship:
[0037]
[0038] Among them, t0 and t1 represent the previous moment and current moment of particle motion respectively. and Corresponding to the particle radius at t0 and t1, v r is the particle radius growth rate of the particle C' and the particle D', v r >0 and v r <0 indicates that the particle radius change process of the particle is a gradual increase and a gradual decrease process respectively.
[0039] In an exemplary embodiment of the present disclosure, the determining whether the colliding particles A and B react and performing corresponding processing according to the determination result further includes:
[0040] Monitor the motion state and particle radius of particle C' and particle D'. When the particle radius of particle C' is equal to the hard sphere radius of particle C, and the particle radius of particle D' is equal to the hard sphere radius of particle D, change the particle type number of particle C' to the particle type number corresponding to particle C, and change the particle type number of particle D' to the particle type number corresponding to particle D.
[0041] In an exemplary embodiment of the present disclosure, updating the future event list of the hard ball simulation sub-area includes:
[0042] The invalid events related to the particles A and B are deleted, and the events related to the particles C' and D' are added.
[0043] The hard sphere-pseudo-particle coupling simulation method of the A+B→C+D reaction type provided by the present disclosure adopts a hard sphere-pseudo-particle coupling algorithm, which ignores the mutual attraction between particles and assumes that the particles are hard spheres without internal structures. There is no interaction force between hard sphere molecules except for the moment of collision. Therefore, there is no need to calculate the dynamic charge and other information of the particles, which can greatly reduce the amount of calculation when the entire reaction system evolves. The present disclosure divides the A+B→C+D reaction model into a hard sphere simulation sub-area and a pseudo-particle simulation sub-area, wherein the hard sphere simulation sub-area is event-driven and the pseudo-particle sub-area is time-driven. Therefore, it is only necessary to synchronously evolve the particles in the pseudo-particle sub-area, rather than synchronously evolving all the particles in the entire reaction system, which greatly saves the calculation time and improves the calculation efficiency. In addition, the hard sphere-pseudo-particle coupling simulation method provided by the present disclosure can simulate and study the reaction system whose reaction process conforms to A+B→C+D. It only needs to update the particle attribute parameters of the particles and the model parameters of the reaction model according to the specific reaction substances, and has strong versatility. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The above and other features and advantages of the present disclosure will become more apparent by describing in detail example embodiments thereof with reference to the attached drawings.
[0045] Figure 1 It is a schematic diagram of the flow structure of the hard-sphere-pseudo-particle coupling simulation method of the A+B→C+D reaction type in the exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0046] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure.
[0047] In the drawings, the thickness of regions and layers may be exaggerated for clarity. The same reference numerals in the drawings denote the same or similar structures, and thus their detailed description will be omitted.
[0048] The described features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, materials, etc. may be adopted. In other cases, known structures, materials or operations are not shown or described in detail to avoid blurring the main technical ideas of the present disclosure.
[0049] When a structure is “on” another structure, it may mean that the structure is integrally formed on the other structure, or that the structure is “directly” disposed on the other structure, or that the structure is “indirectly” disposed on the other structure via another structure.
[0050] The terms "a", "an", "the" are used to indicate the presence of one or more elements / components / etc.; the terms "including" and "having" are used to indicate an open-ended inclusive meaning and mean that there may be additional elements / components / etc. in addition to the listed elements / components / etc. The terms "first" and "second" etc. are used only as labels and are not intended to limit the quantity of their objects.
[0051] The hard sphere-pseudo-particle coupling simulation method of the A+B→C+D reaction type provided in the present invention is suitable for studying gas-solid microscopic chemical reaction processes occurring at the nano-micro scale, and can provide technical support for simulating and studying the diffusion and reaction coupling processes occurring in nano-micro channels, which is of great significance to the study of the diffusion and reaction coupling mechanism at the nano-micro scale.
[0052] Regarding the gas-solid microscopic chemical reaction process occurring at the nano-micro scale, since the distance between gas molecules at the nano-micro scale is relatively far, the gravitational force between gas molecules can be ignored. Based on the gas collision theory, the present disclosure assumes that the gas molecules are hard spheres without internal structure and there is no interaction force between hard spheres except for collision. In addition, regarding the study of the coupling mechanism of diffusion and reaction processes, the focus of simulation research is not on specific changes such as bond breaking and bond formation during the reaction process. The classical MD method can be used to study mass transfer and reaction processes. Therefore, the present disclosure uses the HS-PPM coupling algorithm to simulate the coupling mechanism of diffusion and reaction processes at the nano-micro scale.
[0053] like Figure 1 As shown, the present disclosure provides a hard sphere-pseudo-particle coupling simulation method of the A+B→C+D reaction type, which is suitable for simulating and studying a complex chemical reaction system including a chemical reaction network composed of multiple A+B→C+D reactions, and can perform efficient and large-scale parallel simulation calculations, and has the advantages of parallel calculation, high calculation efficiency, large calculation scale, wide application range, and the ability to obtain information on the evolution of the entire reaction system. The method comprises the following steps:
[0054] Step S100, obtaining the particle attribute parameters of each of particle A, particle B, particle C and particle D, and setting the particle attribute parameters of particle C' and particle D', where C' and D' are intermediate products in the reaction process, and the particle attribute parameters include particle mass, particle hard sphere radius, particle type number and particle radius growth rate;
[0055] Step S200, setting model parameters of the reaction model, as well as the particle numbers and reaction parameters of particle A, particle B, particle C', particle D', particle C and particle D, the model parameters including model reaction temperature, process number and model geometric parameters;
[0056] Step S300, determining the initial velocity and initial position of particle A and particle B respectively based on the model parameters of the reaction model and the particle attribute parameters of particle A and particle B respectively;
[0057] Step S400, according to the model parameters, the reaction model is divided into process division, grid division, hard sphere simulation sub-area division and pseudo-particle simulation sub-area division, and a future event list is established for the hard sphere simulation sub-area;
[0058] Step S500, start the simulation calculation process, detect the reaction state, particle radius and particle position change process of particle A, particle B, particle C', particle D', particle C and particle D respectively, and count the number information of each particle. When the number of particle A or particle B is 0, end the calculation process.
[0059] The hard sphere-pseudo-particle coupling simulation method of the A+B→C+D reaction type provided by the present disclosure adopts a hard sphere-pseudo-particle coupling algorithm, which ignores the mutual attraction between particles and assumes that the particles are hard spheres without internal structures. There is no interaction force between hard sphere molecules except for the moment of collision. Therefore, there is no need to calculate the dynamic charge and other information of the particles, which can greatly reduce the amount of calculation when the entire reaction system evolves. The present disclosure divides the A+B→C+D reaction model into a hard sphere simulation sub-area and a pseudo-particle simulation sub-area, wherein the hard sphere simulation sub-area is event-driven and the pseudo-particle sub-area is time-driven. Therefore, it is only necessary to synchronously evolve the particles in the pseudo-particle sub-area, rather than synchronously evolving all the particles in the entire reaction system, which greatly saves the calculation time and improves the calculation efficiency. In addition, the hard sphere-pseudo-particle coupling simulation method provided by the present disclosure can simulate and study the reaction system whose reaction process conforms to A+B→C+D. It only needs to update the particle attribute parameters of the particles and the model parameters of the reaction model according to the specific reaction substances, and has strong versatility.
[0060] The following describes in detail the steps of a hard sphere-pseudo-particle coupling simulation method of an A+B→C+D reaction type provided by an embodiment of the present disclosure in conjunction with the accompanying drawings.
[0061] Step S100, obtain the particle attribute parameters of each particle A, particle B, particle C and particle D, and set the particle attribute parameters of particle C' and particle D', C' and D' are intermediate products in the reaction process, and the particle attribute parameters include particle mass, particle hard sphere radius, particle type number and particle radius growth rate.
[0062] In step S100, in the reaction A+B→C+D, reactant A reacts with reactant B to finally generate product C and product D. C' and D' are intermediate products in the reaction process. In the present disclosure, C' and D' are defined as stored products. The reaction A+B→C+D can be a replacement reaction or other reaction types that meet the formula.
[0063] Particle attribute parameters are parameters related to particles in the reaction, including particle mass, particle hard sphere radius, particle type number, particle radius growth rate, etc. Among them, the particle type number refers to giving different digital labels to different particles. For example, the particle type number of particle A is 1, the particle type number of particle B is 2, the particle type number of particle C is 3, the particle type number of particle C' is 4, and the particle type number of particle D' is 5. The particle radius growth rate is used to describe the change process of the particle radius of each particle, where the particle growth rate of particle A and particle B is 0, and the particle growth rate of particle C' and particle D' is set according to the actual situation.
[0064] In some embodiments of the present disclosure, step S100 includes:
[0065] Step S110, setting the particle mass, particle hard ball radius and particle radius growth rate of particle C' according to the particle mass and particle hard ball radius of particle C, and setting the particle mass, particle hard ball radius and particle radius growth rate of particle D' according to the particle mass and particle hard ball radius of particle D.
[0066] Particle C' and particle D' are storage products. In this step, the particle mass of particle C' is equal to the mass of particle C, and the particle radius growth rate of particle C' is related to the particle hard sphere radius of particle C. The particle mass of particle D' is equal to the mass of particle D, and the particle radius growth rate of particle D' is related to the particle hard sphere radius of particle D.
[0067] The particle mass and particle hard sphere radius of each particle A, particle B, particle C and particle D can be freely set according to experimental experience or obtained according to experimental data. The present disclosure uses particle mass and particle hard sphere radius as particle attribute parameters to study the changes in particle dynamic properties during the reaction process A+B→C+D. It should be noted that in the subsequent simulation process, as time goes by, only the particle radius of particle C' and particle D' changes.
[0068] In some embodiments, before step S100, the method further includes:
[0069] Step S100 - 0 , establishing a reaction model of the reaction A+B→C+D.
[0070] In step S100-0, a reaction model of the reaction is established to determine the motion simulation space of the particles in the reaction A+B→C+D. The reaction model corresponding to the reaction may include a single simulation space, or may include multiple identical or different simulation spaces. For example, a simulation study is conducted on the zeolite molecular sieve ZSM-5 system. The ZSM-5 molecular sieve is a high-silicon zeolite, and its crystal structure belongs to the orthorhombic system, contains a ten-membered ring structure, and is composed of eight five-membered rings as the basic structural unit. It has no cage-like cavity, and the skeleton is composed of two cross-type channels, namely, an elliptical y-direction straight channel and a "Z"-shaped transverse channel. It should be noted here that this step can be a reaction model established based on a real channel structure, or it can be a simplified reaction model, such as directly establishing a rectangular channel model, which is not specifically limited by the present disclosure.
[0071] In some embodiments, after step S100, the method further includes:
[0072] Step S100-1, dimensionless processing is performed on particle attribute parameters.
[0073] In this step, the particle attribute parameters are dimensionally tempered, and the units in the particle attribute parameters are removed. In a specific embodiment of the present disclosure, the particle mass and particle hard sphere radius of particle A are used to perform dimensionless tempering on the particle mass and particle hard sphere radius of other particles, so as to facilitate subsequent analysis and discussion. In addition, when the particle attribute parameters also include parameters such as time, time and the like are also dimensionally tempered. Specifically in one embodiment, the particle mass m of particle A is used. A , particle hard sphere radius and characteristic time The units of mass, length and time in the simulation system are dimensionless.
[0074] In other embodiments, the particle mass and particle hard sphere radius of particle B may also be used to perform dimensionless processing on the particle mass and particle hard sphere radius of other particles, and the present disclosure does not limit this.
[0075] In step S200, model parameters of the reaction model, as well as the particle numbers and reaction parameters of particle A, particle B, particle C', particle D', particle C and particle D are set. The model parameters include model reaction temperature, process number and model geometric parameters.
[0076] In this step, model parameters refer to parameters related to the reaction model as a whole, such as the reaction temperature, process number and model geometric parameters of the model. Among them, the model reaction temperature, that is, the temperature of the reaction system, remains unchanged throughout the simulation process. The process number can be set artificially based on the calculation scale. The model geometric parameters include the geometric structure and geometric dimensions of the reaction model as a whole, such as the structure of the reaction model is a rectangular channel configuration, the length of the rectangular channel configuration in the x, y, and z directions, etc. It should be noted here that the model geometric parameters can also include geometric data such as the volume and surface area of the model, which can be set according to the actual simulation requirements, and this disclosure is not limited to this.
[0077] The number of particles refers to the number of each particle. In this step, the number of particles can be freely set according to experimental experience, or obtained according to experimental data. Among them, the number of particles A and B is not 0, the number of particles C' and D' is 0, and the number of particles C and D can be 0 or not. It should be noted that the number of particles set in this step is the number of particles before the simulation reaction starts. In the subsequent simulation process, as time goes by, the reaction proceeds step by step, and the number of each particle is also gradually changing.
[0078] Reaction parameters refer to parameters related to the reaction process, such as reaction critical energy. The present disclosure introduces reaction critical energy as a condition and rule for reactants A and B to react. In the subsequent simulation calculation process, when reactants A and B collide, it is determined whether A and B react based on the reaction critical energy.
[0079] In step S300, based on the model parameters of the reaction model and the particle attribute parameters of the particles A and B, the initial speed and initial position of the particles A and B are determined.
[0080] In the reaction, reactant A and reactant B react to generate product C and product D. In this step, the initial velocity and initial position of reactant particles A and B are determined based on the model parameters of the reaction model and the particle property parameters of particles A and B.
[0081] In some embodiments, step S300 includes:
[0082] Step S310, determining the initial velocity of particle A and particle B based on the model reaction temperature of the reaction model and the particle masses of particle A and particle B;
[0083] Step S320: determining the initial positions of particle A and particle B based on the model geometry parameters of the reaction model.
[0084] In step S310, the initial velocity of each particle includes two parts: thermal velocity and flow velocity. The thermal velocity v0 of the particle can be calculated by the model reaction temperature T: where k B represents the Boltzmann constant, and m is the particle mass of the corresponding particle. Physical quantity v rx 、v ry and v rz Respectively represent the flow speed of particles in the three directions of x, y and z. Based on the isotropic spherical distribution principle, the calculation formula is:
[0085]
[0086]
[0087]
[0088] Get the initial velocity v of the particle in the x, y and z directions x 、v y and v z The azimuth angle between the velocity direction and the positive x-axis and the elevation angle θ between the velocity direction and the positive z-axis are randomly generated by the time seed, and their ranges are [0,2π) and [0,π) respectively.
[0089] Based on the above, the initial velocities of particle A and particle B can be obtained.
[0090] In step S320 , the initial positions of particle A and particle B are determined based on the model geometry parameters of the reaction model.
[0091] Based on the geometric parameters of the reaction model, the particles are randomly assigned initial positions. The geometric parameters of the model include the overall geometric structure and geometric dimensions of the reaction model. The geometric structure can be various three-dimensional geometric structures, such as a cuboid, cone, sphere or cube, etc., or various two-dimensional geometric figures, such as a rectangle, regular polygon, circle, irregular plane figure, etc., which are set according to the actual model requirements. Different reaction models can be set with different geometric dimensions. For example, if the structure of the reaction model is a rectangular channel configuration, the geometric dimensions of the rectangular channel configuration may include its length in the x, y, and z directions.
[0092] In some embodiments, the particles are evenly distributed in the simulation space of the reaction model, and it is required that the particles cannot overlap with each other.
[0093] In step S400, the reaction model is divided into process and grid according to the model parameters, and divided into hard sphere simulation sub-areas and pseudo-particle simulation sub-areas, and a future event list is established for the hard sphere simulation sub-areas.
[0094] In this step, the entire reaction model is divided according to the applied calculation model to ensure the high calculation efficiency and calculation accuracy of the coupling algorithm and good scalability. Specifically, the reaction model is divided into a hard sphere simulation sub-area and a pseudo-particle simulation sub-area. The hard sphere simulation sub-area is referred to as the HS sub-area, and the pseudo-particle simulation sub-area is referred to as the PP sub-area. The HS sub-area adopts HS simulation, and the PP sub-area adopts PPM simulation.
[0095] In the related art, the core of HS simulation is to process a list of events sorted by occurrence time in sequence. This process is inherently serial, so a single HS simulation is difficult to parallelize. PPM is a time-driven algorithm with strong scalability, and a slight overlap between pseudo-particles is allowed in the model. The present disclosure adopts the HS-PPM method to connect multiple HS sub-regions through PP sub-regions to achieve coupled simulation. In some embodiments, the number of hard sphere simulation sub-regions is multiple, and multiple hard sphere simulation sub-regions are connected through pseudo-particle simulation sub-regions.
[0096] In some embodiments of the present disclosure, step S400 includes:
[0097] Step S410, dividing the reaction model into multiple submodules based on the number of processes, each process is responsible for the simulation calculation of one submodule;
[0098] Step S420, meshing each submodule so that the boundary area of each submodule is a pseudo-particle subregion, the remaining area is a hard sphere simulation subregion, and the pseudo-particle subregion surrounds the hard sphere simulation subregion;
[0099] Step S430: Create a future event list for the hard ball simulation sub-area.
[0100] In step S410, the reaction model is divided into multiple sub-modules based on the number of processes, and each process is responsible for the simulation calculation of a sub-module.
[0101] The adopted HS-PPM coupling algorithm improves the scalability of event-driven HS simulation through time-driven PPM simulation, making it possible to set the required number of processes based on the computing scale, and then divide the entire reaction model into multiple sub-modules according to the number of processes. Each process is only responsible for the simulation calculation of one sub-module, and adjacent processes exchange boundary information through the message passing interface (MPI), thereby realizing large-scale, multi-process parallel simulation calculation, and the computing scale can reach the order of 10,000.
[0102] In step S420, each submodule is meshed so that the middle mesh of each submodule is a hard sphere simulation subregion, and the mesh surrounding the hard sphere simulation subregion is a pseudo-particle subregion.
[0103] The grid unit is the basic unit for particle storage and event list establishment in the algorithm. Specifically, in one embodiment, the two layers of grids near the submodule boundary can be defined as PP sub-areas, and PPM simulation is adopted, and the inner grids surrounded by the PP sub-areas are defined as HS sub-areas, and HS simulation is adopted, that is, the HS sub-areas in each submodule occupy most of the area, and the PP sub-areas only occupy the two layers of grids at the boundary.
[0104] For the submodule corresponding to each process, a layer of virtual grid is constructed outside the submodule boundary to handle the data exchange between the process and the adjacent processes.
[0105] In step S430, a future event list is created for the hard ball simulation sub-area.
[0106] Future events may include all events that may occur in the future, such as changes in the positions of particles in a grid, changes in the particle radius of particles, collisions between particles, etc., which are not specifically limited in the present disclosure.
[0107] In some embodiments, before the hard sphere simulation sub-area establishes the future event list, it is also necessary to predict the future events of the particles, for example, predict the time when the particles collide. In actual simulation, predicting the time of particle collision is very important for constructing the future event list of the hard sphere simulation sub-area.
[0108] During the whole simulation process, the particle radius of some particles will gradually change as the reaction proceeds. The present disclosure introduces the particle radius growth rate v when predicting the collision moment of particles. r , v r >0 and v r <0 respectively indicates that the particle radius change process is a gradual increase and a gradual decrease process. r ≠0, such as particles C' and D', then it is necessary to consider the particle's σ r The changes in the time interval from the current motion moment to the predicted collision moment. Therefore, the particle's v is introduced into the formula for predicting the particle collision moment. r .
[0109] Specifically, the position and radius of the particle at the current moment are marked as r 0 and The position and radius of the particle at the moment of collision are marked as r 1 and Since the HS model does not allow particles to overlap, the first collision condition that needs to be met is that the distance between the centers of mass of the two particles is equal to the That is, r 1 and Satisfies the relationship:
[0110]
[0111] The subscripts 1 and 2 represent the two particles that collided. From the velocities v and r of the particles, we can calculate r 1 ,Right now:
[0112] r 1 =r 0 +v×Δt (5)
[0113] Among them, Δt represents the time interval from the current motion moment to the predicted collision moment. r and σ r It can be calculated Right now:
[0114]
[0115] Secondly, the collision condition that needs to be met is that the two particles must have a tendency to collide with each other, that is, the condition that formula (4) has a solution must be met. After substituting formulas (5) and (6) into formula (4), according to the root-finding formula, it needs to be satisfied:
[0116]
[0117] Among them, v r1 and vr2 represent the v of particle 1 and particle 2 respectively r . The smaller Δt solution of the two solutions to the equation is obtained as follows:
[0118]
[0119] Among them, σ r1 and σ r2 denote the σ of particle 1 and particle 2 respectively r When predicting the collision between any particles in the system, we can use formula (7) to determine whether the two particles collide. If the position and velocity of the particle pair satisfy formula (7), we can solve Δt using formula (8) to obtain the predicted particle collision time.
[0120] After the collision moment of the particles is predicted, a future event list can be established based on the prediction or updated in subsequent steps.
[0121] In a specific embodiment, the HS model marks all the movements of particles in the system as different "events" for processing. The marked event type can be a real collision event or a virtual event introduced to facilitate particle search. The HS model uses the grid as the basic unit, and all the events that may occur to all particles stored in the grid unit constitute the future event list. First, it is necessary to number all the possible event types (type) in the simulation system, including collision events between ordinary particles (type=0), particle crossing virtual grid boundary events (wherein, crossing +x, +y, +z, -x, -y and -z directions are marked as type=1, type=2, type=3, type=4, type=5, type=6 event type numbers respectively), collision events between particles with particle radius changes (type=7), reaction events (type=8), particle radius changes (type=9), and particle radius changes to the set radius (type=10). Then, predict the time when each event will occur. Each event is a leaf node of a complete binary tree (CBT) and is sorted by the time of event occurrence as the weight. Based on heap sorting, the leaf nodes of CBT are updated upward step by step in a recursive manner, and finally the earliest event is obtained. The HS sub-area only processes the earliest valid event each time, and updates the evolution time to the current moment accordingly. After the event is processed, some new events may be generated, and events that have not occurred may also be invalidated. Therefore, it is necessary to re-predict the time when events occur in the grid where the particle is located and the surrounding grid units, rebuild the future event list of the grid, and update the corresponding CBT leaf nodes, and then obtain the next earliest valid event that the evolving system needs to process by updating the CBT.
[0122] In step S500, the simulation calculation process is started to detect the reaction states, particle radius and particle position changes of each particle A, particle B, particle C', particle D', particle C and particle D, and count the number information of each particle. When the number of particle A or particle B is 0, the calculation process is terminated.
[0123] In this step, the simulation calculation process is started. As time goes by, particles A and B react to generate particles C' and D', and then particles C' and D' gradually change to particles C and D. In this process, the reaction state and particle position of each particle will continue to change. The particle radius of particles A and B will not change, while the particle radius of particles C' and D' will continue to change. The number of each particle will also continue to change in this process until the number of particles A or B is 0, the reaction ends, and the simulation calculation process ends.
[0124] In some embodiments, step S500 includes:
[0125] Step S510, detecting whether there is a particle collision, and when it is detected that two particles collide, determining the types of the colliding particles;
[0126] When the colliding particles are particles A and B, according to the preset reaction principle, it is determined whether the colliding particles A and B react, and corresponding processing is performed according to the judgment result. The reaction principle is set according to the reaction parameter; when the colliding particles are not particles A and B, the speed, particle radius and particle position corresponding to each particle after the collision are updated;
[0127] Step S520, counting the number of each type of particles, when the number of particle A or particle B is 0, the calculation process ends.
[0128] In step S510, it is detected whether there is a collision of particles. When it is detected that two particles collide, the types of the colliding particles are determined.
[0129] In the entire chemical reaction system of A+B→C+D, there may be particles A, B, C', D', C and D of various types, and collisions may occur between each particle. In the present disclosure, different processing methods are used for different particles after collision. Specifically, when the colliding particles are particles A and B, according to the preset reaction principle, it is determined whether the colliding particles A and B react, and corresponding processing is performed according to the judgment result. The reaction principle is set according to the reaction parameters; when the colliding particles are not particles A and B, the corresponding speed, particle radius and particle position of each particle after the collision are updated.
[0130] In step S510, each particle satisfies the first relation before and after the collision
[0131]
[0132] And the second relation
[0133]
[0134] Among them, subscripts 1 and 2 are used to distinguish the particles that collide, r1 and r2 represent the position vectors of the particles before the collision, v1 and v2 represent the velocity vectors of the particles before the collision, v'1 and v'2 represent the velocity vectors of the particles after the collision, e represents the collision recovery coefficient, and m1 and m2 represent the masses of the particles at the time of collision.
[0135] In this step, it is determined whether the colliding particles A and B react, and the determination can be made according to a preset reaction principle. The preset reaction principle can be set according to the reaction parameters. In a specific embodiment, the reaction parameters include a critical reaction energy, and the reaction principle is set based on the critical reaction energy. For example, only when the sum of the relative translational kinetic energy of the reactant particles A and B in the direction of the center of mass line is greater than the set critical reaction energy, is it considered that the particles A and B are about to react as the reaction of particles C' and particles D'.
[0136] The present disclosure provides different processing methods for determining whether particles A and B react.
[0137] In a specific embodiment, determining whether the colliding particles A and B react and performing corresponding processing according to the determination result includes:
[0138] Step S511, if it is determined that particle A and particle B react, one of particle A and particle B is transferred to particle C', and the other is transferred to particle D', and the speed, particle radius and particle position of particle A, particle B and / or particle C', particle D' after the collision are updated, and the future event list of the hard sphere simulation sub-area is updated;
[0139] Step S512: If it is determined that particle A and particle B do not react, the speed and particle position of particle A and particle B after the collision are updated.
[0140] In step S511, if it is determined that particle A and particle B react, one of particle A and particle B is saved as particle C', and the other is saved as particle D', and the corresponding velocities, particle radii and particle positions of particle A, particle B and / or particle C', particle D' after the collision are updated, and the future event list of the hard sphere simulation sub-area is updated.
[0141] The calculation formula for the initial velocity of particles C' and D' is as follows. Based on the need to satisfy the conservation of momentum and energy before and after the reaction, the initial velocity v of particle C' after the reaction is obtained. C′ and the initial velocity v of particle D′ D′ :
[0142]
[0143]
[0144] Furthermore, the particle radius of particles C' and D' satisfies the third relation,
[0145]
[0146] Among them, t0 and t1 represent the previous moment and current moment of particle motion respectively. and Corresponding to the particle radius at t0 and t1, v r is the particle radius growth rate of particles C' and D', v r >0 and v r <0 indicates that the particle radius change process of the particle is a gradual increase and a gradual decrease process respectively.
[0147] For the HS model, during the simulation system evolution, the HS model compares the current particle radius σ of particle C' or particle D' r With the set critical particle radius or Increase or decrease the particle's σ r That is, in the subsequent evolution of the simulation system, when a particle collides, not only the particle velocity is updated, but also its σ r Also needs to be updated until σ r Change to or The size of is kept consistent, and the particle type is modified accordingly. The particle radius is updated using the above formula (13).
[0148] For PPM, PPM is time-driven and allows particles to overlap. All particles in the PP subregion evolve synchronously with a certain time step. In the subsequent simulation system evolution, when a particle collision event occurs, the particle radius is updated with a certain time step. In this process, v r ≠0, i.e. particle C' or particle D', will be based on the time step and its v r Increase or decrease its σ r , it is possible that σ r Greater than or less than or situation.
[0149] It should be noted that, in the present disclosure, when particles A and B react, the memory blocks storing the physical properties of particles A and B are converted to the physical properties of particles C' and D' and modified accordingly, without completely deleting the reactant particles A and B from the particle list. In fact, if the additional computational overhead is ignored, the memory blocks storing the physical properties of particles A and B can also be completely deleted from the particle list, while adding memory blocks storing the physical properties of particles C' and D'.
[0150] In step S511, updating the future event list of the hard ball simulation sub-area includes:
[0151] Delete the invalid events related to particles A and B, and add events related to particles C' and D'. For example, add collision events or particle radius change events related to particles C' and D'.
[0152] In a specific embodiment, in step S510, determining whether the colliding particles A and B react, and performing corresponding processing according to the determination result further includes:
[0153] Monitor the motion state and particle radius of particle C' and particle D'. When the particle radius of particle C' is equal to the hard sphere radius of particle C and the particle radius of particle D' is equal to the hard sphere radius of particle D, change the particle type number of particle C' to the particle type number corresponding to particle C and change the particle type number of particle D' to the particle type number corresponding to particle D.
[0154] As the simulation proceeds, particles C' and D' may collide with other particles. During the collision, the radii of particles C' and D' will continue to change.
[0155] In step S513, the HS sub-region and the PP sub-region process the particle radius of the particle C' differently.
[0156] For the HS model, the particle's σ is introduced into the event type number of the future event list of the HS model. r Change to exactly equal or When processing this type of event, the HS model needs to update not only the particle type number and σ r , you also need to set the particle's v r = 0. Since the HS model is an event-driven algorithm, it is impossible for σ to occur during the evolution of the simulation system. r Gradually changes to more than Greater than or less than This is because for a certain particle, in its σ rGradual change occurs or The event must have occurred earlier than and or and The time of the event, whichever occurred earlier or Events will be handled with priority.
[0157] For PPM, since PPM is time-driven and allows overlap between particles, all particles in the PP subregion evolve synchronously with a certain time step. r Particles with v ≠ 0 will be based on the time step and their v r Increase or decrease its σ r , it is possible that σ r Greater than or less than or In this case, the algorithm directly changes the particle's σ to r Set to And change the particle type number and particle v accordingly r =0.
[0158] It should be noted that in order to simplify the calculation process, the present disclosure introduces the particle radius growth rate in the physical properties of particles C' and D'. Particles C' and D' gradually change their particle radius during the collision with other particles in the system until the particle radius changes to be consistent with C and D respectively. If the calculation overhead is not considered, the particle radius can also be directly set to be consistent with particles C and D respectively when particles C' and D' are generated.
[0159] In step S510, when the particles that collide are not particle A and particle B, the speed, particle radius and particle position corresponding to each particle after the collision are updated.
[0160] Specifically, when particles collide with each other, based on the conservation principle of momentum and energy before and after the collision, the velocity of the particles at the time of collision is updated, specifically according to equations (9) and (10).
[0161] The present invention discloses a calculation method suitable for application in the HS-PPM coupling algorithm framework for the reaction type A+B→C+D that is commonly found in simple typical reaction types. The method is suitable for efficient and large-scale parallel simulation calculations of chemical reaction systems at the nano-micro scale that include chemical combination reaction types. The method has the advantages of parallel calculation, high calculation efficiency, large calculation scale, wide application range, and the ability to obtain information on the evolution of the entire system.
[0162] The simulation method provided by the present disclosure will be described below with reference to specific embodiments.
[0163] The following examples are all simulated studies on the zeolite molecular sieve ZSM-5 system. ZSM-5 molecular sieve is a high-silicon zeolite, and its crystal structure belongs to the orthorhombic system, contains a ten-membered ring structure, and is composed of eight five-membered rings as the basic structural unit. It has no cage-like cavity, and the skeleton is composed of two cross-type channels, namely, elliptical y-direction straight channels and "Z"-shaped transverse channels. The lattice constant of ZSM zeolite is ZSM-5 zeolite molecular sieve has good hydrothermal stability and is a good shape-selective catalyst, which is widely used in the petrochemical industry. When simulating the evolution of the system, when the sum of the relative translational kinetic energy of the two reactant particles in the direction of the center of mass connection is greater than the set critical energy of the reaction, the reactants will follow:
[0164] A+B→D+E (reaction R1)
[0165] A+C→D+F (reaction R2) is a combination reaction. The critical energies of reactions R1 and R2 are marked as E a1 and E a2 . There are a large number of reactant particles A and B and a small number of reactant particles C in the initial reaction system. Reaction R1 can be considered as the main reaction, while reaction R2 can be considered as a side reaction. Periodic boundary conditions are applied in the x, y and z directions of the reaction system. When a particle leaves the reaction system from a certain direction, it will enter the reaction system from a symmetrical position with the same particle type. For the convenience of discussion and analysis, the mass m of particle A is used in the examples. A (2.66×10 -26 kg), and characteristic time The units of mass, length, and time are dimensionless, and the activation energy E a1 The dimensionless value is 1.0.
[0166] Embodiment 1:
[0167] The critical energies of reactions R1 and R2 are E a1 =1.00 and E a2 =1.50. The initial particles in the simulation system are reactant particles A, B and C, and the products after the reaction are particles D, E and F. When the simulation system is initialized, the reactant particles A, B and C are randomly distributed in the straight channels of the zeolite molecular sieve in the y direction. The gas loading of the simulation system is set to an average of 6 gas molecules per zeolite molecular sieve unit cell, and the reaction temperature is set to 573K. The number of zeolite unit cells included in the reaction model is 9×9×9 (18.09×17.91×12.06nm 3). The mass m of the particle is set based on the mass conservation before and after the reaction. The effective hard sphere radius σ of the particle HS is proportional to the particle’s m. That is, the larger the particle’s m, the larger its σ HS The larger the number of particles, the larger the number of particles. After the simulation system is initialized, the program starts to calculate. When it is detected that the number of particles A, B and C in the system is 0, the reaction process is considered to be completed, the system evolution is over, and the statistical results are output. The simulation results show that the change in the number of particles before and after the reaction conforms to the preset reaction relationship, which verifies the correctness of the simple typical reaction implemented by the algorithm. The particle m, σ HS The number of particles n0 when the simulation system is initialized and the number of particles n1 after the system evolution is completed are shown in Table 1.
[0168] Table 1 The mass, effective hard sphere radius, number before reaction and number after reaction of particles in the simulation system (Example 1)
[0169]
[0170] Note: m, σ HS , n0, and n1 are the mass of the particle, the effective hard sphere radius, the number of particles before the reaction, and the number of particles after the reaction, respectively.
[0171] Embodiment 2:
[0172] The critical energies of reactions R1 and R2 are E a1 =1.00 and E a2 =1.40. The initial particles in the simulation system are reactant particles A, B and C, and the products after the reaction are particles D, E and F. When the simulation system is initialized, the reactant particles A, B and C are randomly distributed in the straight channels of the zeolite molecular sieve in the y direction. The gas loading of the simulation system is set to an average of 5 gas molecules per zeolite molecular sieve unit cell, and the reaction temperature is set to 623K. The number of zeolite unit cells included in the reaction model is 12×12×12 (24.12×23.88×16.08nm 3 ). The mass m of the particle is set based on the mass conservation before and after the reaction. The effective hard sphere radius σ of the particle HS is proportional to the particle’s m. That is, the larger the particle’s m, the larger its σ HS The larger the number of particles, the larger the number of particles. After the simulation system is initialized, the program starts to calculate. When it is detected that the number of particles A, B and C in the system is 0, the reaction process is considered to be completed, the system evolution is over, and the statistical results are output. The simulation results show that the change in the number of particles before and after the reaction conforms to the preset reaction relationship, which verifies the correctness of the simple typical reaction implemented by the algorithm. The particle m, σ HS The number of particles n0 when the simulation system is initialized and the number of particles n1 after the system evolution is completed are shown in Table 2.
[0173] Table 2 The mass, effective hard sphere radius, number before reaction and number after reaction of particles in the simulation system (Example 2)
[0174]
[0175] Note: m, σ HS , n0, and n1 are the mass of the particle, the effective hard sphere radius, the number of particles before the reaction, and the number of particles after the reaction, respectively.
[0176] Embodiment 3:
[0177] The critical energies of reactions R1 and R2 are E a1 =1.00 and E a2 =2.00. The initial particles in the simulation system are reactant particles A, B and C, and the products after the reaction are particles D, E and F. When the simulation system is initialized, the reactant particles A, B and C are randomly distributed in the straight channels of the zeolite molecular sieve in the y direction. The gas loading of the simulation system is set to an average of 7 gas molecules per zeolite molecular sieve unit cell, and the reaction temperature is set to 473K. The number of zeolite unit cells included in the reaction model is 10×10×10(20.10×19.90×13.40nm 3 ). The mass m of the particle is set based on the mass conservation before and after the reaction. The effective hard sphere radius σ of the particle HS is proportional to the particle’s m. That is, the larger the particle’s m, the larger its σ HS The larger the number of particles, the larger the number of particles. After the simulation system is initialized, the program starts to calculate. When it is detected that the number of particles A, B and C in the system is 0, the reaction process is considered to be completed, the system evolution is over, and the statistical results are output. The simulation results show that the change in the number of particles before and after the reaction conforms to the preset reaction relationship, which verifies the correctness of the simple typical reaction implemented by the algorithm. The particle m, σ HS The number of particles n0 when the simulation system is initialized and the number of particles n1 after the system evolution is completed are shown in Table 3.
[0178] Table 3 The mass, effective hard sphere radius, number before reaction and number after reaction of particles in the simulation system (Example 3)
[0179]
[0180] Note: m, σ HS , n0, and n1 are the mass of the particle, the effective hard sphere radius, the number of particles before the reaction, and the number of particles after the reaction, respectively.
[0181] Embodiment 4:
[0182] The critical energies of reactions R1 and R2 are E a1=1.00 and E a2 =1.20. The initial particles in the simulation system are reactant particles A, B and C, and the products after the reaction are particles D, E and F. When the simulation system is initialized, the reactant particles A, B and C are randomly distributed in the straight channels of the zeolite molecular sieve in the y direction. The gas loading of the simulation system is set to an average of 4 gas molecules per zeolite molecular sieve unit cell, and the reaction temperature is set to 673K. The number of zeolite unit cells included in the reaction model is 13×13×13 (26.13×25.87×17.42nm 3 ). The mass m of the particle is set based on the mass conservation before and after the reaction. The effective hard sphere radius σ of the particle HS is proportional to the particle’s m. That is, the larger the particle’s m, the larger its σ HS The larger the number of particles, the larger the number of particles. After the simulation system is initialized, the program starts to calculate. When it is detected that the number of particles A, B and C in the system is 0, the reaction process is considered to be completed, the system evolution is over, and the statistical results are output. The simulation results show that the change in the number of particles before and after the reaction conforms to the preset reaction relationship, which verifies the correctness of the simple typical reaction implemented by the algorithm. The particle m, σ HS The number of particles n0 when the simulation system is initialized and the number of particles n1 after the system evolution is completed are shown in Table 4.
[0183] Table 4 The mass, effective hard sphere radius, number before reaction and number after reaction of particles in the simulation system (Example 4)
[0184]
[0185] Note: m, σ HS , n0, and n1 are the mass of the particle, the effective hard sphere radius, the number of particles before the reaction, and the number of particles after the reaction, respectively.
[0186] It should be noted that, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in the specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc., which shall all be considered as part of the present disclosure.
[0187] It should be understood that the present disclosure does not limit its application to the detailed structure and arrangement of the components proposed in this specification. The present disclosure can have other embodiments and can be implemented and executed in a variety of ways. The aforementioned variations and modifications fall within the scope of the present disclosure. It should be understood that the present disclosure disclosed and defined in this specification extends to all alternative combinations of two or more individual features mentioned or apparent in the text and / or the drawings. All these different combinations constitute multiple alternative aspects of the present disclosure. The embodiments of this specification illustrate the best mode known for implementing the present disclosure and will enable those skilled in the art to utilize the present disclosure.
Claims
1. A hard sphere-pseudo-particle coupling simulation method for the A+B→C+D reaction type, It is characterized in that include: Obtaining the particle attribute parameters of each of particles A, B, C and D, and setting the particle attribute parameters of particles C' and D', where C' and D' are intermediate products in the reaction process, and the particle attribute parameters include particle mass, particle hard sphere radius, particle type number and particle radius growth rate; Setting model parameters of the reaction model, as well as the particle numbers and reaction parameters of the particle A, particle B, particle C', particle D', particle C and particle D, wherein the model parameters include a model reaction temperature, a process number and a model geometric parameter; Based on the model parameters of the reaction model and the particle property parameters of the particle A and the particle B, determine the initial velocity and initial position of the particle A and the particle B respectively; According to the model parameters, the reaction model is divided into process division, grid division, hard sphere simulation sub-area division and pseudo-particle simulation sub-area division, and a future event list is established for the hard sphere simulation sub-area; Starting a simulation calculation process, detecting the reaction states, particle radius and particle position changes of the particles A, B, C', D', C and D, and counting the number of each particle. When the number of the particle A or the particle B is 0, ending the calculation process; The starting simulation calculation process, detecting the reaction state, particle radius and particle position change process of each of the particles A, B, C', D', C and D, and counting the number information of each particle, when the number of the particle A or the particle B is 0, ending the calculation process includes: Detect whether there is a particle collision. When two particles are detected to have collided, each particle satisfies the first relationship before and after the collision. And the second relation The subscripts 1 and 2 are used to distinguish the particles that collide. 1 、r 2 represents the position vector of the particle before collision, v 1 、v 2 represents the velocity vector of the particle before collision, v' 1 、v' 2 represents the velocity vector of the particle after collision, e represents the collision recovery coefficient, m 1 、m 2 Represents the mass of the particle at the time of collision.
2. The hard sphere-pseudo-particle coupling simulation method of the A+B→C+D reaction type according to claim 1, It is characterized in that The method further comprises the following steps: obtaining the particle attribute parameters of each of particles A, B, C and D, and setting the particle attribute parameters of particles C' and D', wherein C' and D' are intermediate products in the reaction process, and the particle attribute parameters include particle mass, particle hard sphere radius, particle type number and particle radius growth rate: The particle attribute parameters are dimensionally processed.
3. The hard sphere-pseudo-particle coupling simulation method of the A+B→C+D reaction type according to claim 1, It is characterized in that Determining the initial velocity and initial position of each of the particles A and B based on the model parameters of the reaction model and the particle attribute parameters of each of the particles A and B comprises: Obtaining the initial velocity of the particle A and the particle B according to the model reaction temperature of the reaction model and the particle masses of the particle A and the particle B; According to the model geometric parameters of the reaction model, the initial positions of the particle A and the particle B are obtained.
4. The hard sphere-pseudo-particle coupling simulation method of the A+B→C+D reaction type according to claim 1, It is characterized in that There are multiple hard sphere simulation sub-areas, and the multiple hard sphere simulation sub-areas are connected through the pseudo-particle simulation sub-areas.
5. The hard sphere-pseudo-particle coupling simulation method of the A+B→C+D reaction type according to claim 4, It is characterized in that The step of dividing the reaction model into processes, grids, hard sphere simulation sub-areas and pseudo-particle simulation sub-areas according to the model parameters, and establishing a future event list for the hard sphere simulation sub-areas includes: Dividing the reaction model into a plurality of submodules based on the number of processes, each process being responsible for simulation calculation of one of the submodules; Performing grid division on each of the submodules, so that the boundary area of each submodule is the pseudo-particle sub-area, the remaining area is the hard sphere simulation sub-area, and the pseudo-particle sub-area surrounds the hard sphere simulation sub-area; A list of future events is established for the hard sphere simulation sub-region.
6. The hard sphere-pseudo-particle coupling simulation method of the A+B→C+D reaction type according to claim 5, It is characterized in that The starting simulation calculation process, detecting the reaction state, particle radius and particle position change process of each of the particles A, B, C', D', C and D, and counting the number information of each particle, when the number of the particle A or the particle B is 0, the ending calculation process also includes: Determine the type of particles that collided; When the particles that collide are the particle A and the particle B, according to a preset reaction principle, it is determined whether the particles A and the particle B that collide react, and corresponding processing is performed according to the determination result, and the reaction principle is set according to the reaction parameter; when the particles that collide are not the particle A and the particle B, the speed, particle radius and particle position corresponding to each particle after the collision are updated; The number information of each type of particles is counted, and when the number of the particle A or the particle B is 0, the calculation process ends.
7. The hard sphere-pseudo-particle coupling simulation method of the A+B→C+D reaction type according to claim 6, It is characterized in that The determining whether the colliding particles A and B react and performing corresponding processing according to the determination result includes: If it is determined that the particle A and the particle B react, one of the particle A and the particle B is transferred to particle C', and the other is transferred to particle D', and the speed, particle radius and particle position of the particle A, the particle B and / or the particle C', the particle D' after the collision are updated, and the future event list of the hard sphere simulation sub-area is updated; If it is determined that the particle A and the particle B do not react, the speed and particle position corresponding to the particle A and the particle B after the collision are updated.
8. The hard sphere-pseudo-particle coupling simulation method of the A+B→C+D reaction type according to claim 7, It is characterized in that The particle radius of the particle C' and the particle D' satisfies the third relationship, Among them, t 0 and t 1 Respectively represent the last moment and the current moment of the particle motion, and Corresponding to the particles at t 0 and t 1 The particle radius at time v r is the particle radius growth rate of the particle C' and the particle D', v r >0 and v r <0 indicates that the particle radius change process of the particle is a gradual increase and a gradual decrease process respectively.
9. The hard sphere-pseudo-particle coupling simulation method of the A+B→C+D reaction type according to claim 8, It is characterized in that The determining whether the colliding particles A and B react and performing corresponding processing according to the determination result also includes: Monitor the motion state and particle radius of particle C' and particle D'. When the particle radius of particle C' is equal to the hard sphere radius of particle C, and the particle radius of particle D' is equal to the hard sphere radius of particle D, change the particle type number of particle C' to the particle type number corresponding to particle C, and change the particle type number of particle D' to the particle type number corresponding to particle D.
10. The hard sphere-pseudo-particle coupling simulation method of the A+B→C+D reaction type according to claim 7, It is characterized in that A list of future events to update the hard-sphere simulation sub-area include: The invalid events related to the particles A and B are deleted, and the events related to the particles C' and D' are added.
Citation Information
Patent Citations
Computational method for designing chemical structures having common functional characteristics
CA2247391A1
Parallel computing method based on hard-sphere model
CN102760116A
Three-dimensional space multi-particle filling dynamics simulation method
CN111883215A
Computer analogue simulation method and device for substances and materials
CN112071371A
Analysis method of molecular chemical reaction
JP2021082066A
