CN102867125B - A kind of method calculating molecular dynamics dynamic time step-length - Google Patents

A kind of method calculating molecular dynamics dynamic time step-length Download PDF

Info

Publication number
CN102867125B
CN102867125B CN201210340172.4A CN201210340172A CN102867125B CN 102867125 B CN102867125 B CN 102867125B CN 201210340172 A CN201210340172 A CN 201210340172A CN 102867125 B CN102867125 B CN 102867125B
Authority
CN
China
Prior art keywords
molecules
molecular dynamics
molecule
calculate
time step
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201210340172.4A
Other languages
Chinese (zh)
Other versions
CN102867125A (en
Inventor
解辉
刘朝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Alcohol Research Institute
Original Assignee
Sichuan Alcohol Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Alcohol Research Institute filed Critical Sichuan Alcohol Research Institute
Priority to CN201210340172.4A priority Critical patent/CN102867125B/en
Publication of CN102867125A publication Critical patent/CN102867125A/en
Application granted granted Critical
Publication of CN102867125B publication Critical patent/CN102867125B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

Calculate a method for molecular dynamics dynamic time step-length, is concrete calculation procedure as follows: 1) calculate the distance between every two molecules , judge array numerical value whether be all greater than truncation radius <i>r c</i>; 2) relative velocity between every two molecules is calculated ; 3) time t (n) moved between every two molecules required for truncation radius is calculated; 4) in array t (n), minimum value t is taken out minas next step time step.Dynamic molecular dynamics simulation algorithm of the present invention can eliminate invalid calculation procedure, accelerates computing velocity, saves computing time, makes molecular dynamics simulation non-agglomerated state, extends the range of application of molecular dynamics simulation.

Description

A kind of method calculating molecular dynamics dynamic time step-length
Technical field
The present invention relates to molecular dynamics field, particularly a kind of method calculating next step time step.
Background technology
At the beginning of the sixties, first Alder and Wainwright adopt hard-sphere model, carried out molecular dynamics simulation research, and this is acknowledged as first time molecular dynamics simulation.Verlet etc. then depict Lennard-Jones system phasor, and propose famous Verlet algorithm, and this algorithm makes molecular dynamics simulation more effective, and its range of application have also been obtained wide spread.
After the seventies, along with the new theories such as density functional theory (Density-FunctionTheory), fluctuation Dissipative Theory (FluctuationDissipationTheory) are introduced into molecular dynamics one after another, this analogy method obtains flourish.Because molecular dynamics is combined with subjects such as statistical physics again, classical molecular dynamics theory is enriched, and to the end of the eighties, this system is perfect gradually.To the nineties, computer hardware achieves the development of advancing by leaps and bounds, and makes molecular dynamics simulation further strengthened.In addition because the method can regard the bridge of linking up macroscopic property and micromechanism as, can explain to a certain extent from molecular scale many theoretical and experimental study observe on all inscrutable microphenomenon, therefore in field and crossing domains such as chemistry, physics, biology, material science, tribology, molecular dynamics simulation is obtained for be applied widely.
Molecular dynamics simulation hypothetical particle observes Newton mechanics law, molecule (atom, ion etc. is calculated by solving various potential function, below be referred to as molecule) between interaction between two particles, obtain the acting force suffered by each molecule and movement velocity, the characteristics of motion of molecule can be obtained after certain hour simulation.Again according to statistical mechanics principle, utilize suitable statistical method just can obtain the macroscopic property of whole system.
In microcanonical ensemble, an isolated system comprising N number of atom can be regarded as, if total potential energy of system is used represent, then for this classical formalism, the stressed Newton's equation of particle is described as:
Wherein: m is the quality of particle, afor acceleration, acceleration is the continuous function of time, and in the calculation, we are expressed as time discrete:
Wherein: it is the time of arrival n-th step; N is step number; H is time step.In calculating, the initial position of given particle and initial velocity, then can carry out numerical solution to this equation.In simulations, in order to save computing time, when intermolecular distance exceedes a certain value, intermolecular interaction is more weak, can ignore, and this distance is called truncation radius.
The basic thought of Molecular Dynamics Calculation be give molecular system initial motion state after utilize the proper motion of molecule sample drawn in phase space to carry out statistical computation, time step be exactly sampling interval, thus time step choose dynamics simulation extremely important.Oversize time step can cause intermolecular fierceness collision, system data from overflow; Too short time step can reduce the ability of simulation process search phase space.Therefore the time step generally chosen is 10 -14about s.This method is applicable for most system.
But, in the middle of system, the mean distance of particle is much larger than (distance between pressure gas molecule as usual) during truncation radius, if time step is fixed, at this moment because time step is less, in effective simulated time, molecule mainly when mutually not colliding, does invalid motion in space, the intermolecular number of times collided is limited, and system is difficult to balance.Existing molecular dynamics can only simulate the situation of aggregative state, as analog gas can only simulate dense gas (densegas).
Summary of the invention
Object of the present invention is just to provide a kind of method calculating molecular dynamics dynamic time step-length, when intermolecular distance be greater than cut half radius time, dynamic time step-length is long, and this algorithm can calculate next step time step, reduces the simulated time that molecule does lost motion in space.
The object of the invention is by such technical scheme realize, it includes multiple molecule, and concrete calculation procedure is as follows:
1) measure the coordinate of all molecules, calculate the distance between every two molecules , i and j is molecule numbering, judges array numerical value whether be all greater than truncation radius r c if be greater than, proceed to step 2), if be less than, terminate;
2) measure the movement velocity of all molecules, calculate the relative velocity between every two molecules ;
3) according to step 1) and step 2) in distance between measured every two molecules and speed , calculate time t (n) moved between every two molecules required for truncation radius;
4) in array t (n), minimum value t is taken out minas next step time step.
Further, the spacing of every two molecules is calculated in step 1) formula be
In formula, x, y and z are the spatial value of molecule, i and j is molecule numbering.
Further, step 2) in calculate every two molecules the formula of spacing be
In formula, for molecule is in the speed in x direction, for molecule is in the speed in y direction, for molecule is in the speed in z direction.
Further, calculate in step 3) and move to the formula of time t (n) required for truncation radius between every two molecules and be
T (n) serves as reasons the array of composition.
Owing to have employed technique scheme, the present invention has following advantage:
Dynamic molecular dynamics simulation algorithm of the present invention can eliminate invalid calculation procedure, accelerates computing velocity, saves computing time, makes molecular dynamics simulation non-agglomerated state, extends the range of application of molecular dynamics simulation.
Other advantages of the present invention, target and feature will be set forth to a certain extent in the following description, and to a certain extent, based on will be apparent to those skilled in the art to investigating hereafter, or can be instructed from the practice of the present invention.Target of the present invention and other advantages can be realized by instructions below and claims and be obtained.
Accompanying drawing explanation
Accompanying drawing of the present invention is described as follows.
Fig. 1 is the view of molecule in the one-dimensional space;
Fig. 2 is the view of molecule at two-dimensional space;
Fig. 3 is that molecule is in three-dimensional view;
Fig. 4 is algorithm flow chart of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the invention will be further described.
Calculate a method for molecular dynamics dynamic time step-length, include multiple molecule, concrete calculation procedure is as follows:
1) measure the coordinate of all molecules, calculate the distance between every two molecules , i and j is molecule numbering, judges array numerical value whether be all greater than truncation radius r c if be greater than, proceed to step 2), if be less than, terminate;
2) measure the movement velocity of all molecules, calculate the relative velocity between every two molecules ;
3) according to step 1) and step 2) in distance between measured every two molecules and speed , calculate time t (n) moved between every two molecules required for truncation radius;
4) in array t (n), minimum value t is taken out minas next step time step.
The spacing of every two molecules is calculated in step 1) formula be
In formula, x, y and z are the spatial value of molecule, i and j is molecule numbering.
Step 2) in calculate every two molecules the formula of spacing be
In formula, for molecule is in the speed in x direction, for molecule is in the speed in y direction, for molecule is in the speed in z direction.
Calculate in step 3) and move to the formula of time t (n) required for truncation radius between every two molecules and be
T (n) serves as reasons the array of composition.
The present invention can calculate dynamic time step-length in one dimension, two and three dimensions space.
As shown in Figure 1, when the one-dimensional space is implemented, can calculate every two intermolecular relative velocities and distance very easily, namely relative velocity is: , relative distance , and then calculate two molecules interact required for time , obtain array t ij in minimum value t min . t min as next step time step.
As shown in Figure 2, when two-dimensional space is implemented, need the relative velocity obtaining them according to molecule in the speed of X, Y-direction , relative distance , and then calculate two molecules interact at two-dimensional space required for time , obtain array t ij in minimum value t min . t min as next step time step.
As shown in Figure 3, when three dimensions is implemented, need the relative velocity obtaining them according to molecule in the speed of X, Y, Z-direction , relative distance , and then calculate two molecules interact at three dimensions required for time , obtain array t ij in minimum value t min .
Dynamic molecular dynamics simulation algorithm of the present invention can eliminate invalid calculation procedure, accelerates computing velocity, saves computing time, makes molecular dynamics simulation non-agglomerated state, extends the range of application of molecular dynamics simulation.
What finally illustrate is, above embodiment is only in order to illustrate technical scheme of the present invention and unrestricted, although with reference to preferred embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that, can modify to technical scheme of the present invention or equivalent replacement, and not departing from aim and the scope of the technical program, it all should be encompassed in the middle of right of the present invention.

Claims (3)

1. calculate a method for molecular dynamics dynamic time step-length, include multiple molecule, it is characterized in that, concrete calculation procedure is as follows:
1) measure the coordinate of all molecules, calculate the distance l between every two molecules ij, i and j is molecule numbering, judges array l ijnumerical value whether be all greater than truncation radius r cif be greater than, proceed to step 2), if be less than, terminate;
2) measure the movement velocity of all molecules, calculate the relative velocity v between every two molecules ij;
3) according to step 1) and step 2) in distance l between measured every two molecules ijand speed v ij, calculate time t (n) moved between every two molecules required for truncation radius,
t ij=(l ij-r c)/v ij
T (n) is by t ijthe array of composition;
4) in array t (n), minimum value t is taken out minas next step time step.
2. a kind of method calculating molecular dynamics dynamic time step-length as claimed in claim 1, is characterized in that: step 1) the middle spacing l calculating every two molecules ijformula be
001"/>
In formula, x, y and z are the spatial value of molecule, i and j is molecule numbering.
3. a kind of method calculating molecular dynamics dynamic time step-length as claimed in claim 1, is characterized in that: step 2) in calculate the formula of relative velocity between every two molecules and be
002"/>
In formula, v xfor molecule is in the speed in x direction, v yfor molecule is in the speed in y direction, v zfor molecule is in the speed in z direction.
CN201210340172.4A 2012-09-14 2012-09-14 A kind of method calculating molecular dynamics dynamic time step-length Expired - Fee Related CN102867125B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210340172.4A CN102867125B (en) 2012-09-14 2012-09-14 A kind of method calculating molecular dynamics dynamic time step-length

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210340172.4A CN102867125B (en) 2012-09-14 2012-09-14 A kind of method calculating molecular dynamics dynamic time step-length

Publications (2)

Publication Number Publication Date
CN102867125A CN102867125A (en) 2013-01-09
CN102867125B true CN102867125B (en) 2015-11-18

Family

ID=47445993

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210340172.4A Expired - Fee Related CN102867125B (en) 2012-09-14 2012-09-14 A kind of method calculating molecular dynamics dynamic time step-length

Country Status (1)

Country Link
CN (1) CN102867125B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104408291A (en) * 2014-10-27 2015-03-11 西北工业大学 Unified gas kinetic theory format oscillation inhibiting method
CN105787273B (en) * 2016-02-26 2018-10-12 重庆邮电大学 The computer simulation method of energetic material Impact Initiation
CN108595842B (en) * 2018-04-25 2021-12-21 中国科学院合肥物质科学研究院 Time step optimization method for simulating particle irradiation damage
CN111307754A (en) * 2020-03-13 2020-06-19 中国科学院上海高等研究院 Method for detecting gas effect based on terahertz technology

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101760183A (en) * 2009-12-30 2010-06-30 哈尔滨工业大学 Method for calculating interface thermal resistance of silicon and germanium super crystal lattice material

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8697654B2 (en) * 2008-12-18 2014-04-15 E I Du Pont De Nemours And Company Peptide linkers for effective multivalent peptide binding

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101760183A (en) * 2009-12-30 2010-06-30 哈尔滨工业大学 Method for calculating interface thermal resistance of silicon and germanium super crystal lattice material

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
MEMS粘附的分子动力学研究;申海兰;《中国优秀硕士学位论文全文数据库工程科技I辑》;20090115(第01期);第28页第21-26行,第38页1-25行 *

Also Published As

Publication number Publication date
CN102867125A (en) 2013-01-09

Similar Documents

Publication Publication Date Title
Sun et al. Proper cell dimension and number of particles per cell for DSMC
Latini et al. Effects of WENO flux reconstruction order and spatial resolution on reshocked two-dimensional Richtmyer–Meshkov instability
Rebertus et al. A molecular dynamics and Monte Carlo study of solvent effects on the conformational equilibrium of n‐butane in CCl4a), b)
Bailey et al. Accelerating lattice Boltzmann fluid flow simulations using graphics processors
Deb et al. Density-functional and hydrodynamical approach to ion-atom collisions through a new generalized nonlinear Schrödinger equation
CN102867125B (en) A kind of method calculating molecular dynamics dynamic time step-length
Yakunchikov et al. Application of event-driven molecular dynamics approach to rarefied gas dynamics problems
EP3816842A1 (en) Computer system for simulating physical process using lattice boltzmann based scalar transport enforcing galilean invariance for scalar transport
Borovikov et al. Consequences of the heliopause instability caused by charge exchange
Duan et al. A lattice Boltzmann model for the generalized Burgers–Huxley equation
Aristov et al. Simulations of pressure-driven flows through channels and pipes with unified flow solver
CN102230943A (en) Method for measuring particle movement speed in gas-solid two-phase flow
Wang et al. A theoretical model for electron transfer in ion–atom collisions: Calculations for the collision of a proton with an argon atom
CN105787273A (en) Computer simulation method for energetic material shock initiation
Wang et al. N-fold Darboux transformation and double-Wronskian-typed solitonic structures for a variable-coefficient modified Kortweg-de Vries equation
Trenti et al. Gravitational N-body simulations
Wang et al. High performance computation by multi-node GPU cluster-Tsubame2. 0 on the air flow in an urban city using lattice Boltzmann method
Wei et al. Modeling the gas flow in the neutralizer of ITER neutral beam injector using Direct Simulation Monte Carlo approach
Gao Research on numerical integration algorithm in molecular dynamics simulation
Lapelosa et al. Transition-path theory calculations on non-uniform meshes in two and three dimensions using finite elements
Khaydarov Analysis and obtaining of the fragmentation patterns of buckminsterfullerene using computer modeling
Zhang et al. A molecular collision operator of adjustable direction for the discrete velocity direction model
Jahangiri et al. A high-order Monte Carlo algorithm for the direct simulation of Boltzmann equation
Rosa et al. Parallel implementation of particle tracking and collision in a turbulent flow
Borner Use of advanced particle methods in modeling space propulsion and its supersonic expansions

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20151118

Termination date: 20160914