SlideShare ist ein Scribd-Unternehmen logo
1 von 6
Downloaden Sie, um offline zu lesen
CHAPTER 26
MOLECULAR DYNAMICS SIMULATIONS
Objectives
After completing the reading of this chapter, you will be able to:
Realize the importance of computer experiments.
Write the equation of motion of an atomic/a molecular system.
Design a simple MD simulation program.
Write different forms of theVerlet algorithm.
Keywords
Molecular Dynamics, Potential, Force,
Equation of motion, Verlet algorithm.
26.1. Introduction
With the advent of the computers, chemists, physicists and material scientists had begun(since
1950s) to exploit the power of the computers for probing the properties of materials through
simulations. Almost all the materials of the physical world can be probed for their properties by
designing appropriate simulation algorithms. These include atomic and molecular systems,
biomolecules, complex materials, nuclear materials, life processes and the like.
One can construct simulation schemes for the dynamics of the molecules present in the materials;
i.e., the Molecular Dynamics (MD), where the constituents of the system are allowed to interact
according to known laws of physics, over a period of time. Through the numerical solutions of
the equations of motion (often described by the laws of Newtonian mechanics), one obtains the
trajectories (position coordinates and/or velocities) of all the constituents of the system, under the
influence of the interacting potential.
These trajectories are then analyzed in order to extract the desired properties such as pressure,
stress, diffusion, viscosity, surface tension, dielectric constant, order parameter, autocorrelation
functions, fluctuations, conformational changes etc. Since molecular systems generally consist of
a vast number of particles, it is impossible to find the properties of such complex systems
analytically. The MD simulation exercises circumvent this problem by using the numerical
solutions of the equations of motion. Thus the MD simulation technique presents an interface
between laboratory experiments and the theory. This often leads to the realization that ‘computer
simulations’ are actually ‘computer experiments’.
1
26.2. The MD technique
We begin with a system of particles (atoms, molecules, united atoms, species etc) which is
governed by the equation of motion,
𝑚𝑚𝑖𝑖 �
𝑑𝑑2𝑟𝑟𝑖𝑖
𝑑𝑑𝑑𝑑 2
� = 𝑓𝑓𝑖𝑖(26.1)
wheremi is the mass of the i-th particle,fi is the force on it andri represents its position
coordinates. The computation of the forcefi involves the calculation of the derivative of the
interacting potential, U (r1, r2, … ,rN),
𝑓𝑓𝑖𝑖 = − �
𝜕𝜕𝜕𝜕(𝑟𝑟1,𝑟𝑟2,…,𝑟𝑟𝑁𝑁 )
𝜕𝜕𝜕𝜕𝑖𝑖
�(26.2)
In each of the time step of the simulation, one needs to compute theforce fiand using this force,
the position rigets updated. In order to solve the second order differential equation as in eq.
(26.1), there are several numerical schemes available. These are based on finite difference
methods and the integration algorithms include Gear predictor-corrector algorithm, Verlet
algorithm and the Toxvaerd algorithm. The Verlet algorithm and its several variations are the
most widely used by the practitioners of the trade and we describe this algorithm below.
26.2.1. The Verlet algorithm
Equation (26.1), when integrated using the Verlet integration algorithm involves the computation
of the positions at different times using the Taylor expansion about r(t), where ∆t is the time
step. Thus,
𝑟𝑟(𝑡𝑡 + Δ𝑡𝑡) = 𝑟𝑟(𝑡𝑡) + Δ𝑡𝑡𝑡𝑡(𝑡𝑡) +
1
2
(Δ𝑡𝑡)2
𝑎𝑎(𝑡𝑡) + ⋯ (26.3a)
𝑟𝑟(𝑡𝑡 − Δ𝑡𝑡) = 𝑟𝑟(𝑡𝑡) − Δ𝑡𝑡𝑡𝑡(𝑡𝑡) +
1
2
(Δ𝑡𝑡)2
𝑎𝑎(𝑡𝑡) − ⋯ (26.3b)
Making use of these two expressions, the next step position r(t+∆t) is easily found out,
𝑟𝑟(𝑡𝑡 + Δ𝑡𝑡) = 2𝑟𝑟(𝑡𝑡) − 𝑟𝑟(𝑡𝑡 − Δ𝑡𝑡) + (Δ𝑡𝑡)2
𝑎𝑎(𝑡𝑡) (26.4)
Although the velocitiesv(t) are not required to compute the trajectories, those are useful for the
computation of kinetic energy (hence, total energy) and the velocity auto-correlation functions.
Following eqs (26.3a) and (26.3b), one may write,
𝑣𝑣(𝑡𝑡) = �
1
2Δ𝑡𝑡
�[𝑟𝑟(𝑡𝑡 + Δ𝑡𝑡) − 𝑟𝑟(𝑡𝑡 − Δ𝑡𝑡)](26.5)
2
In the Verlet integration scheme, the errors in calculated positionsr(t) are of the order of ∆t4
while those in calculated velocities v(t) are of the order of ∆t2
. The algorithm is exactly
reversible in time and easy to program.
26.2.2. The leap-frog Verlet algorithm
In the Verlet algorithm, eq. (26.4), a small term (of the order of ∆t2
) has been added to the
difference of two large terms (of the order of ∆t0
).This may bring in some numerical imprecision
in calculating the trajectories. In order to avoid this, a half-step ‘leap frog Verlet’ scheme has
been proposed. This takes the form,
𝑟𝑟(𝑡𝑡 + Δ𝑡𝑡) = 𝑟𝑟(𝑡𝑡) + Δ𝑡𝑡𝑡𝑡 �𝑡𝑡 +
1
2
Δ𝑡𝑡�(26.6a)
𝑣𝑣 �𝑡𝑡 +
1
2
Δ𝑡𝑡� = 𝑣𝑣 �𝑡𝑡 −
1
2
Δ𝑡𝑡� + Δ𝑡𝑡𝑡𝑡(𝑡𝑡)(26.6b)
This modified Verlet algorithm needs current positions r(t) and accelerations a(t) and the mid-
step velocities 𝑣𝑣 �𝑡𝑡 −
1
2
Δ𝑡𝑡�. In the actual practice, eq (26.6b) is implemented first and the
velocities leap over the coordinates to give the next mid-step values,𝑣𝑣 �𝑡𝑡 +
1
2
Δ𝑡𝑡�. The current
velocities are calculated as,
𝑣𝑣(𝑡𝑡) =
1
2
�𝑣𝑣 �𝑡𝑡 +
1
2
Δ𝑡𝑡� + 𝑣𝑣 �𝑡𝑡 −
1
2
Δ𝑡𝑡�� (26.7)
This is necessary as the total energy at time t can be calculated. Following this, eq. 26.6(a)
updates the position, once more ahead of the velocities. The new accelerations a(t) are then
calculated, ready for the next step. The advantages of the ‘leap-frog Verlet’ algorithm are: we do
not need to take difference of two large quantities to obtain a small one, thus no loss of precision;
and, as the velocities appear explicitly, adjusting the simulation energy is achieved through
appropriate scaling of the velocities at time t.
26.2.3. The velocity Verlet algorithm
In the leap-frog Verlet algorithm, the current step velocities are still calculated from the mid-step
velocities 𝑣𝑣 �𝑡𝑡 +
1
2
Δ𝑡𝑡� and 𝑣𝑣 �𝑡𝑡 −
1
2
Δ𝑡𝑡� [see eq. (26.7)]. In order to avoid this, the ‘velocity
Verlet algorithm’ has been proposed which utilizes positions r(t), velocitiesv(t) and accelerations
a(t), all at the same time. This is based on the following equations,
𝑟𝑟(𝑡𝑡 + Δ𝑡𝑡) = 𝑟𝑟(𝑡𝑡) + Δ𝑡𝑡𝑡𝑡(𝑡𝑡) +
1
2
(Δ𝑡𝑡)2
𝑎𝑎(𝑡𝑡)(26.8a)
𝑣𝑣(𝑡𝑡 + Δ𝑡𝑡) = 𝑣𝑣(𝑡𝑡) +
1
2
Δ𝑡𝑡[𝑎𝑎(𝑡𝑡) + 𝑎𝑎(𝑡𝑡 + Δ𝑡𝑡)](26.8b)
3
This algorithm requires storage of r(t),v(t) and a(t). The actual implementation involves two
stages. First, the new positions at time t+∆t are calculated using eq. (26.8a), and the velocities at
mid-step are computed using,
𝑣𝑣 �𝑡𝑡 +
1
2
Δ𝑡𝑡� = 𝑣𝑣(𝑡𝑡) +
1
2
Δ𝑡𝑡𝑡𝑡(𝑡𝑡)(26.9)
The forces and accelerations attime t+∆t are then computed and the velocity move completed.
𝑣𝑣(𝑡𝑡 + Δ𝑡𝑡) = 𝑣𝑣 �𝑡𝑡 +
1
2
Δ𝑡𝑡� +
1
2
Δ𝑡𝑡𝑡𝑡(𝑡𝑡 + Δ𝑡𝑡)(26.10)
At this point, the kinetic energy at time t+∆t is available. The potential energy at this time will
have been evaluated in the force loop.
The three forms of the Verlet algorithm are compared in figure 26.1.
(A) The original Verlet method
t -∆t t t + ∆t t - ∆t t t + ∆t t - ∆t t t + ∆t
r r r
v v v
a a a
(B) The leap-frog Verlet method
t - ∆t t t + ∆t t - ∆t t t + ∆t
r r
v v
a a
t - ∆t t t + ∆t t - ∆t t t + ∆t
r r
v v
a a
(C) The velocity Verlet method
t -∆t t t + ∆t t - ∆t t t + ∆t
r r
v v
a a
4
t - ∆t t t + ∆t t - ∆t t t + ∆t
r r
v v
a a
Figure 26.1: Three different forms of the Verlet algorithm. (A) Original Verlet method (B) Leap-
frog Verlet method (C) Velocity Verlet method. The variables are: r (position), v (velocity) and a
(acceleration). In each algorithm, the successive steps in the implementation are as shown in the
blocks. The stored variables are indicated in the light green boxes.
26.3. Design of a Molecular Dynamics program
A typical MD simulation program works according to the following scheme:
The size of the simulation system is to be chosen such that the number density in the simulation
box corresponds to the experimental density of the system.
1. Give initial positions r(t= 0) to the particles, choose an appropriate time step, ∆t.
2. For the chosen potential function U(r), calculate the force F(r) for all the particles (eq. 26.2).
3. Move the atoms using the Verlet algorithm
4. Move time forward: t+∆t
Repeat procedure 2,3,4 as long as desired. During these operations, all the properties of interest,
viz., temperature, pressure, total energy etc. need to be monitored for the subsequent analysis.
26.4. Analysis of the trajectories
In the MD simulations, we save the (x,y,z), (vx,vy,vz), (fx,fy,fz) of the particles at regular intervals
(say once in 10 steps). The chronological array of the (x,y,z) data is called as the trajectory of the
particles. We now illustrate how to make use of the trajectory data by calculating a structural
quantity of the system; say, for example, the radial distribution function (RDF). The RDF is
represented by the function,g(r) and is defined as,
𝑔𝑔(𝑟𝑟) =
𝑉𝑉
𝑁𝑁2
〈∑ ∑ 𝛿𝛿�𝑟𝑟 − 𝑟𝑟𝑖𝑖𝑖𝑖 �
𝑗𝑗 ≠𝑖𝑖
𝑖𝑖 〉 (26.11)
where, N is the total number of particles present in a volume V, rij is the distance between a pair
of particles, δ(x) is a delta function and the angular brackets represent ensemble average. In the
MD simulation, we compute the rijs of all the particle pairs from the trajectories and prepare the
histogram of all pair separations. This is then used to calculate the RDF.
5
The RDF of a typical Lennard-Jones fluid [characterized by two parameters, viz., σ
(interparticle distance) and ε (well depth in the potential energy curve); example, liquid argon]
has the following structure.
0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0
0.0
0.5
1.0
1.5
2.0
2.5
3.0
3.5
g(r)
r/σ
Figure 26.2: Radial distribution function for a typical Lennard-Jones fluid.
Questions
1. Discuss “a computer simulation is a mimicry of the physical world.”
2. What is more important to start a MD simulation, potential energy or force?
3. Compare the three different Verlet integration schemes.
4. Is it possible to do a MD simulation by not using the Newton’s equation of motion?
6

Weitere ähnliche Inhalte

Was ist angesagt?

On selection of periodic kernels parameters in time series prediction
On selection of periodic kernels parameters in time series predictionOn selection of periodic kernels parameters in time series prediction
On selection of periodic kernels parameters in time series predictioncsandit
 
Controllability and observability
Controllability and observabilityControllability and observability
Controllability and observabilityjawaharramaya
 
COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHM
COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHMCOMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHM
COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHMcscpconf
 
COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHM
COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHMCOMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHM
COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHMcsitconf
 
3 modelling of physical systems
3 modelling of physical systems3 modelling of physical systems
3 modelling of physical systemsJoanna Lock
 
Week 10 part 3 pe 6282 mecchanical liquid and electrical
Week 10 part 3 pe 6282 mecchanical liquid and electricalWeek 10 part 3 pe 6282 mecchanical liquid and electrical
Week 10 part 3 pe 6282 mecchanical liquid and electricalCharlton Inao
 
Computational Method to Solve the Partial Differential Equations (PDEs)
Computational Method to Solve the Partial Differential  Equations (PDEs)Computational Method to Solve the Partial Differential  Equations (PDEs)
Computational Method to Solve the Partial Differential Equations (PDEs)Dr. Khurram Mehboob
 
linear algebra in control systems
linear algebra in control systemslinear algebra in control systems
linear algebra in control systemsGanesh Bhat
 
Ground Excited Systems
Ground Excited SystemsGround Excited Systems
Ground Excited SystemsTeja Ande
 
Advance control theory
Advance control theoryAdvance control theory
Advance control theorySHIMI S L
 
Meeting w3 chapter 2 part 1
Meeting w3   chapter 2 part 1Meeting w3   chapter 2 part 1
Meeting w3 chapter 2 part 1mkazree
 
Modern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of SystemsModern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of SystemsAmr E. Mohamed
 
Time alignment techniques for experimental sensor data
Time alignment techniques for experimental sensor dataTime alignment techniques for experimental sensor data
Time alignment techniques for experimental sensor dataIJCSES Journal
 
State equations for physical systems
State equations for physical systemsState equations for physical systems
State equations for physical systemsSarah Krystelle
 
The Controller Design For Linear System: A State Space Approach
The Controller Design For Linear System: A State Space ApproachThe Controller Design For Linear System: A State Space Approach
The Controller Design For Linear System: A State Space ApproachYang Hong
 
Discrete state space model 9th &10th lecture
Discrete  state space model   9th  &10th  lectureDiscrete  state space model   9th  &10th  lecture
Discrete state space model 9th &10th lectureKhalaf Gaeid Alshammery
 
Meeting w4 chapter 2 part 2
Meeting w4   chapter 2 part 2Meeting w4   chapter 2 part 2
Meeting w4 chapter 2 part 2mkazree
 

Was ist angesagt? (19)

On selection of periodic kernels parameters in time series prediction
On selection of periodic kernels parameters in time series predictionOn selection of periodic kernels parameters in time series prediction
On selection of periodic kernels parameters in time series prediction
 
Controllability and observability
Controllability and observabilityControllability and observability
Controllability and observability
 
COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHM
COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHMCOMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHM
COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHM
 
COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHM
COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHMCOMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHM
COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHM
 
3 modelling of physical systems
3 modelling of physical systems3 modelling of physical systems
3 modelling of physical systems
 
Week 10 part 3 pe 6282 mecchanical liquid and electrical
Week 10 part 3 pe 6282 mecchanical liquid and electricalWeek 10 part 3 pe 6282 mecchanical liquid and electrical
Week 10 part 3 pe 6282 mecchanical liquid and electrical
 
Computational Method to Solve the Partial Differential Equations (PDEs)
Computational Method to Solve the Partial Differential  Equations (PDEs)Computational Method to Solve the Partial Differential  Equations (PDEs)
Computational Method to Solve the Partial Differential Equations (PDEs)
 
linear algebra in control systems
linear algebra in control systemslinear algebra in control systems
linear algebra in control systems
 
Ground Excited Systems
Ground Excited SystemsGround Excited Systems
Ground Excited Systems
 
Transfer Function
Transfer FunctionTransfer Function
Transfer Function
 
Advance control theory
Advance control theoryAdvance control theory
Advance control theory
 
Chap1see4113
Chap1see4113Chap1see4113
Chap1see4113
 
Meeting w3 chapter 2 part 1
Meeting w3   chapter 2 part 1Meeting w3   chapter 2 part 1
Meeting w3 chapter 2 part 1
 
Modern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of SystemsModern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of Systems
 
Time alignment techniques for experimental sensor data
Time alignment techniques for experimental sensor dataTime alignment techniques for experimental sensor data
Time alignment techniques for experimental sensor data
 
State equations for physical systems
State equations for physical systemsState equations for physical systems
State equations for physical systems
 
The Controller Design For Linear System: A State Space Approach
The Controller Design For Linear System: A State Space ApproachThe Controller Design For Linear System: A State Space Approach
The Controller Design For Linear System: A State Space Approach
 
Discrete state space model 9th &10th lecture
Discrete  state space model   9th  &10th  lectureDiscrete  state space model   9th  &10th  lecture
Discrete state space model 9th &10th lecture
 
Meeting w4 chapter 2 part 2
Meeting w4   chapter 2 part 2Meeting w4   chapter 2 part 2
Meeting w4 chapter 2 part 2
 

Ähnlich wie Chapter26

Deal_Final_Paper_PY525f15
Deal_Final_Paper_PY525f15Deal_Final_Paper_PY525f15
Deal_Final_Paper_PY525f15Jacob Deal
 
THE LEFT AND RIGHT BLOCK POLE PLACEMENT COMPARISON STUDY: APPLICATION TO FLIG...
THE LEFT AND RIGHT BLOCK POLE PLACEMENT COMPARISON STUDY: APPLICATION TO FLIG...THE LEFT AND RIGHT BLOCK POLE PLACEMENT COMPARISON STUDY: APPLICATION TO FLIG...
THE LEFT AND RIGHT BLOCK POLE PLACEMENT COMPARISON STUDY: APPLICATION TO FLIG...ieijjournal
 
THE LEFT AND RIGHT BLOCK POLE PLACEMENT COMPARISON STUDY: APPLICATION TO FLIG...
THE LEFT AND RIGHT BLOCK POLE PLACEMENT COMPARISON STUDY: APPLICATION TO FLIG...THE LEFT AND RIGHT BLOCK POLE PLACEMENT COMPARISON STUDY: APPLICATION TO FLIG...
THE LEFT AND RIGHT BLOCK POLE PLACEMENT COMPARISON STUDY: APPLICATION TO FLIG...ieijjournal1
 
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and SystemsDSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and SystemsAmr E. Mohamed
 
Adaptive Projective Lag Synchronization of T and Lu Chaotic Systems
Adaptive Projective Lag Synchronization of T and Lu  Chaotic Systems Adaptive Projective Lag Synchronization of T and Lu  Chaotic Systems
Adaptive Projective Lag Synchronization of T and Lu Chaotic Systems IJECEIAES
 
AN EFFICIENT PARALLEL ALGORITHM FOR COMPUTING DETERMINANT OF NON-SQUARE MATRI...
AN EFFICIENT PARALLEL ALGORITHM FOR COMPUTING DETERMINANT OF NON-SQUARE MATRI...AN EFFICIENT PARALLEL ALGORITHM FOR COMPUTING DETERMINANT OF NON-SQUARE MATRI...
AN EFFICIENT PARALLEL ALGORITHM FOR COMPUTING DETERMINANT OF NON-SQUARE MATRI...ijdpsjournal
 
AN EFFICIENT PARALLEL ALGORITHM FOR COMPUTING DETERMINANT OF NON-SQUARE MATRI...
AN EFFICIENT PARALLEL ALGORITHM FOR COMPUTING DETERMINANT OF NON-SQUARE MATRI...AN EFFICIENT PARALLEL ALGORITHM FOR COMPUTING DETERMINANT OF NON-SQUARE MATRI...
AN EFFICIENT PARALLEL ALGORITHM FOR COMPUTING DETERMINANT OF NON-SQUARE MATRI...ijdpsjournal
 
On Selection of Periodic Kernels Parameters in Time Series Prediction
On Selection of Periodic Kernels Parameters in Time Series Prediction On Selection of Periodic Kernels Parameters in Time Series Prediction
On Selection of Periodic Kernels Parameters in Time Series Prediction cscpconf
 
ON SELECTION OF PERIODIC KERNELS PARAMETERS IN TIME SERIES PREDICTION
ON SELECTION OF PERIODIC KERNELS PARAMETERS IN TIME SERIES PREDICTIONON SELECTION OF PERIODIC KERNELS PARAMETERS IN TIME SERIES PREDICTION
ON SELECTION OF PERIODIC KERNELS PARAMETERS IN TIME SERIES PREDICTIONcscpconf
 
Stability and pole location
Stability and pole locationStability and pole location
Stability and pole locationssuser5d64bb
 
directed-research-report
directed-research-reportdirected-research-report
directed-research-reportRyen Krusinga
 
Investigation of auto-oscilational regimes of the system by dynamic nonlinear...
Investigation of auto-oscilational regimes of the system by dynamic nonlinear...Investigation of auto-oscilational regimes of the system by dynamic nonlinear...
Investigation of auto-oscilational regimes of the system by dynamic nonlinear...IJECEIAES
 
MOLECULAR SIMULATION TECHNIQUES
MOLECULAR SIMULATION TECHNIQUESMOLECULAR SIMULATION TECHNIQUES
MOLECULAR SIMULATION TECHNIQUESMysha Malar M
 
Sparse data formats and efficient numerical methods for uncertainties in nume...
Sparse data formats and efficient numerical methods for uncertainties in nume...Sparse data formats and efficient numerical methods for uncertainties in nume...
Sparse data formats and efficient numerical methods for uncertainties in nume...Alexander Litvinenko
 
SLAM of Multi-Robot System Considering Its Network Topology
SLAM of Multi-Robot System Considering Its Network TopologySLAM of Multi-Robot System Considering Its Network Topology
SLAM of Multi-Robot System Considering Its Network Topologytoukaigi
 
BEC- 26 control systems_unit-II
BEC- 26 control systems_unit-IIBEC- 26 control systems_unit-II
BEC- 26 control systems_unit-IIShadab Siddiqui
 

Ähnlich wie Chapter26 (20)

solver (1)
solver (1)solver (1)
solver (1)
 
Deal_Final_Paper_PY525f15
Deal_Final_Paper_PY525f15Deal_Final_Paper_PY525f15
Deal_Final_Paper_PY525f15
 
THE LEFT AND RIGHT BLOCK POLE PLACEMENT COMPARISON STUDY: APPLICATION TO FLIG...
THE LEFT AND RIGHT BLOCK POLE PLACEMENT COMPARISON STUDY: APPLICATION TO FLIG...THE LEFT AND RIGHT BLOCK POLE PLACEMENT COMPARISON STUDY: APPLICATION TO FLIG...
THE LEFT AND RIGHT BLOCK POLE PLACEMENT COMPARISON STUDY: APPLICATION TO FLIG...
 
THE LEFT AND RIGHT BLOCK POLE PLACEMENT COMPARISON STUDY: APPLICATION TO FLIG...
THE LEFT AND RIGHT BLOCK POLE PLACEMENT COMPARISON STUDY: APPLICATION TO FLIG...THE LEFT AND RIGHT BLOCK POLE PLACEMENT COMPARISON STUDY: APPLICATION TO FLIG...
THE LEFT AND RIGHT BLOCK POLE PLACEMENT COMPARISON STUDY: APPLICATION TO FLIG...
 
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and SystemsDSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems
 
04_AJMS_453_22_compressed.pdf
04_AJMS_453_22_compressed.pdf04_AJMS_453_22_compressed.pdf
04_AJMS_453_22_compressed.pdf
 
Mechanical Engineering Assignment Help
Mechanical Engineering Assignment HelpMechanical Engineering Assignment Help
Mechanical Engineering Assignment Help
 
Adaptive Projective Lag Synchronization of T and Lu Chaotic Systems
Adaptive Projective Lag Synchronization of T and Lu  Chaotic Systems Adaptive Projective Lag Synchronization of T and Lu  Chaotic Systems
Adaptive Projective Lag Synchronization of T and Lu Chaotic Systems
 
AN EFFICIENT PARALLEL ALGORITHM FOR COMPUTING DETERMINANT OF NON-SQUARE MATRI...
AN EFFICIENT PARALLEL ALGORITHM FOR COMPUTING DETERMINANT OF NON-SQUARE MATRI...AN EFFICIENT PARALLEL ALGORITHM FOR COMPUTING DETERMINANT OF NON-SQUARE MATRI...
AN EFFICIENT PARALLEL ALGORITHM FOR COMPUTING DETERMINANT OF NON-SQUARE MATRI...
 
AN EFFICIENT PARALLEL ALGORITHM FOR COMPUTING DETERMINANT OF NON-SQUARE MATRI...
AN EFFICIENT PARALLEL ALGORITHM FOR COMPUTING DETERMINANT OF NON-SQUARE MATRI...AN EFFICIENT PARALLEL ALGORITHM FOR COMPUTING DETERMINANT OF NON-SQUARE MATRI...
AN EFFICIENT PARALLEL ALGORITHM FOR COMPUTING DETERMINANT OF NON-SQUARE MATRI...
 
On Selection of Periodic Kernels Parameters in Time Series Prediction
On Selection of Periodic Kernels Parameters in Time Series Prediction On Selection of Periodic Kernels Parameters in Time Series Prediction
On Selection of Periodic Kernels Parameters in Time Series Prediction
 
ON SELECTION OF PERIODIC KERNELS PARAMETERS IN TIME SERIES PREDICTION
ON SELECTION OF PERIODIC KERNELS PARAMETERS IN TIME SERIES PREDICTIONON SELECTION OF PERIODIC KERNELS PARAMETERS IN TIME SERIES PREDICTION
ON SELECTION OF PERIODIC KERNELS PARAMETERS IN TIME SERIES PREDICTION
 
Stability and pole location
Stability and pole locationStability and pole location
Stability and pole location
 
directed-research-report
directed-research-reportdirected-research-report
directed-research-report
 
Investigation of auto-oscilational regimes of the system by dynamic nonlinear...
Investigation of auto-oscilational regimes of the system by dynamic nonlinear...Investigation of auto-oscilational regimes of the system by dynamic nonlinear...
Investigation of auto-oscilational regimes of the system by dynamic nonlinear...
 
MOLECULAR SIMULATION TECHNIQUES
MOLECULAR SIMULATION TECHNIQUESMOLECULAR SIMULATION TECHNIQUES
MOLECULAR SIMULATION TECHNIQUES
 
Sparse data formats and efficient numerical methods for uncertainties in nume...
Sparse data formats and efficient numerical methods for uncertainties in nume...Sparse data formats and efficient numerical methods for uncertainties in nume...
Sparse data formats and efficient numerical methods for uncertainties in nume...
 
pRO
pROpRO
pRO
 
SLAM of Multi-Robot System Considering Its Network Topology
SLAM of Multi-Robot System Considering Its Network TopologySLAM of Multi-Robot System Considering Its Network Topology
SLAM of Multi-Robot System Considering Its Network Topology
 
BEC- 26 control systems_unit-II
BEC- 26 control systems_unit-IIBEC- 26 control systems_unit-II
BEC- 26 control systems_unit-II
 

Kürzlich hochgeladen

GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 

Kürzlich hochgeladen (20)

GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 

Chapter26

  • 1. CHAPTER 26 MOLECULAR DYNAMICS SIMULATIONS Objectives After completing the reading of this chapter, you will be able to: Realize the importance of computer experiments. Write the equation of motion of an atomic/a molecular system. Design a simple MD simulation program. Write different forms of theVerlet algorithm. Keywords Molecular Dynamics, Potential, Force, Equation of motion, Verlet algorithm. 26.1. Introduction With the advent of the computers, chemists, physicists and material scientists had begun(since 1950s) to exploit the power of the computers for probing the properties of materials through simulations. Almost all the materials of the physical world can be probed for their properties by designing appropriate simulation algorithms. These include atomic and molecular systems, biomolecules, complex materials, nuclear materials, life processes and the like. One can construct simulation schemes for the dynamics of the molecules present in the materials; i.e., the Molecular Dynamics (MD), where the constituents of the system are allowed to interact according to known laws of physics, over a period of time. Through the numerical solutions of the equations of motion (often described by the laws of Newtonian mechanics), one obtains the trajectories (position coordinates and/or velocities) of all the constituents of the system, under the influence of the interacting potential. These trajectories are then analyzed in order to extract the desired properties such as pressure, stress, diffusion, viscosity, surface tension, dielectric constant, order parameter, autocorrelation functions, fluctuations, conformational changes etc. Since molecular systems generally consist of a vast number of particles, it is impossible to find the properties of such complex systems analytically. The MD simulation exercises circumvent this problem by using the numerical solutions of the equations of motion. Thus the MD simulation technique presents an interface between laboratory experiments and the theory. This often leads to the realization that ‘computer simulations’ are actually ‘computer experiments’. 1
  • 2. 26.2. The MD technique We begin with a system of particles (atoms, molecules, united atoms, species etc) which is governed by the equation of motion, 𝑚𝑚𝑖𝑖 � 𝑑𝑑2𝑟𝑟𝑖𝑖 𝑑𝑑𝑑𝑑 2 � = 𝑓𝑓𝑖𝑖(26.1) wheremi is the mass of the i-th particle,fi is the force on it andri represents its position coordinates. The computation of the forcefi involves the calculation of the derivative of the interacting potential, U (r1, r2, … ,rN), 𝑓𝑓𝑖𝑖 = − � 𝜕𝜕𝜕𝜕(𝑟𝑟1,𝑟𝑟2,…,𝑟𝑟𝑁𝑁 ) 𝜕𝜕𝜕𝜕𝑖𝑖 �(26.2) In each of the time step of the simulation, one needs to compute theforce fiand using this force, the position rigets updated. In order to solve the second order differential equation as in eq. (26.1), there are several numerical schemes available. These are based on finite difference methods and the integration algorithms include Gear predictor-corrector algorithm, Verlet algorithm and the Toxvaerd algorithm. The Verlet algorithm and its several variations are the most widely used by the practitioners of the trade and we describe this algorithm below. 26.2.1. The Verlet algorithm Equation (26.1), when integrated using the Verlet integration algorithm involves the computation of the positions at different times using the Taylor expansion about r(t), where ∆t is the time step. Thus, 𝑟𝑟(𝑡𝑡 + Δ𝑡𝑡) = 𝑟𝑟(𝑡𝑡) + Δ𝑡𝑡𝑡𝑡(𝑡𝑡) + 1 2 (Δ𝑡𝑡)2 𝑎𝑎(𝑡𝑡) + ⋯ (26.3a) 𝑟𝑟(𝑡𝑡 − Δ𝑡𝑡) = 𝑟𝑟(𝑡𝑡) − Δ𝑡𝑡𝑡𝑡(𝑡𝑡) + 1 2 (Δ𝑡𝑡)2 𝑎𝑎(𝑡𝑡) − ⋯ (26.3b) Making use of these two expressions, the next step position r(t+∆t) is easily found out, 𝑟𝑟(𝑡𝑡 + Δ𝑡𝑡) = 2𝑟𝑟(𝑡𝑡) − 𝑟𝑟(𝑡𝑡 − Δ𝑡𝑡) + (Δ𝑡𝑡)2 𝑎𝑎(𝑡𝑡) (26.4) Although the velocitiesv(t) are not required to compute the trajectories, those are useful for the computation of kinetic energy (hence, total energy) and the velocity auto-correlation functions. Following eqs (26.3a) and (26.3b), one may write, 𝑣𝑣(𝑡𝑡) = � 1 2Δ𝑡𝑡 �[𝑟𝑟(𝑡𝑡 + Δ𝑡𝑡) − 𝑟𝑟(𝑡𝑡 − Δ𝑡𝑡)](26.5) 2
  • 3. In the Verlet integration scheme, the errors in calculated positionsr(t) are of the order of ∆t4 while those in calculated velocities v(t) are of the order of ∆t2 . The algorithm is exactly reversible in time and easy to program. 26.2.2. The leap-frog Verlet algorithm In the Verlet algorithm, eq. (26.4), a small term (of the order of ∆t2 ) has been added to the difference of two large terms (of the order of ∆t0 ).This may bring in some numerical imprecision in calculating the trajectories. In order to avoid this, a half-step ‘leap frog Verlet’ scheme has been proposed. This takes the form, 𝑟𝑟(𝑡𝑡 + Δ𝑡𝑡) = 𝑟𝑟(𝑡𝑡) + Δ𝑡𝑡𝑡𝑡 �𝑡𝑡 + 1 2 Δ𝑡𝑡�(26.6a) 𝑣𝑣 �𝑡𝑡 + 1 2 Δ𝑡𝑡� = 𝑣𝑣 �𝑡𝑡 − 1 2 Δ𝑡𝑡� + Δ𝑡𝑡𝑡𝑡(𝑡𝑡)(26.6b) This modified Verlet algorithm needs current positions r(t) and accelerations a(t) and the mid- step velocities 𝑣𝑣 �𝑡𝑡 − 1 2 Δ𝑡𝑡�. In the actual practice, eq (26.6b) is implemented first and the velocities leap over the coordinates to give the next mid-step values,𝑣𝑣 �𝑡𝑡 + 1 2 Δ𝑡𝑡�. The current velocities are calculated as, 𝑣𝑣(𝑡𝑡) = 1 2 �𝑣𝑣 �𝑡𝑡 + 1 2 Δ𝑡𝑡� + 𝑣𝑣 �𝑡𝑡 − 1 2 Δ𝑡𝑡�� (26.7) This is necessary as the total energy at time t can be calculated. Following this, eq. 26.6(a) updates the position, once more ahead of the velocities. The new accelerations a(t) are then calculated, ready for the next step. The advantages of the ‘leap-frog Verlet’ algorithm are: we do not need to take difference of two large quantities to obtain a small one, thus no loss of precision; and, as the velocities appear explicitly, adjusting the simulation energy is achieved through appropriate scaling of the velocities at time t. 26.2.3. The velocity Verlet algorithm In the leap-frog Verlet algorithm, the current step velocities are still calculated from the mid-step velocities 𝑣𝑣 �𝑡𝑡 + 1 2 Δ𝑡𝑡� and 𝑣𝑣 �𝑡𝑡 − 1 2 Δ𝑡𝑡� [see eq. (26.7)]. In order to avoid this, the ‘velocity Verlet algorithm’ has been proposed which utilizes positions r(t), velocitiesv(t) and accelerations a(t), all at the same time. This is based on the following equations, 𝑟𝑟(𝑡𝑡 + Δ𝑡𝑡) = 𝑟𝑟(𝑡𝑡) + Δ𝑡𝑡𝑡𝑡(𝑡𝑡) + 1 2 (Δ𝑡𝑡)2 𝑎𝑎(𝑡𝑡)(26.8a) 𝑣𝑣(𝑡𝑡 + Δ𝑡𝑡) = 𝑣𝑣(𝑡𝑡) + 1 2 Δ𝑡𝑡[𝑎𝑎(𝑡𝑡) + 𝑎𝑎(𝑡𝑡 + Δ𝑡𝑡)](26.8b) 3
  • 4. This algorithm requires storage of r(t),v(t) and a(t). The actual implementation involves two stages. First, the new positions at time t+∆t are calculated using eq. (26.8a), and the velocities at mid-step are computed using, 𝑣𝑣 �𝑡𝑡 + 1 2 Δ𝑡𝑡� = 𝑣𝑣(𝑡𝑡) + 1 2 Δ𝑡𝑡𝑡𝑡(𝑡𝑡)(26.9) The forces and accelerations attime t+∆t are then computed and the velocity move completed. 𝑣𝑣(𝑡𝑡 + Δ𝑡𝑡) = 𝑣𝑣 �𝑡𝑡 + 1 2 Δ𝑡𝑡� + 1 2 Δ𝑡𝑡𝑡𝑡(𝑡𝑡 + Δ𝑡𝑡)(26.10) At this point, the kinetic energy at time t+∆t is available. The potential energy at this time will have been evaluated in the force loop. The three forms of the Verlet algorithm are compared in figure 26.1. (A) The original Verlet method t -∆t t t + ∆t t - ∆t t t + ∆t t - ∆t t t + ∆t r r r v v v a a a (B) The leap-frog Verlet method t - ∆t t t + ∆t t - ∆t t t + ∆t r r v v a a t - ∆t t t + ∆t t - ∆t t t + ∆t r r v v a a (C) The velocity Verlet method t -∆t t t + ∆t t - ∆t t t + ∆t r r v v a a 4
  • 5. t - ∆t t t + ∆t t - ∆t t t + ∆t r r v v a a Figure 26.1: Three different forms of the Verlet algorithm. (A) Original Verlet method (B) Leap- frog Verlet method (C) Velocity Verlet method. The variables are: r (position), v (velocity) and a (acceleration). In each algorithm, the successive steps in the implementation are as shown in the blocks. The stored variables are indicated in the light green boxes. 26.3. Design of a Molecular Dynamics program A typical MD simulation program works according to the following scheme: The size of the simulation system is to be chosen such that the number density in the simulation box corresponds to the experimental density of the system. 1. Give initial positions r(t= 0) to the particles, choose an appropriate time step, ∆t. 2. For the chosen potential function U(r), calculate the force F(r) for all the particles (eq. 26.2). 3. Move the atoms using the Verlet algorithm 4. Move time forward: t+∆t Repeat procedure 2,3,4 as long as desired. During these operations, all the properties of interest, viz., temperature, pressure, total energy etc. need to be monitored for the subsequent analysis. 26.4. Analysis of the trajectories In the MD simulations, we save the (x,y,z), (vx,vy,vz), (fx,fy,fz) of the particles at regular intervals (say once in 10 steps). The chronological array of the (x,y,z) data is called as the trajectory of the particles. We now illustrate how to make use of the trajectory data by calculating a structural quantity of the system; say, for example, the radial distribution function (RDF). The RDF is represented by the function,g(r) and is defined as, 𝑔𝑔(𝑟𝑟) = 𝑉𝑉 𝑁𝑁2 〈∑ ∑ 𝛿𝛿�𝑟𝑟 − 𝑟𝑟𝑖𝑖𝑖𝑖 � 𝑗𝑗 ≠𝑖𝑖 𝑖𝑖 〉 (26.11) where, N is the total number of particles present in a volume V, rij is the distance between a pair of particles, δ(x) is a delta function and the angular brackets represent ensemble average. In the MD simulation, we compute the rijs of all the particle pairs from the trajectories and prepare the histogram of all pair separations. This is then used to calculate the RDF. 5
  • 6. The RDF of a typical Lennard-Jones fluid [characterized by two parameters, viz., σ (interparticle distance) and ε (well depth in the potential energy curve); example, liquid argon] has the following structure. 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 g(r) r/σ Figure 26.2: Radial distribution function for a typical Lennard-Jones fluid. Questions 1. Discuss “a computer simulation is a mimicry of the physical world.” 2. What is more important to start a MD simulation, potential energy or force? 3. Compare the three different Verlet integration schemes. 4. Is it possible to do a MD simulation by not using the Newton’s equation of motion? 6