Hard Sphere-Pseudo-Particle Coupling Simulation Method for Chemical Reaction Type
By dividing the hard sphere simulation sub-area and the quasi-particle simulation sub-area in the hard sphere-quasi-particle coupling algorithm, and using event-driven and time-driven methods, the problem of low computational efficiency of the coupling mechanism of diffusion and reaction processes at the nanoscale is solved, and the problem is achieved. Efficient parallel computing and acquisition of system-wide evolution information.
Patent Information
- Application Number
- CN202110637374.4
- 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, and lacks the implementation of simple typical reaction kinetic models, which limits its application in this field.
A hard sphere-quasi-particle coupling simulation method of the chemical reaction type is proposed. By dividing the hard sphere simulation sub-area and the quasi-particle simulation sub-area, event-driven and time-driven methods are used to ignore the mutual attraction between particles and only evolve quasi-particles synchronously. Particles in the particle sub-area reduce the amount of calculation and improve calculation efficiency.
It realizes efficient and parallel computing, can simulate the chemical reaction process at the nano-micro scale, obtain the evolution information of the whole system, and improves the computing efficiency and scope of application.
Smart Images

Figure CN113362907B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of classical molecular dynamics simulation calculation, and in particular to a hard sphere-pseudo-particle coupling simulation method of a chemical 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 (Soft-Sphere) 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 a chemical 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 a chemical reaction type is provided, comprising:
[0009] Obtain the particle attribute parameters of each of particles A, B and C, and set the particle attribute parameters of particle C', A+B→C, C' is an intermediate product in the chemical 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 chemical reaction model, as well as the particle numbers and reaction parameters of the particle A, particle B, particle C' and particle C, 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 chemical 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 chemical 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 to detect the reaction states, particle radius and particle position changes of each particle A, particle B, particle C and particle C', and count the number information of each particle. When the number of particle A or particle B is 0, the calculation result is output.
[0014] In an exemplary embodiment of the present disclosure, the particle property parameters of each of particles A, B and C are obtained, and the particle property parameters of particle C' are set, A+B→C, C' is an intermediate product in the chemical 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 model parameters based on the chemical reaction model and the particle property parameters of the particles A and B, respectively, obtaining the initial velocity and initial position of the particles A and B respectively comprises:
[0017] Obtaining the initial velocity of the particle A and the particle B according to the model reaction temperature of the chemical reaction model and the particle masses of the particle A and the particle B;
[0018] According to the model geometric parameters of the chemical 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 performing process division, grid division, hard sphere simulation sub-area division and pseudo-particle simulation sub-area division on the chemical reaction model according to the model parameters, and establishing a future event list for the hard sphere simulation sub-area includes:
[0021] Dividing the chemical reaction model into a plurality of submodules based on the number of processes, each process being responsible for the 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 simulation calculation process is started, the reaction state, particle radius and particle position change process of each of the particles A, B, C and C' 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 output calculation result 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] Count the number of each type of particles, and when the number of particle A or particle B is 0, output the calculation result.
[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 particles A and B that collided is deleted, and the other is saved as the particle C', and the corresponding speeds, particle radii and particle positions of the particles A, B and / or C' 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 particles A and B do not react, the corresponding speeds, particle radii and particle positions of the particles A and B after the collision are updated.
[0030] In an exemplary embodiment of the present disclosure, when the particle A reacts with the particle B, the particle A, the particle B and the particle C' satisfy the first relation: And the second relation
[0031] Where E is the surplus energy, E>0, m A and m B are the particle masses of particle A and particle B before collision, V A 、V B are the velocities of particle A and particle B before collision, mC' is the mass of particle C' after the reaction, V C is the velocity of particle C' after the reaction.
[0032] In an exemplary embodiment of the present disclosure, when the particle A and the particle B react, the particle radii of the particle A and the particle B are compared, the one with the larger particle radius is deleted, and the one with the smaller particle radius is transferred to particle C'.
[0033] In an exemplary embodiment of the present disclosure, in the pseudo-particle sub-area, when the particle A and the particle B react, and the particle A and the particle B are not in the same process, the particle radius of the particle A and the particle B are compared in the current time step, and the particle with the larger particle radius is marked, and before the states of all particles in the pseudo-particle sub-area are synchronously evolved in the next time step, the marking information of all particles is detected and the marked particles are deleted.
[0034] In an exemplary embodiment of the present disclosure, the particle radius variation of the particle C' satisfies the third relational expression:
[0035]
[0036] 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', v r >0 and v r <0 respectively indicates that the particle radius change process of the particle is a gradual increase and a gradual decrease process.
[0037] 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:
[0038] The motion state and particle radius of particle C' are monitored, and when the particle radius of particle C' is equal to the hard sphere radius of particle C, the particle type number of particle C' is changed to the particle type number corresponding to particle C.
[0039] In an exemplary embodiment of the present disclosure, updating the future event list of the hard ball simulation sub-area includes:
[0040] The invalid events related to the particles A and B are deleted, and the events related to the particle C' are added.
[0041] The hard sphere-pseudo-particle coupling simulation method of the chemical 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 chemical 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, and it is not necessary to synchronously evolve 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 chemical reaction system whose reaction process conforms to A+B→C. It only needs to update the particle attribute parameters of the particles and the model parameters of the chemical reaction model according to the specific reaction substances, and has strong versatility. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] 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.
[0043] Figure 1 It is a schematic flow chart of the hard sphere-pseudo-particle coupling simulation method in the exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0044] 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.
[0045] 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.
[0046] 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.
[0047] 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.
[0048] 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.
[0049] The hard sphere-pseudo-particle coupling simulation method of the chemical reaction type provided in the present invention is suitable for studying the gas-solid microscopic chemical reaction process occurring at the nano-micro scale, and can provide technical support for simulating the diffusion and reaction coupling process 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.
[0050] 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.
[0051] like Figure 1 As shown, the present disclosure provides a hard sphere-pseudo-particle coupling simulation method of a chemical reaction type, which is suitable for simulating and studying a complex chemical reaction system including a chemical reaction network composed of multiple chemical 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:
[0052] Step S100, obtaining the particle attribute parameters of each of particle A, particle B and particle C, and setting the particle attribute parameters of particle C', A+B→C, C' is an intermediate product in the chemical reaction process, and the particle attribute parameters include particle mass, particle hard sphere radius, particle type number and particle radius growth rate;
[0053] Step S200, setting model parameters of the chemical reaction model, as well as the particle numbers and reaction parameters of particle A, particle B, particle C' and particle C, the model parameters including model reaction temperature, process number and model geometric parameters;
[0054] Step S300, determining the initial velocity and initial position of particle A and particle B respectively based on the model parameters of the chemical reaction model and the particle attribute parameters of particle A and particle B respectively;
[0055] Step S400, according to the model parameters, the chemical 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;
[0056] Step S500, start the simulation calculation process, detect the reaction state, particle radius and particle position change process of each particle A, particle B, particle C and particle C', and count the number information of each particle. When the number of particle A or particle B is 0, output the calculation result.
[0057] The hard sphere-pseudo-particle coupling simulation method of the chemical 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 chemical 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, and it is not necessary to synchronously evolve 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 chemical reaction system whose reaction process conforms to A+B→C. It only needs to update the particle attribute parameters of the particles and the model parameters of the chemical reaction model according to the specific reaction substances, and has strong versatility.
[0058] The following describes in detail the steps of a hard sphere-pseudo-particle coupling simulation method of a chemical reaction type provided by an embodiment of the present disclosure in conjunction with the accompanying drawings.
[0059] Step S100, obtain the particle attribute parameters of each particle A, particle B and particle C, and set the particle attribute parameters of particle C', A+B→C, C' is the intermediate product in the chemical reaction process, and the particle attribute parameters include particle mass, particle hard sphere radius, particle type number and particle radius growth rate.
[0060] In step S100, in a chemical reaction, reactant A reacts with reactant B to finally generate product C. C' is an intermediate product in the chemical reaction process. In the present disclosure, C' is defined as a stored product.
[0061] Particle attribute parameters are parameters related to particles in chemical reactions, 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, and the particle type number of particle C' is 4. 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' is set according to the actual situation.
[0062] In some embodiments of the present disclosure, step S100 includes:
[0063] Step S110, setting the particle mass and particle radius growth rate of particle C' according to the particle mass and particle hard sphere radius of particle C.
[0064] Particle C' is a storage product. In this step, the particle mass of particle C' is set according to the mass of particle C. Specifically, 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 and particle hard sphere radius of each particle A, particle B and particle C 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 chemical reaction. It should be noted that in the subsequent simulation process, only the particle radius of particle C' changes with the passage of time.
[0065] In some embodiments, before step S100, the method further includes:
[0066] Step S100-0, establishing a reaction model of a chemical reaction.
[0067] In step S100-0, a reaction model of a chemical reaction is established to determine the motion simulation space of particles in the chemical reaction A+B→C. The reaction model corresponding to the chemical reaction may include a single simulation space or multiple identical or different simulation spaces. For example, SAPO-34 is a molecular sieve with a chabazite-type structure, whose skeleton is mainly composed of silicoaluminophosphate, and has an ellipsoidal CHA cage composed of double six-membered rings, eight-membered rings and four-membered rings, and a three-dimensional cross-pore structure. The SAPO-34 molecular sieve has both special water absorption properties and proton acidity, and good hydrothermal stability, so that it can be used as an adsorbent and catalyst carrier. It can be used for shape-selective catalytic reactions of small molecules, such as as a catalyst for methanol to olefins, and can also be used as a catalyst carrier for automobile exhaust purification. Therefore, for the zeolite molecular sieve SAPO-34 system, the pore structure of the SAPO-34 molecular sieve can be simulated, and a reaction model containing a unique pore configuration can be established to simulate the diffusion, adsorption and other behaviors of particles in nano-micro pores in the chemical reaction. It should be noted here that this step can be a reaction model established based on a real pore structure, or it can be a simplified reaction model, such as directly establishing a rectangular pore model, which is not specifically limited in the present disclosure.
[0068] In some embodiments, after step S100, the method further includes:
[0069] Step S100-1, dimensionless processing is performed on particle attribute parameters.
[0070] 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 to facilitate subsequent analysis and discussion. In addition, when the particle attribute parameters also include parameters such as time and speed, the time and speed 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.
[0071] In other embodiments, the particle mass and particle hard sphere radius of particle B or particle C may also be used to perform infinite toughening treatment on the particle mass and particle hard sphere radius of other particles, and the present disclosure does not limit this.
[0072] In step S200, model parameters of the chemical reaction model, as well as the particle numbers and reaction parameters of particle A, particle B, particle C' and particle C are set. The model parameters include model reaction temperature, process number and model geometric parameters.
[0073] In this step, model parameters refer to parameters related to the overall chemical reaction model, such as the reaction temperature, process number and model geometry 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 geometry parameters include the overall geometric structure and geometric dimensions of the reaction model, 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 that the model geometry parameters may also include geometric data such as the volume and surface area of the model, which can be specifically set according to the actual simulation requirements, and the present disclosure does not limit this.
[0074] 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' is 0, and the number of particles C 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 chemical reaction proceeds step by step, and the number of each particle is also gradually changing.
[0075] Reaction parameters refer to parameters related to the chemical reaction process, such as critical reaction energy. The present disclosure introduces critical reaction 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 critical reaction energy.
[0076] In step S300, based on the model parameters of the chemical reaction model and the particle property parameters of the particles A and B, the initial speed and initial position of the particles A and B are determined.
[0077] In a chemical reaction, reactant A and reactant B react to generate product C. In this step, the initial velocity and initial position of reactant particles A and B are determined based on the model parameters of the chemical reaction model and the particle property parameters of particles A and B.
[0078] In some embodiments, step S300 includes:
[0079] Step S310, determining the initial velocity of particle A and particle B based on the model reaction temperature of the chemical reaction model and the particle masses of particle A and particle B;
[0080] Step S320, determining the initial positions of particle A and particle B based on the model geometric parameters of the chemical reaction model.
[0081] 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: (3D system), (2D system), 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:
[0082]
[0083]
[0084]
[0085] 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.
[0086] Based on the above, the initial velocities of particle A and particle B can be obtained.
[0087] In step S320, the initial positions of particle A and particle B are determined based on the model geometric parameters of the chemical reaction model.
[0088] 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.
[0089] 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.
[0090] In step S400, the chemical 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.
[0091] In this step, the entire chemical 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 chemical 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.
[0092] 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.
[0093] In some embodiments of the present disclosure, step S400 includes:
[0094] Step S410, dividing the reaction model into multiple submodules based on the number of processes, and each process is responsible for the simulation calculation of one submodule;
[0095] 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;
[0096] Step S430: Create a future event list for the hard ball simulation sub-area.
[0097] 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.
[0098] 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.
[0099] 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.
[0100] 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.
[0101] 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.
[0102] In step S430, a future event list is created for the hard ball simulation sub-area.
[0103] 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.
[0104] 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.
[0105] 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 particle C', then we need to consider the particle's σ r The change 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 .
[0106] 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:
[0107]
[0108] 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:
[0109] r 1 =r 0 +v×Δt (5)
[0110] 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:
[0111]
[0112] 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:
[0113]
[0114] Among them, v r1 and v r2 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:
[0115]
[0116] 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.
[0117] 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.
[0118] 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.
[0119] In step S500, the simulation calculation process is started to detect the reaction state, particle radius and particle position change process of each particle A, particle B, particle C and particle C', and count the number information of each particle. When the number of particle A or particle B is 0, the calculation result is output.
[0120] In this step, the simulation calculation process is started. As time goes by, particle A and particle B will react to generate particle C', and then particle C' will gradually change to particle C. In this process, the reaction state and particle position of each particle will continue to change. The particle radius of particle A and particle B will not change, and the particle radius of particle C' will continue to change. The number of each particle will also continue to change in this process until the number of particle A or particle B is 0, the reaction ends, and the simulation calculation process ends.
[0121] In some embodiments, step S500 includes:
[0122] 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;
[0123] 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;
[0124] Step S520, counting the number information of each type of particles, when the number of particle A or particle B is 0, outputting the calculation result.
[0125] 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.
[0126] In the entire chemical reaction system of A+B→C, there may be particles A, B, C' and C' 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.
[0127] Whether the colliding particles A and B react can be judged 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 will react to form the particle C'.
[0128] The present disclosure provides different processing methods for determining whether particles A and B react.
[0129] In a specific embodiment, determining whether the colliding particles A and B react and performing corresponding processing according to the determination result includes:
[0130] Step S511, if it is determined that particle A and particle B react, then delete one of the particles A and B that collided, and save the other as particle C', and update the speed, particle radius and particle position of particle A, particle B and / or particle C' after the collision, and update the future event list of the hard sphere simulation sub-area;
[0131] Step S512: If it is determined that particle A and particle B do not react, the speed, particle radius and particle position of particle A and particle B after the collision are updated.
[0132] In step S511, if it is determined that particle A and particle B react, one of the colliding particles A and B is deleted, and the other is saved as particle C', and the corresponding velocities, particle radii and particle positions of particles A, B and / or C' after the collision are updated, and the future event list of the hard sphere simulation sub-area is updated.
[0133] Regarding the reaction between particle A and particle B to generate particle C', particles A, B and C' satisfy the first relationship
[0134]
[0135] And the second relation
[0136]
[0137] Where E is the surplus energy, E>0, m A and m B are the particle masses of particle A and particle B at the time of collision, V A 、V B are the velocities of particle A and particle B at the time of collision, m C’ is the particle mass of particle C' when the reaction occurs, V C is the velocity of particle C' when the reaction occurs.
[0138] According to the above formula (9), the initial velocity of the particle C' can be determined, and the formula (10) can be used to determine the velocity of the particle C' after the collision in the subsequent collision process.
[0139] Specifically in one embodiment, E is introduced as a physical property of the particle into the memory block of the storage information of the particle C'. That is, the energy term energy is added to the physical properties of each particle. In general, the energy of the particle = 0, but for the newly generated particle C' after the chemical reaction, its energy = E. The surplus energy E stored in the particle C' can be released once when the particle C' collides with other particles, or released in a certain proportion during multiple collisions. When processing a particle collision event, it is necessary to first detect the energy of the particle. If energy>0, it is necessary to add the existing energy value of the particle to the left side of the energy conservation equation, and add the remaining energy value of the particle to the right side of the equation. Then, by solving the energy conservation and momentum conservation equations, the velocity of the particle after the collision can be obtained. Taking the release of all E in one collision as an example, the momentum conservation equation is:
[0140] m1v1+m2v2=m1v'1+m2v'2 (11)
[0141] The energy conservation equation before and after the reaction can be described as:
[0142]
[0143] Solving equations (11) and (12), we obtain the velocity of the particle after the collision:
[0144]
[0145]
[0146] Among them, j represents the unit vector of the impulse when the particle collides, which can be expressed as:
[0147]
[0148] J represents the impulse of the particle collision. By solving equations (11) and (12), we get the expression:
[0149]
[0150] According to the root-finding formula, the expression of Δ is:
[0151]
[0152] It can be seen from this that the conservation equation includes the surplus energy E term, and the explicit expressions for v1' and v2' cannot be obtained.
[0153] Further, in step S511, the particle radius change of particle C′ satisfies the third relational expression,
[0154]
[0155] 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 particle C', v r >0 and v r <0 respectively indicates that the particle radius change process of the particle is a gradual increase and a gradual decrease process.
[0156] In this step, in order to avoid the overlap of the positions of the newly generated particles with the surrounding particles, the particle radius growth rate parameter (v r ). First, compare the particle radius σ of the reactant particles A and B. r , and delete σ r Larger reactant particles. For example, if σ rA <σ rB , then the position coordinates and particle radius of particle A are set to the position coordinates and particle radius of the generated particle C′ to avoid the particle σ r The advantage of this approach is that it does not need to detect whether the generated object overlaps with the existing particles around it, which greatly saves the amount of calculation caused by searching for the appropriate generated position.
[0157] In step S511, when particle A reacts with particle B, the particle radius of particle A and particle B before the reaction can be compared, the particle with the larger radius is deleted, and the particle with the smaller radius is transferred to particle C'. At the same time, the particle attribute parameters of the particle are also transferred to the particle attribute parameters of particle C'. Specifically, the memory block storing the physical attributes of particle B (or A) is converted to the physical attributes storing particle C' and modified accordingly.
[0158] For the PP sub-area, based on the position coordinates of the reactants, this area deletes particle A or particle B and transfers it to particle C', and handles it in two cases. One case is that the reactant particles A and B are in the same process. A processing method similar to the HS model can be used to complete the particle deletion operation in the current time step. This is because the change in the number of particles in the chemical reaction is to delete particles, not to add particles, and there will be no situation where the newly added particles are not in the current process. Another case is that the reactant particles A and B are not in the same process. The processing method for this case is to compare the particle radius of particles A and B before the reaction in the current time step, and mark the particles with larger particle radius. Before the state of all particles in the pseudo-particle sub-area is synchronously evolved in the next time step, the marking information of all particles is detected and the marked particles are deleted. Specifically, a mark Comflag is introduced in the storage of the physical properties of each particle, and in general, the particle Comflag=0, and only the particle that needs to be deleted has Comflag=1. When processing the chemical reaction in the current time step, the particle radius σ of the reactant is first compared r , and σ r The larger reactant particles are marked as particles to be deleted. For example, if σ rA <σ rB , then set Comflag of particle B to 1. At the same time, modify the physical properties of the reactant particle A stored in the memory block to the physical properties of the storage particle C′. Then, the speed of particle C′ is obtained according to formula (9), and the excess energy E is stored in particle C′. In this way, all relevant operations on the chemical reaction in the current time step are completed. After entering the PP sub-area in the next time step, before synchronously evolving the states of all particles in the PP sub-area, first check the Comflag of the particle. If Comflag of the particle is 1, the particle is completely deleted from the particle list of the grid unit where it is located. This processing method can avoid the situation where the number of particles sent and received is inconsistent when transmitting particle information between adjacent processes. In addition, this processing method simplifies the calculation process and improves the calculation efficiency.
[0159] It should be noted here that, if the computational cost and computational time are not considered, the PP sub-area can also completely adopt the same processing method as the HS sub-area to complete the particle deletion operation at the current time step. In addition, in order to save computational overhead, when particles A and B undergo a chemical reaction, the present disclosure only needs to delete particle A (or B), convert the memory block storing the physical properties of particle B (or A) into the physical properties storing particle C' and make corresponding modifications, without completely deleting the reactant particles A and B from the particle list. In fact, if the additional computational overhead is not taken into account, the memory block storing the physical properties of particles A and B can also be completely deleted from the particle list, while adding the memory block storing the physical properties of particle C'.
[0160] In step S511, updating the future event list of the hard ball simulation sub-area includes:
[0161] Delete invalid events related to particles A and B, and add events related to particle C'. For example, add a collision event or a particle radius change event related to particle C'.
[0162] 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:
[0163] Step S513, monitoring the motion state and particle radius of particle C', when the particle radius of particle C' is equal to the hard sphere radius of particle C, changing the particle type number of particle C' to the particle type number corresponding to particle C.
[0164] As the simulation proceeds, particle C' may collide with other particles. During the collision, the radius of particle C' will continue to change.
[0165] In step S513, the HS sub-region and the PP sub-region process the particle radius of the particle C' differently.
[0166] For the HS sub-region, in the subsequent simulation evolution of the chemical reaction system, the HS model will be based on the existing particle radius σ r and the particle radius of particle C , and accordingly increase or decrease the σ of the particle r That is, when the particle collides with other particles later, its σ r , until the relationship is satisfied The particle type of the product precursor is updated to the particle type of the corresponding product. Therefore, the particle σ is introduced into the event type list of the HS model. r Change to exactly equal When processing this type of event, it is necessary not only to update the particle type and σr , you also need to set v r = 0. Because the HS model is event-driven, it is impossible for the system to simulate the evolution process. or This is because for a certain particle, The event must have occurred earlier than and The HS model will prioritize events that occurred earlier. of events.
[0167] For the PP sub-area, since PPM allows particles to overlap, before synchronously updating the states of all particles, firstly, according to v r Update the particle's σ r By detecting the v r Whether it is 0, determine whether the particle's σ needs to be changed r Only when the particle's v r ≠0, the particle's σ needs to be updated accordingly r To time t1. Since PPM is time-driven, it is possible that or In any case, you need to set And modify the particle type parameters and set the particle's v r =0.
[0168] It should be noted that, in order to simplify the calculation process, the present disclosure deletes a reactant particle from the particle list when performing a chemical reaction, and marks another reactant particle as a product particle C', and the particle radius of particle C' gradually changes based on the particle radius change rate during the subsequent collision with other particles in the system until the particle radius C'=C. In fact, if the calculation overhead is not considered, particle C can also be directly generated instead of particle C'.
[0169] 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.
[0170] 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:
[0171]
[0172]
[0173] Among them, e, m, r, and v represent the coefficient of restitution, particle mass, particle position, and velocity of the collision, respectively. Generally, e=1.0 in a rigid collision, and the colliding particles are distinguished by subscripts 1 and 2.
[0174] The present invention discloses a calculation method suitable for application in the HS-PPM coupling algorithm framework for the commonly existing chemical combination reaction type A+B→C 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 contain 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.
[0175] The simulation method provided by the present disclosure will be described below with reference to specific embodiments.
[0176] The following embodiments are all simulated studies on the zeolite molecular sieve SAPO-34 system. SAPO-34 is a molecular sieve with a chabazite-like structure, whose skeleton is mainly composed of silicoaluminophosphate, with an ellipsoidal CHA cage composed of double six-membered rings, eight-membered rings and four-membered rings, and a three-dimensional cross-channel structure. SAPO-34 molecular sieve has both special water absorption and proton acidity, and good hydrothermal stability, so that it can be used as an adsorbent and catalyst carrier. It can be used for shape-selective catalytic reactions of small molecules, such as as a catalyst for methanol to olefins, and can also be used as a catalyst carrier for automobile exhaust purification. When the sum of the relative translational kinetic energy of the two reactant particles that collide in the direction of the center of mass line is greater than the set critical energy of the reaction, the reactants are in accordance with:
[0177] A+B→C (Reaction R1)
[0178] A+C→D (reaction R2) is a chemical 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 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), (0.341nm) and characteristic time (0.322ps) The units of mass, length, and time are dimensionless, and the activation energy E a1 The dimensionless value is 1.0.
[0179] Embodiment 1:
[0180] The critical energies of reactions R1 and R2 are E a1 =1.00 and E a2 =1.20. The initial reactants in the system are particles A and B, and the products after the chemical reaction are particles C and D. Before the evolution of the simulation system, the reactant particles A and B are randomly distributed in the pores of the zeolite molecular sieve. The gas loading of the simulation system is set to an average of 4 gas molecules per zeolite molecular sieve unit cell. In the constructed reaction model, the number of zeolite unit cells is 8×8×8 unit cells. The reaction temperature of the simulation system is set to 623K. The mass m and effective hard sphere radius σ of different particles HS As shown in Table 1. The mass m of the particle is set based on the mass conservation before and after the reaction. HS The particle m changes in proportion to the particle m. That is, the larger the particle m, the larger its σ HS When the simulation system is initialized, the number of each particle is shown in n0 in Table 1. After the simulation system is initialized, the initiator starts the calculation. When the number of molecules of particle A or particle B in the system is detected to be 0, it is considered that all reactions are completed and the system evolution ends. The number of particles after the reaction is shown in n1 in Table 1. 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 chemical reaction implemented by the algorithm.
[0181] Table 1 The mass, effective hard sphere radius, number before reaction and number after reaction of particles in the simulation system
[0182]
[0183] 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.
[0184] Embodiment 2:
[0185] The critical energies of reactions R1 and R2 are E a1 =1.00 and E a2 =1.50. The initial reactants in the system are particles A and B and a small amount of particle C, and the products after the chemical reaction are particles C and D. Before the evolution of the simulation system, the reactant particles A, B and C are randomly distributed in the pores of the zeolite molecular sieve. The gas loading of the simulation system is set to an average of 5 gas molecules per zeolite molecular sieve unit cell. In the constructed reaction model, the number of zeolite unit cells is 9×9×9 unit cells. The reaction temperature of the simulation system is set to 723K. The mass m and effective hard sphere radius σ of different particles HS As shown in Table 2. The mass m of the particle is set based on the mass conservation before and after the reaction. HSThe particle m changes in proportion to the particle m. That is, the larger the particle m, the larger its σ HS When the simulation system is initialized, the number of each particle is shown in n0 in Table 2. After the simulation system is initialized, the initiator starts the calculation. When the number of molecules of particle A or particle B in the system is detected to be 0, it is considered that all reactions are completed and the system evolution ends. The number of particles after the reaction is shown in n1 in Table 2. 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 chemical reaction implemented by the algorithm.
[0186] Table 2 The mass, effective hard sphere radius, number before reaction and number after reaction of particles in the simulation system
[0187]
[0188] 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.
[0189] Embodiment 3:
[0190] The critical energies of reactions R1 and R2 are E a1 =1.00 and E a2 =1.40. The initial reactants in the system are particles A and B, and the products after the chemical reaction are particles C and D. Before the evolution of the simulation system, the reactant particles A and B are randomly distributed in the pores of the zeolite molecular sieve. The gas loading of the simulation system is set to an average of 6 gas molecules per zeolite molecular sieve unit cell. In the constructed reaction model, the number of zeolite unit cells is 10×10×10 unit cells. The reaction temperature of the simulation system is set to 673K. The mass m and effective hard sphere radius σ of different particles HS As shown in Table 3. The mass m of the particle is set based on the mass conservation before and after the reaction. HS The particle m changes in proportion to the particle m. That is, the larger the particle m, the larger its σ HS When the simulation system is initialized, the number of each particle is shown in n0 in Table 3. After the simulation system is initialized, the initiator starts the calculation. When the number of molecules of particle A or particle B in the system is detected to be 0, it is considered that all reactions are completed and the system evolution ends. The number of particles after the reaction is shown in n1 in Table 3. 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 chemical reaction implemented by the algorithm.
[0191] Table 3 The mass, effective hard sphere radius, number before reaction and number after reaction of particles in the simulation system
[0192]
[0193] 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.
[0194] Embodiment 4:
[0195] The critical energies of reactions R1 and R2 are E a1 =1.00 and E a2 =1.60. The initial reactants in the system are particles A, B and a small amount of D, and the products after the chemical reaction are particles C and D. Before the evolution of the simulation system, the reactant particles A, B and C are randomly distributed in the pores of the zeolite molecular sieve. The gas loading of the simulation system is set to an average of 6 gas molecules per zeolite molecular sieve unit cell. In the constructed reaction model, the number of zeolite unit cells is 12×12×12 unit cells. The reaction temperature of the simulation system is set to 773K. The mass m and effective hard sphere radius σ of different particles HS As shown in Table 4. The mass m of the particle is set based on the mass conservation before and after the reaction. HS The particle m changes in proportion to the particle m. That is, the larger the particle m, the larger its σ HS The larger the number of particles, the larger the number of particles. When the simulation system is initialized, the number of particles is shown in n0 in Table 4. After the simulation system is initialized, the program starts to calculate. When the number of molecules of particle A or particle B in the system is detected to be 0, it is considered that all reactions are completed and the system evolution ends. The number of particles after the reaction is shown in n1 in Table 4. 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 chemical reaction implemented by the algorithm.
[0196] Table 4 The mass, effective hard sphere radius, number before reaction and number after reaction of particles in the simulation system
[0197]
[0198] 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.
[0199] 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.
[0200] 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 evident 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 of a chemical reaction type, characterized in that: include: Obtain the particle attribute parameters of each of particles A, B and C, and set the particle attribute parameters of particle C', A+B→C, C' is an intermediate product in the chemical 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 chemical reaction model, as well as the particle numbers and reaction parameters of the particle A, particle B, particle C' and particle C, wherein the model parameters include a model reaction temperature, a process number and a model geometric parameter; Based on the model parameters of the chemical 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 chemical 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; Start the simulation calculation process, detect the reaction state, particle radius and particle position change process of each of the particles A, B, C and C', and count the number information of each particle. When the number of the particle A or the particle B is 0, output the calculation result; The simulation calculation process is started, the reaction state, particle radius and particle position change process of each of the particles A, B, C and C' are detected, and the number information of each particle is counted. When the number of the particle A or the particle B is 0, the output calculation result includes: Detect whether there is a particle collision. When two particles are detected to have collided, determine the type of particles that collided. When the particles that collide are the particle A and the particle B, according to the preset reaction principle, it is determined whether the particles A and B that collide react. When the particles A and B react, the particles A, B and C' satisfy the first relationship. And the second relation Where E is the surplus energy, E>0, m A and m B are the particle masses of particle A and particle B before collision, V A 、V B are the velocities of particle A and particle B before collision, m C’ is the particle mass of particle C' after the reaction, V C’ is the velocity of particle C' after the reaction.
2. The hard sphere-pseudo-particle coupling simulation method of the chemical reaction type according to claim 1 is characterized in that: The method of obtaining the particle attribute parameters of each of particles A, B and C and setting the particle attribute parameters of particle C', A+B→C, C' is an intermediate product in the chemical reaction process, and the particle attribute parameters include particle mass, particle hard sphere radius, particle type number and particle radius growth rate, and further includes: The particle attribute parameters are dimensionally processed.
3. The hard sphere-pseudo-particle coupling simulation method of the chemical reaction type according to claim 1 is characterized in that: The model parameters based on the chemical reaction model and the particle attribute parameters of the particles A and B, respectively, to obtain the initial velocity and initial position of the particles A and B respectively include: Obtaining the initial velocity of the particle A and the particle B according to the model reaction temperature of the chemical reaction model and the particle masses of the particle A and the particle B; According to the model geometric parameters of the chemical 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 a chemical reaction type according to claim 1, 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 chemical reaction type according to claim 4 is characterized in that: The step of dividing the chemical 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 chemical reaction model into a plurality of submodules based on the number of processes, each process being responsible for the 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 chemical reaction type according to claim 5, characterized in that: The simulation calculation process is started, the reaction state, particle radius and particle position of each of the particles A, B, C and C' are detected, and the number information of each particle is counted. When the number of the particle A or the particle B is 0, the output calculation result also includes: According to the judgment result, corresponding processing is performed, and the reaction principle is set according to the reaction parameter; when the particles that collide are not the particles A and B, the speed, particle radius and particle position corresponding to each particle after the collision are updated; Count the number of each type of particles, and when the number of particle A or particle B is 0, output the calculation result.
7. The hard sphere-pseudo-particle coupling simulation method of the chemical reaction type according to claim 6 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 particles A and B that collided is deleted, and the other is saved as the particle C', and the corresponding speeds, particle radii and particle positions of the particles A, B and / or C' 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 particles A and B do not react, the corresponding speeds, particle radii and particle positions of the particles A and B after the collision are updated.
8. The hard sphere-pseudo-particle coupling simulation method of a chemical reaction type according to claim 7, characterized in that: When the particle A reacts with the particle B, the particle radii of the particle A and the particle B before the reaction are compared, the particle with the larger particle radius is deleted, and the particle with the smaller particle radius is transferred to particle C'.
9. The hard sphere-pseudo-particle coupling simulation method of the chemical reaction type according to claim 8, characterized in that: In the pseudo-particle sub-area, when the particle A reacts with the particle B, and the particle A and the particle B are not in the same process, the particle radius of the particle A and the particle B before the reaction are compared in the current time step, and the particle with the larger particle radius is marked, and before the states of all particles in the pseudo-particle sub-area are synchronously evolved in the next time step, the marking information of all particles is detected and the marked particles are deleted.
10. The hard sphere-pseudo-particle coupling simulation method of chemical reaction type according to claim 7, characterized in that: The particle radius variation of the particle C' satisfies the third relationship, 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', 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.
11. The hard sphere-pseudo-particle coupling simulation method of a chemical reaction type according to claim 10, characterized in that: The determining whether the colliding particles A and B react and performing corresponding processing according to the determination result also includes: The motion state and particle radius of particle C' are monitored, and when the particle radius of particle C' is equal to the hard sphere radius of particle C, the particle type number of particle C' is changed to the particle type number corresponding to particle C.
12. The hard sphere-pseudo-particle coupling simulation method of chemical reaction type according to claim 7, 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 particle C' are added.
