SlideShare a Scribd company logo
1 of 59
Simulation Tools
Basics of molecular modelling
Dr.Gurumeet C Wadhawa
Karmaveer Bhaurao Patil College
Vashi
0. Introduction
What is molecular modelling?
Wikipedia:
Molecular modeling encompasses all theoretical methods and
computational techniques used to model or mimic the behaviour of
molecules.
In other words:
Theoretical methods that allows to describe macroscopic
observations with the use of microscopic description of matter
Simulation Tools
0. Introduction
What is molecular modelling?
Solving chemical problems with numerical experiments
OBJECTS TOOLS GOALS
Molecular systems Properties
MODELS
Comparison
Theory/experience
Physical laws
Atomic and Geometries
molecular interactions Spectra
Thermodynamics
Mathematical Activation energies
models Rate constants
Understanding
Rationalization
Prediction
Simulation Tools
0. Introduction
Outline
I. Concepts in Molecular Simulations
II. Molecular Dynamics simulations
III. Monte Carlo simulations
IV. Practical aspects of molecular simulations
Simulation Tools
I. Concepts in molecular simulations
Molecular description and representation
Length scale Electronic/Nuclear description
m H
mm O
H
μm
Classical Mechanics
nm
Atomic/Molecular
Å Quantum description
Mechanics
fs ps ns μs ms s Time scale
Simulation Tools
I. Concepts in molecular simulations
The phase space
● One microstate = a set of given coordinates and moments (rN,pN) of
all the particles of the system
● N particles → 6N-dimensional phase space Γ and 3N-dimensional
configuration space
● All microstates do not have the same importance
 . One configuration
Important for
macroscopic
property
. One configuration
Unlikely to occur
Simulation Tools
I. Concepts in molecular simulations
The potential energy surface (PES)
Global Maximum Saddle point
Local Maximum
E
Local Minimum global Minimum
Local Minimum
● Potential energy surface = energy as a function of nuclear coordinates
(Born-Oppenheimer approximation)
● Each point of the configuration space corresponds to one point on the
PES
● Various interesting points on the PES
Simulation Tools
I. Concepts in molecular simulations
Particular points of the PES
𝜕𝐸
= 0 Stationary points
𝜕𝑥𝑟
Transition state: saddle point
Equilibrium structures: local minima
𝜕2𝐸 𝜕2𝐸
Equilibrium structure: global minimum 𝜕𝑥2 > 0
𝜕𝑥2 <0
𝑟 𝑟
Maximum Minimum
Simulation Tools
I. Concepts in molecular simulations
The stationary points of the PES
Minimum Maximum Saddle point
𝜕2𝑓(𝑥,𝑦)
> 0 ; 𝜕2𝑓(𝑥,𝑦) 𝜕2𝑓(𝑥,𝑦)
< 0 ; 𝜕2𝑓(𝑥,𝑦)
< 0
𝜕2𝑓(𝑥,𝑦)
> 0 ; 𝜕2𝑓(𝑥,𝑦)
<0
𝜕𝑥2 𝜕𝑦2 > 0 𝜕𝑥2 𝜕𝑦2 𝜕𝑥2 𝜕𝑦2
● Stable states: minimum of the PES with respect to every
coordinates
● Transition states: minimum in every normal direction but one, for
which it is maximum
● Stationary points thus correspond to important states of the system
Simulation Tools
I. Concepts in molecular simulations
Energy minimisation
● In practice, high dimensional surface
● Many local minima
● How to perform energy minimisation?
Simulation Tools
I. Concepts in molecular simulations
Classification of minimisation algorithms
● Goal of minimisation algorithms: find the coordinates that
correspond to the minimum value of the energy:
𝜕𝐸 𝜕2𝐸
∀𝑖,
𝜕𝑥𝑖
= 0 and
𝜕𝑥2 > 0
𝑖
● Analytical search is impossible because of the complexity of the
energy function
Use of numerical methods
● Two groups of numerical methods:
● Methods using the derivatives of E:
– First-order
– Second-order
● Methods that do not use the derivatives
Simulation Tools
I. Concepts in molecular simulations
First-order derivative method: Steepest descent
● The idea: the fastest decrease in energy at one point is seen along the gradient
direction
● Algorithm steps:
● The system is initialy in A and the gradient gA of the energy is computed
● The minimum along this gradient direction vA = -gA is searched. The system
reaches the point c
● The gradient of the energy at c is computed (it is found perpendicular tothe
previous gradient) and the process iterates until one reaches B
Simulation Tools
I. Concepts in molecular simulations
First-order derivative method: Conjugate-gradients
Steepest-descent
● Drawbacks of the steepest-descent
algorithm:
● « very local »
● May lead to oscillatory processes in
narrow valleys
● The oscillatory behavior comes from the
fact that the direction vi explored at step i is
perpendicular to that vi-1 at step(i-1)
Conjugate gradients
● Conjugate-gradients: keeping memory of
the previous direction explored
vi = -gi + γi vi-1
● Conjugate-gradients reaches minimum of a
M-dimension quadratic function in M steps
Simulation Tools
I. Concepts in molecular simulations
Drawbacks of energy minimisation
● Only the closest energy minimum is found
Energy minimisation from different configurations (generated by MD or
MC simulations for example)
● Knowing minimum structures: is it enough?
● Think of liquids and solids !!
Simulation Tools
I. Concepts in molecular simulations
How to compute macroscopic properties?
Atoms, molecules Macroscopic
Statistical
Intermolecular forces physics properties
Simulation Tools
I. Concepts in molecular simulations
Principles of statistical physics
● Ensemble averages
Thermodynamic properties are averages of microscopic quantities over the
accessible microscopic states of the system
Discrete phase space Continuous phase space
𝑋 = 𝑋𝑖 = 𝑃𝑖 𝑋𝑖 𝑋 = 𝑋(𝑟𝑁, 𝑝𝑁) = ... 𝑎 (𝑟𝑁, 𝑝𝑁) 𝑃 𝑟𝑁,𝑝𝑁 𝑑𝑟𝑁𝑑𝑝𝑁
𝑖
● Ergodic principle
It is equivalent to compute:
● The time average of the quantity
𝑡0+τ
𝑋 𝑡 =
1
𝑋 𝑡𝑑𝑡
τ
𝑡0 𝑎(𝑟𝑁, 𝑝𝑁) = 𝑎 𝑡
● The statistical average of the quantity
𝑋(𝑟𝑁, 𝑝𝑁) = ... 𝑋 (𝑟𝑁, 𝑝𝑁) 𝑃(𝑟𝑁, 𝑝𝑁) 𝑑𝑟𝑁𝑑𝑝𝑁
Simulation Tools
I. Concepts in molecular simulations
Principles of statistical physics: ensembles
● Accessible microscopic states
depend on the external parameters applied
● Statistical ensembles
● (N,V,E): microcanonical ensemble – isolated systems
● (N,V,T): canonical ensemble – equilibrium with a thermostat
● (N,P,T): isothermal-isobaric ensemble – equilibrium with a thermostat
and a barostat
● (μ,V,T): grand-canonical ensemble – equilibrium with a thermostat and
a molecular reservoir
● Probabilities Pi of microstates depend on the ensemble
Simulation Tools
I. Concepts in molecular simulations
Principles of statistical physics: partition function
● Canonical ensemble: (N,V,T)
● Accessible microstates have the same volume and number of particles
● But the energies Ei of the accessible microstates canvary.
● The probability of a microstate i depends on its energy:
exp
−𝐸𝑖 𝑟𝑁,𝑝𝑁
𝑃𝑖 =
𝑘𝐵𝑇
𝑄 𝑁, 𝑉, 𝑇
● The partition function: normalisation factor of the probability
𝑄 𝑁, 𝑉, 𝑇 =
1
… exp
−𝐸𝑖 𝑟𝑁,𝑝𝑁
𝑑𝑟 𝑑𝑝
ℎ3N𝑁! 𝑘𝐵𝑇 𝑁 𝑁
The partition function contains all the information
necessary to compute average quantities
Simulation Tools
I. Concepts in molecular simulations
Principles of statistical physics: partition function
𝐸𝑖(𝑟𝑁, 𝑝𝑁) = 𝐾𝑖(𝑝𝑁) + 𝑈𝑖(𝑟𝑁)
Kinetic energy Potential energy:
𝑝2
molecular interactions
𝐾𝑖(𝑝𝑁) = 𝑗
Internal degrees of freedom
2m𝑗
𝑗
𝑄 𝑁, 𝑉, 𝑇 =
1
exp
−𝐾𝑖 𝑝𝑁
𝑑𝑝 × exp
−𝑈𝑖 𝑟𝑁
𝑑𝑟
ℎ3N𝑁! 𝑘𝐵𝑇 𝑁
𝑘𝐵𝑇 𝑁
“Ideal” partition function Qid
Configurational partition
function: Qc
Simulation Tools
I. Concepts in molecular simulations
Ideal and configurational partition functions
● Ideal partition function
● Easy to compute
● Analytical expression:
2π𝑚𝑗𝑘𝐵𝑇 3 2
1
𝑄𝑖𝑑 =
ℎ2 =
Λ3
𝑗 𝑗 𝑗
● Configurational partition function
● Comes from intermolecular forces and internal degrees of freedom
● Analytical expression available only for few models: hard spheres, van
der Waals fluids
● Need to be evaluated numerically
Simulation Tools
I. Concepts in molecular simulations
Numerical evaluation of Qc
● Direct evaluation:
Generation of all the possible configurations of the system
Impossible because of high dimensionality
● Over all the possible configurations, only few have a non-negligible
contribution to Qc
Generation of representative configurations
Molecular simulation
Simulation Tools
A
configurations
I. Concepts in molecular simulations
Molecular simulation principles
B configurations
dt dt dt dt
𝐵
𝑋
1
𝑋 𝑟 𝑡 ,𝑝 𝑡
? 𝑀 𝐷 =
𝐵 𝑁 𝑁
𝑖=1
MOLECULAR DYNAMICS
(phase space{ri,pi}) trajectory
?
𝑑𝑝
𝐹𝑖 = 𝑖
𝑑𝑡
?
MONTE CARLO
?
(configuration space {r })
i
« Random » configurations
? Acceptance conditions Ergodic principle:
𝐴
𝑋 =
1
𝑋 𝑟𝑁
𝑋 𝑒𝑛𝑠 = 𝑋 𝑀 𝐶 = 𝑋 𝑀 𝐷
𝑀 𝐶
𝐴
𝑖=1
Simulation Tools
I. Concepts in molecular simulations
Brief history of molecular simulations
Around 1950 Use of the first computers for civil applications
1953 First simulation of a liquid by Monte Carlo (hard spheres)
Métropolis, Rosenbluth et Teller
1956 Molecular dynamics Simulation of hard disks
(Alder et Wainright)
1957 Monte Carlo Simulation of a Lennard-Jones liquid
1964 Molecular dynamics Simulation of condensed
Argon (liquid) (Rahman)
From then and until now
Strong and continuous evolution of algorithms
Simulation of complex mixtures, polar molecules, heterogenous sytems
Simulation Tools
II. Molecular Dynamics simulations
Basics of molecular dynamics simulations
● Particles are submitted to inter-atomic potentials U
● Framework of classical mechanics: Newton's laws for the nuclei
𝐹𝑖 𝑡 = 𝑚𝑖𝑎𝑖 𝑡 = −𝛻𝑖𝑈 𝑟 𝑡
Expression of the potential U:
Quantum mechanics: Classical mechanics:
Ab-initio MD (Classical) MD
Expression of U: forcefield
Simulation Tools
II. Molecular Dynamics simulations
Classical forcefields
𝐹𝑖 𝑡 = 𝑚𝑖𝑎𝑖 𝑡 = −𝛻𝑖𝑈 𝑟 𝑡
● Two-body interactions
Expression of the potential U: ● Analytical expression
● Differentiable function
Forcefield
𝑞𝑖𝑞𝑗 Charge-charge
𝑉𝑐𝑜𝑢𝑙 𝑟 =
4πε0𝑟 interactions
𝑉 𝑟 = 4ε
σ 12
−
σ 6
Dipole-dipole
𝐿𝐽
𝑟 𝑟 interactions
Simulation Tools
II. Molecular Dynamics simulations
Integration of the equations of motion
Finite difference methods:
Discretization of the trajectory and numerical integration
t t+δt t+2δt
𝑟 𝑡+ δ𝑡 = 𝑟 𝑡 + δ𝑡𝑣 𝑡 +
1
δ𝑡2
𝑎𝑡+. ..
2
𝑣 𝑡+ δ𝑡 = 𝑣 𝑡 + δ𝑡𝑎𝑡+. ..
Simulation Tools
II. Molecular Dynamics simulations
Equations of motion: the Verlet algorithm (1967)
𝑟 𝑡+ δ𝑡 = 𝑟 𝑡 + δ𝑡𝑣 𝑡 +
1
δ𝑡2
𝑎𝑡
2
𝑟 𝑡− δ𝑡 = 𝑟 𝑡 − δ𝑡𝑣 𝑡 +
1
δ𝑡2
𝑎𝑡
2
𝑎 𝑡 = −𝛻𝑈 𝑡
𝑟 𝑡+ δ𝑡 = 2
𝑟 𝑡 − 𝑟 𝑡− δ𝑡 + δ𝑡2
𝑎𝑡
𝑣 𝑡 = 𝑟 𝑡+ δ𝑡 − 𝑟 𝑡− δ𝑡 2δ𝑡
Simulation Tools
II. Molecular Dynamics simulations
Equation of motions: other algorithms
𝑟 𝑡+ δ𝑡 = 𝑟 𝑡 + δ𝑡𝑣 𝑡+
δ𝑡
2
𝑣 𝑡+
δ𝑡
= 𝑣 𝑡−
δ𝑡
+ δ𝑡𝑎𝑡
Leap-frog algorithm 2 2
𝑣 𝑡 =
1
𝑣 𝑡+
δ𝑡
+ 𝑣 𝑡−
δ𝑡
2 2 2
𝑟 𝑡+ δ𝑡 = 𝑟 𝑡 + δ𝑡𝑣 𝑡 +
1
δ𝑡2
𝑎𝑡
Velocity-Verlet algorithm
2
𝑣 𝑡+ δ𝑡 = 𝑣 𝑡 +
δ𝑡
𝑎 𝑡 + 𝑎 𝑡+δ𝑡
2
And others....
Simulation Tools
II. Molecular Dynamics simulations
Integration in practice
● Which integration scheme should be used?
● Good energy conservation
● Depends on the time step value δt
● Choice of the time step
● Small: good accuracy but computationally expensive
● Big: poor accuracy for the trajectory but cheap
Compromise between accuracy
and computation time
Simulation Tools
II. Molecular Dynamics simulations
More about the time step...
● Not too small but not too big, but how much?
● Typically one order of magnitude lower than the period of the fastest
motion in the system
Example 1: argon atoms Example 2: water molecules
Caracteristic distance: 𝑑 ≈ 0.3𝑛𝑚 Fastest motion:
vibration of O-H bond
Caracteristic speed:
3𝑘𝐵𝑇 −1
Period of the vibration:
𝑣 ≈
𝑚
≈ 350𝑚. 𝑠
𝑑 ν ≈ 4000𝑐𝑚−1 ⇒ 𝑇 ≈ 10−14𝑠
Caracteristic time: τ ≈
𝑣
≈ 10−13𝑠
Time step δt ≈ 10-14 s Time step δt ≈ 10-15 s
Simulation Tools
II. Molecular Dynamics simulations
Statistical ensembles and molecular dynamics
All intermolecular forces are conservative
Total energy of the system constant:
(N,V,E) microcanonical ensemble
2 𝐾
T is an output of the simulation: 𝑇 =
3𝑁𝑘𝐵
Is it possible to fix T and to sample in the (N,V,T) or (N,P,T) ensemble ?
Simulation Tools
II. Molecular Dynamics simulations
Constant temperature molecular thermodynamics
● Fixing temperature to T0 = Fixing kinetic energy
𝐾 =
1
𝑚 𝑣2
𝑇 =
2 1
𝑚 𝑣2
2 𝑗 𝑗
3N𝑘𝐵 2 𝑗 𝑗
𝑗 𝑗
● If T ≠ T0, modification of the velocities:
1 2
𝑣𝑗 → (λ𝑣𝑗) 𝐾′ =
2
𝑚𝑗 λ𝑣𝑗 𝑇′ = λ2𝑇
𝑗
λ =
𝑇0
𝑇
● In practice, this method is not used anymore and more sophisticated
algorithm are used, but the idea of “modifying” the velocities of particles
Simulation Tools
II. Molecular Dynamics simulations
How to run an MD simulation?
● System definition
● Statistical ensemble
● Choice of the forcefield
● Temperature, density,...
● Setting up the initial “configuration”
● Initial coordinates
● Initial velocities (linked with temperature T)
● Calculation of forces applied to each particle
● Integration of the equations of motion
New coordinates and velocities
Simulation Tools
II. Molecular Dynamics simulations
Few examples in motion: fluid simulation
Simulation Tools
II. Molecular Dynamics simulations
Few examples in motion: protein folding simulation
Simulation Tools
III. Monte Carlo simulations
Monte Carlo: the principles
● Calculation of the ensemble average :
● Random generation of M configurations i of the system
● Calculation of the probability Pi of eachconfiguration
● Estimation of the ensemble average:
𝑀
𝐴 = 𝑃𝑖 𝑎𝑖
𝑖=1
● Drawback: many configurations have a negligible weight in the average
M should be very big
● Alternative: importance sampling
● Generation of M’ configurations that follow the Boltzmannprobability
distribution {Pi} 𝑀 ′
● Direct calculation of the ensemble average: 𝐴 =
1
𝑎
𝑀′ 𝑖
𝑖=1
Simulation Tools
III. Monte Carlo simulations
Monte Carlo: Markov chain and microreversibility
● How to generate configurations following the probability distribution {Pi}?
● Markov chain:
● Creation of successive configurations
● Random creation of each configuration
● The probability W(i→j) to go from configuration i to the next configuration j
only depends on i and j
i j
● If i is the configuration at step t, the configuration at step (t+1) may thenbe:
– Either the same configuration i
– Or the new configuration j
Simulation Tools
III. Monte Carlo simulations
Monte Carlo: Markov chain and microreversibility
● Probability to be in configuration i at step (t+1):
𝑃 𝑖,𝑡 + 1 = 𝑃 𝑖,𝑡 − 𝑃 𝑖,𝑡 𝑊 𝑖→ 𝑘 + 𝑃 𝑘, 𝑡 𝑊 𝑘 → 𝑖
𝑘≠𝑖 𝑘≠𝑖
Probability to stay in Probability to arrive in
configuration i configuration i from
another configuration
● Equilibrium condition (stationnarity):
At equilibrium, the probability to be in configuration i does not depend on the step,
but only on its Boltzmann probability: P(i,t+1)=P(i,t)=P(i)
𝑃 𝑖𝑊 𝑖→ 𝑘 = 𝑃 𝑘 𝑊 𝑘 → 𝑖
𝑘≠𝑖 𝑘≠𝑖
Probability of i in the statistical Transition probability to go from configuration i to
ensemble considered configuration k in the Markov chain
● Sufficient condition: microreversibility
∀ 𝑖,𝑘 ,𝑃 𝑖𝑊 𝑖→ 𝑘 = 𝑃 𝑘 𝑊 𝑘 → 𝑖
Simulation Tools
III. Monte Carlo simulations
Monte Carlo: Metropolis algorithm
● Aim of the algorithm: determine the transition probabilities so that
configurations are visited with the right probability
● Transition probability W(i→k):
𝑊 𝑖→ 𝑘 = 𝑃𝑔𝑒𝑛 𝑖→ 𝑘 .𝑃𝑎𝑐𝑐 𝑖→ 𝑘
● Micro-reversibility condition:
∀ 𝑖,𝑘 ,𝑃 𝑖 𝑃𝑔𝑒𝑛 𝑖→ 𝑘 𝑃𝑎𝑐𝑐 𝑖→ 𝑘 = 𝑃 𝑘 𝑃𝑔𝑒𝑛 𝑘 → 𝑖𝑃𝑎𝑐𝑐 𝑘 → 𝑖
● Metropolis criteria:
● Random generation of the configurations: 𝑃𝑔𝑒𝑛 𝑖→ 𝑘 = 𝑃𝑔𝑒𝑛 𝑘 → 𝑖
● Acceptation probability:
𝑃𝑎𝑐𝑐 𝑖→ 𝑘 = 1 𝑖𝑓 𝑃𝑘 > 𝑃𝑖
𝑃𝑘
𝑃 𝑖→ 𝑘 =
𝑃𝑘
𝑖𝑓 𝑃 < 𝑃 𝑃𝑎𝑐𝑐 𝑖→ 𝑘 = min 1,
𝑎𝑐𝑐
𝑃𝑖
𝑘 𝑖 𝑃𝑖
Simulation Tools
III. Monte Carlo simulations
Monte Carlo: Metropolis algorithm in practice
● Calculation of the energy Ei of the current configuration i
● Construction of a new possible configuration j from configuration i
● Calculation of the energy Ej of the new configuration j
● Calculation of: 𝐸𝑗− 𝐸𝑖
𝑅 𝑖→ 𝑗 = exp −
𝑘𝐵𝑇
● Generation of a random number R from a uniform distribution
between 0 and 1 exp −
𝐸𝑗−𝐸𝑖
● R < R(i→j): the new configuration j
𝑘𝐵𝑇
is accepted
● R > R(i→j): the new configuration j x RRefused
is rejected and the configuration i is 2
conserved Accepted
x R1
Ej –Ei
Ej –Ei
Simulation Tools
III. Monte Carlo simulations
Creation of the new configuration
● If the configuration j is created randomly: few chances that R(i→j) will
be high.
● Configuration j build from configuration i with “small” modifications
(moves):
Translation Rotation Exchange
Moves can be « non-physical »
● Advantages:
● Energy difference (Ei-Ej) easy to compute
● Energy difference small → “high” probability of accepting the move
Simulation Tools
III. Monte Carlo simulations
Generating a new configuration in practice (1)
● Selection of a type of move:
● Each type of move has a probability P(M) (sum to 1)
● Generation of a random number R1 between 0 and 1
● Move M selected if: 1
exchange
𝑀−1 𝑀
𝑃 𝑗 < 𝑅1 < 𝑃 𝑗
2/3
𝑗=1 𝑗=1
rotation
Translation
1/3
R1
X translation
0
Simulation Tools
III. Monte Carlo simulations
Generating a new configuration in practice (2)
● Selection of a type of move:
N=12
● Select a molecule to which the move is applied:
● Generate a random number R2 between 0and 1 1
● Chose molecule k so that: R2 X 10/N
𝑘 − 1
< 𝑅 <
𝑘 9/N
𝑁 2
𝑁
k = 10
2/N
1/N
0
Simulation Tools
III. Monte Carlo simulations
Generating a new configuration in practice (3)
● Selection of a type of move:
● Select a molecule to which the move is applied:
● Apply the selected move to molecule k:
● Generate random numbers (3 for a translation: ξx, ξy, ξz)
● Move the molecule to create the trial configuration j
𝑥𝑘 𝑗 = 𝑥𝑘 𝑖 + 2ξ𝑥 − 1 δ𝑟
𝑦𝑘 𝑗 = 𝑦𝑘 𝑖 + 2ξ𝑦 − 1 δ𝑟
𝑧𝑘 𝑗 = 𝑧𝑘 𝑖 + 2ξ𝑧 − 1 δ𝑟
Simulation Tools
III. Monte Carlo simulations
Monte Carlo simulations and random numbers
● Monte Carlo simulations make use of a large amount of random
numbers
● Example: one trial configuration with a translation move
● 1 number to “chose” the translation move
● 1 number to “chose” the molecule to which the translation is applied
● 3 random numbers to generate the amount of translation
● 1 random number to determine the acceptance/rejection of the
configuration
● Total: 6 random numbers for only one trial move (10-1000 billions
moves in one typical MC simulation)
● Need for “good” random number generators !
Simulation Tools
III. Monte Carlo simulations
Monte Carlo simulations and statistical ensembles
● Monte Carlo simulations well suited for canonical ensembles:
● Typical moves: translation, rotation
● Biased moves for complex molecules (reptation, regrowth,...) to
accelerate convergence
● Acceptance probability: Metropolis criterion
𝐸𝑖 − 𝐸𝑗
𝑃𝑎𝑐𝑐 𝑖→ 𝑗 = min 1,exp
𝑘𝐵𝑇
● But Monte Carlo algorithm can be adapted to other ensembles:
● Isothermic-isobaric ensemble (N,P,T) New moves
● Grand-canonical ensemble (μ,V,T)
New Boltzmann
● And others... probabilities
New acceptance
probability
Simulation Tools
III. Monte Carlo simulations
Monte Carlo simulations in (N,P,T) ensemble
● The volume of the system can fluctuate between two configurations
New move: volume change
𝑉𝑗= 𝑉𝑖+ (2ξ −1)δ𝑉
Multiplication of every
coordinate by a same factor
● Probability of one configuration:
1 𝑉𝑖
𝑁
−𝐸𝑖 +𝑃𝑉𝑖
𝑃 𝑖 ∝
𝑁! Λ
exp
𝑘𝐵𝑇
● Probability of accepting the new configuration:
𝑉𝑘
𝑁
𝐸𝑖 − 𝐸𝑘 𝑃 𝑉𝑘 − 𝑉𝑖
𝑃𝑎𝑐𝑐 𝑖→ 𝑗 = min 1,
𝑉𝑖
exp
𝑘𝐵𝑇
+
𝑘𝐵𝑇
Simulation Tools
III. Monte Carlo simulations
Monte Carlo simulations in (μ,V,T) ensemble
● Grand-canonical ensemble adapted to open systems, where the nunmber
of particles N can fluctuate:
Two new moves:
insertion (Nk = Ni + 1) and deletion (Nk = Ni - 1) of particles
● Probability of one configuration:
1 𝑉 𝑁𝑖 −𝐸𝑖 −μ𝑁𝑖
𝑃 𝑖 ∝
𝑁𝑖! Λ
exp
𝑘𝐵𝑇
● Probabilités d'accepter la nouvelle configuration :
𝑁𝑘 = 𝑁𝑖 + 1 𝑃 𝑖→ 𝑘 = min 1,
𝑉
exp
𝐸𝑖 − 𝐸𝑘
+
μ
𝑎𝑐𝑐
insertion Λ3 𝑁𝑖 + 1 𝑘𝐵𝑇 𝑘𝐵𝑇
𝑁𝑖
𝑁𝑘 = 𝑁𝑖 𝑃 𝑖→ 𝑘 = min 1,exp
𝐸𝑖− 𝐸𝑘
𝑎𝑐𝑐
rotation, translation, ... 𝑘𝐵𝑇
𝑁𝑘 = 𝑁𝑖 − 1 𝑁𝑖Λ3 𝐸𝑖 − 𝐸𝑘 μ
𝑃𝑎𝑐𝑐 𝑖→ 𝑘 = min 1, exp −
deletion 𝑉 𝑘𝐵𝑇 𝑘𝐵𝑇
Simulation Tools
Practical aspects of molecular
simulations
M2 SERP-Chem 2013-2014 Simulation Tools
IV. Practical aspects of molecular simulations
Periodic boundary conditions
● Computational time for energy proportional to N2
● Limitation of system size tipically to 103-106 atoms
● Surface effect problems
● Example: regular cubic network of 1000
atoms (10x10x10)
● ~ 50% of the atoms on the surface !
● Even with 106 atoms(100x100x100):
● 98x98x98 = 941192 atoms « in the
heart » of the system
● ~6% of the atoms on the surface
M2 SERP-Chem 2013-2014 Simulation Tools
IV. Practical aspects of molecular simulations
Periodic boundary conditions
● Periodic conditions:
Replication of the cell in every direction of space:
● Creation of a cristalline network:
● Suppression of surface effects
● Artefacts due to the artificial periodicity?
Simulation Tools
IV. Practical aspects of molecular simulations
Potential truncation and minimum image convention
● Intermolecular potentials: mathematical function in (1/r)n
● If n > 2, short-range interactions
Example: dispersion interactions
σ 6
𝑉𝑑𝑖𝑠𝑝 σ = −4ε
𝑉𝑑𝑖𝑠𝑝 𝑟 = −4ε
𝑟 𝑉𝑑𝑖𝑠𝑝 σ
𝑉𝑑𝑖𝑠𝑝 2.5σ =
2.56 ≈ 0.005𝑉𝑑𝑖𝑠𝑝 σ
σ : few Å
σ 2,5σ
● Introduction of a cutoff radius rc in the calculation ofinteractions
● Which value for rc?
Simulation Tools
IV. Practical aspects of molecular simulations
Potential truncation and minimum image convention
● Minimum image convention:
One molecule should feel the influence of only one image of each molecule of
the system (the closest one)
● Restriction on the value of rc
𝑟 <
𝐿
𝑐
2
L
● Lower the periodicity effects
M2 SERP-Chem 2013-2014 Simulation Tools
IV. Practical aspects of molecular simulations
Potential truncation in practice
● Chose the cutoff radius rc
● Build a neighbour-list for each atom i that includes all the atoms
lying at a distance less than rc from i.
● Compute the interaction for atom i:
12 6
● For each atom j in the neighbour-list: 𝑉 = 4ε
σ
−
σ
𝑖𝑗
𝑟𝑖𝑗 𝑟𝑖𝑗
● For any other atom k: 𝑉𝑖𝑘 = 0
∞
σ12 σ6
● Add a long-range correction: 𝑉𝑐𝑜𝑟𝑟 = ρ 𝑉 𝑟 4π𝑟2𝑑𝑟 = 8πρ
6𝑟9 −
3𝑟3
𝑟𝑐
𝑐 𝑐
● The neighbour-list is rebuilt periodically
Simulation Tools
IV. Practical aspects of molecular simulations
Long range forces
● Electrostatic interactions in (1/r) are long-range interactions
𝑞𝑖𝑞𝑗
𝑉𝑐𝑜𝑢𝑙 𝑟 =
4πε0𝑟
𝑉 𝑟 = 4ε
σ 12
−
σ 6
𝐿𝐽
𝑟 𝑟
● Using a cutoff is inappropriate – more sophisticated methods are used
(Ewald summations)
Simulation Tools
IV. Practical aspects of molecular simulations
Equilibration and production phases
● Initial configuration is most of the time not at equilibrium
● The first stage of the simulation is to reach equilibrium: this is the
equilibration stage.
● Once equilibrium is reached, the production phase can begin,
during which properties can be calculated
Simulation Tools
IV. Practical aspects of molecular simulations
Which information is accessible with MC or MD?
● Structural data
● Equilibrium structure of a macromolecule
● Fluid density in various (P,T) conditions
● Structure of a fluid (radial distribution function g(r))
● Energetic data
● Binding affinities
● Heat capacities
● Thermoelastic coefficients (compressibility, Joule-Thomson coefficients)
● Transport properties
● Diffusion coefficients
● Viscosity
● Thermal conductivity
.... and many others
Simulation Tools
IV. Practical aspects of molecular simulations
Monte Carlo or Molecular dynamics?
Water simulation at 298K and under a pressure of 1bar
Monte Carlo (N,P,T) simulation Molecular Dynamics (N,P,T) simulation
<T>DM = 297,9± 0,4K
<ρ>MC = 997,6 ± 1,7 kg.m-3
<E>DM = -47,799 ± 0,009kJ.mol-1
<E>MC = -47,79 ± 0,04kJ.mol-1
<ρ>DM = 997.02 ± 0,31 kg.m-3
M2 SERP-Chem 2013-2014 Simulation Tools
IV. Practical aspects of molecular simulations
Monte Carlo or Molecular dynamics?
Molecular Dynamics
Monte Carlo
● Molecular dynamics: temporal information, collective motions
● Monte Carlo: may be easier to overcome energy barriers, no need of
thermostat or barostat (“exact” T or P)
● Hybrid MD/MC simulations are in development
Simulation Tools

More Related Content

What's hot

SubmissionCopyAlexanderBooth
SubmissionCopyAlexanderBoothSubmissionCopyAlexanderBooth
SubmissionCopyAlexanderBooth
Alexander Booth
 

What's hot (18)

Ebook mst209 block1_e1i1_n9780749252816_l1 (2)
Ebook mst209 block1_e1i1_n9780749252816_l1 (2)Ebook mst209 block1_e1i1_n9780749252816_l1 (2)
Ebook mst209 block1_e1i1_n9780749252816_l1 (2)
 
Ebook mst209 block3_e1i1_n9780749252830_l1 (2)
Ebook mst209 block3_e1i1_n9780749252830_l1 (2)Ebook mst209 block3_e1i1_n9780749252830_l1 (2)
Ebook mst209 block3_e1i1_n9780749252830_l1 (2)
 
N41049093
N41049093N41049093
N41049093
 
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...
 
A COMPREHENSIVE ANALYSIS OF QUANTUM CLUSTERING : FINDING ALL THE POTENTIAL MI...
A COMPREHENSIVE ANALYSIS OF QUANTUM CLUSTERING : FINDING ALL THE POTENTIAL MI...A COMPREHENSIVE ANALYSIS OF QUANTUM CLUSTERING : FINDING ALL THE POTENTIAL MI...
A COMPREHENSIVE ANALYSIS OF QUANTUM CLUSTERING : FINDING ALL THE POTENTIAL MI...
 
SubmissionCopyAlexanderBooth
SubmissionCopyAlexanderBoothSubmissionCopyAlexanderBooth
SubmissionCopyAlexanderBooth
 
Legendre Wavelet for Solving Linear System of Fredholm And Volterra Integral ...
Legendre Wavelet for Solving Linear System of Fredholm And Volterra Integral ...Legendre Wavelet for Solving Linear System of Fredholm And Volterra Integral ...
Legendre Wavelet for Solving Linear System of Fredholm And Volterra Integral ...
 
Stability behavior of second order neutral impulsive stochastic differential...
Stability behavior of second order neutral impulsive  stochastic differential...Stability behavior of second order neutral impulsive  stochastic differential...
Stability behavior of second order neutral impulsive stochastic differential...
 
Pria 2007
Pria 2007Pria 2007
Pria 2007
 
Iv3416201624
Iv3416201624Iv3416201624
Iv3416201624
 
A method for solving unbalanced intuitionistic fuzzy transportation problems
A method for solving unbalanced intuitionistic fuzzy transportation problemsA method for solving unbalanced intuitionistic fuzzy transportation problems
A method for solving unbalanced intuitionistic fuzzy transportation problems
 
Sensor Fusion Study - Ch1. Linear System [Hayden]
Sensor Fusion Study - Ch1. Linear System [Hayden]Sensor Fusion Study - Ch1. Linear System [Hayden]
Sensor Fusion Study - Ch1. Linear System [Hayden]
 
Fundamentals of quantum computing part i rev
Fundamentals of quantum computing   part i revFundamentals of quantum computing   part i rev
Fundamentals of quantum computing part i rev
 
THE RESEARCH OF QUANTUM PHASE ESTIMATION ALGORITHM
THE RESEARCH OF QUANTUM PHASE ESTIMATION ALGORITHMTHE RESEARCH OF QUANTUM PHASE ESTIMATION ALGORITHM
THE RESEARCH OF QUANTUM PHASE ESTIMATION ALGORITHM
 
H023078082
H023078082H023078082
H023078082
 
Approximate Solution of a Linear Descriptor Dynamic Control System via a non-...
Approximate Solution of a Linear Descriptor Dynamic Control System via a non-...Approximate Solution of a Linear Descriptor Dynamic Control System via a non-...
Approximate Solution of a Linear Descriptor Dynamic Control System via a non-...
 
A New Method Based on MDA to Enhance the Face Recognition Performance
A New Method Based on MDA to Enhance the Face Recognition PerformanceA New Method Based on MDA to Enhance the Face Recognition Performance
A New Method Based on MDA to Enhance the Face Recognition Performance
 
Semi-global Leaderless Consensus with Input Saturation Constraints via Adapti...
Semi-global Leaderless Consensus with Input Saturation Constraints via Adapti...Semi-global Leaderless Consensus with Input Saturation Constraints via Adapti...
Semi-global Leaderless Consensus with Input Saturation Constraints via Adapti...
 

Similar to molecular modlling.pptx

Evaluation of Vibrational Behavior for A System With TwoDegree-of-Freedom Und...
Evaluation of Vibrational Behavior for A System With TwoDegree-of-Freedom Und...Evaluation of Vibrational Behavior for A System With TwoDegree-of-Freedom Und...
Evaluation of Vibrational Behavior for A System With TwoDegree-of-Freedom Und...
IJERA Editor
 
Rasool_PhD_Final_Presentation
Rasool_PhD_Final_PresentationRasool_PhD_Final_Presentation
Rasool_PhD_Final_Presentation
Ghulam Rasool
 
István Dienes Lecture For Unified Theories 2006
István Dienes Lecture For Unified Theories 2006István Dienes Lecture For Unified Theories 2006
István Dienes Lecture For Unified Theories 2006
Istvan Dienes
 

Similar to molecular modlling.pptx (20)

Finite Element Analysis Lecture Notes Anna University 2013 Regulation
Finite Element Analysis Lecture Notes Anna University 2013 Regulation Finite Element Analysis Lecture Notes Anna University 2013 Regulation
Finite Element Analysis Lecture Notes Anna University 2013 Regulation
 
Evaluation of Vibrational Behavior for A System With TwoDegree-of-Freedom Und...
Evaluation of Vibrational Behavior for A System With TwoDegree-of-Freedom Und...Evaluation of Vibrational Behavior for A System With TwoDegree-of-Freedom Und...
Evaluation of Vibrational Behavior for A System With TwoDegree-of-Freedom Und...
 
Computational chemistry
Computational chemistryComputational chemistry
Computational chemistry
 
Degree presentation: Indirect Inference Applied to Financial Econometrics
Degree presentation: Indirect Inference Applied to Financial EconometricsDegree presentation: Indirect Inference Applied to Financial Econometrics
Degree presentation: Indirect Inference Applied to Financial Econometrics
 
Molecular modelling
Molecular modelling Molecular modelling
Molecular modelling
 
FEA 2 marks unit 1 to 5
FEA 2 marks unit 1 to 5FEA 2 marks unit 1 to 5
FEA 2 marks unit 1 to 5
 
Molecular modelling for M.Pharm according to PCI syllabus
Molecular modelling for M.Pharm according to PCI syllabusMolecular modelling for M.Pharm according to PCI syllabus
Molecular modelling for M.Pharm according to PCI syllabus
 
fea qb
 fea qb fea qb
fea qb
 
molecular modelling.pptx
molecular modelling.pptxmolecular modelling.pptx
molecular modelling.pptx
 
Rasool_PhD_Final_Presentation
Rasool_PhD_Final_PresentationRasool_PhD_Final_Presentation
Rasool_PhD_Final_Presentation
 
document(1).pdf
document(1).pdfdocument(1).pdf
document(1).pdf
 
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
 
Molecular mechanics and dynamics
Molecular mechanics and dynamicsMolecular mechanics and dynamics
Molecular mechanics and dynamics
 
Molecular modelling and docking studies
Molecular modelling and docking studiesMolecular modelling and docking studies
Molecular modelling and docking studies
 
Computational Chemistry- An Introduction
Computational Chemistry- An IntroductionComputational Chemistry- An Introduction
Computational Chemistry- An Introduction
 
Tudelft stramien 16_9_on_optimization
Tudelft stramien 16_9_on_optimizationTudelft stramien 16_9_on_optimization
Tudelft stramien 16_9_on_optimization
 
István Dienes Lecture For Unified Theories 2006
István Dienes Lecture For Unified Theories 2006István Dienes Lecture For Unified Theories 2006
István Dienes Lecture For Unified Theories 2006
 
Engineering Thermodynamics-Basic concepts 1
Engineering Thermodynamics-Basic concepts 1Engineering Thermodynamics-Basic concepts 1
Engineering Thermodynamics-Basic concepts 1
 
Kt2518841887
Kt2518841887Kt2518841887
Kt2518841887
 

More from wadhava gurumeet

More from wadhava gurumeet (20)

Chemoinformatic File Format.pptx
Chemoinformatic File Format.pptxChemoinformatic File Format.pptx
Chemoinformatic File Format.pptx
 
Geographical Indicators
Geographical IndicatorsGeographical Indicators
Geographical Indicators
 
Gas Chromatography PPT GCW.pptx
Gas Chromatography PPT GCW.pptxGas Chromatography PPT GCW.pptx
Gas Chromatography PPT GCW.pptx
 
Errors PPt.pptx
Errors PPt.pptxErrors PPt.pptx
Errors PPt.pptx
 
Advance Green Chemistry.ppt
Advance Green Chemistry.pptAdvance Green Chemistry.ppt
Advance Green Chemistry.ppt
 
analytical dose.pptx
analytical dose.pptxanalytical dose.pptx
analytical dose.pptx
 
Antibiotic Drug.ppt
Antibiotic Drug.pptAntibiotic Drug.ppt
Antibiotic Drug.ppt
 
Assay In Drug Analysis.ppt
Assay In Drug Analysis.pptAssay In Drug Analysis.ppt
Assay In Drug Analysis.ppt
 
bioassay.pptx
bioassay.pptxbioassay.pptx
bioassay.pptx
 
Biological Catalyst.pptx
Biological Catalyst.pptxBiological Catalyst.pptx
Biological Catalyst.pptx
 
Drug Discovery.pptx
Drug Discovery.pptxDrug Discovery.pptx
Drug Discovery.pptx
 
fda guidles.pptx
fda guidles.pptxfda guidles.pptx
fda guidles.pptx
 
Green Chemistry.ppt
Green Chemistry.pptGreen Chemistry.ppt
Green Chemistry.ppt
 
Introduction to Pharmaceuticak Industry.pptx
Introduction to Pharmaceuticak Industry.pptxIntroduction to Pharmaceuticak Industry.pptx
Introduction to Pharmaceuticak Industry.pptx
 
Mevolonic Acid.pptx
Mevolonic Acid.pptxMevolonic Acid.pptx
Mevolonic Acid.pptx
 
Neighbouring Group Participation.pptx
Neighbouring Group Participation.pptxNeighbouring Group Participation.pptx
Neighbouring Group Participation.pptx
 
solid support.ppt
solid support.pptsolid support.ppt
solid support.ppt
 
Sonochemistry.pptx
Sonochemistry.pptxSonochemistry.pptx
Sonochemistry.pptx
 
Spectrophotometry.pptx
Spectrophotometry.pptxSpectrophotometry.pptx
Spectrophotometry.pptx
 
stability study.pptx
stability study.pptxstability study.pptx
stability study.pptx
 

Recently uploaded

Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
PirithiRaju
 
The Philosophy of Science
The Philosophy of ScienceThe Philosophy of Science
The Philosophy of Science
University of Hertfordshire
 
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Sérgio Sacani
 

Recently uploaded (20)

TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
 
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
 
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral AnalysisRaman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
 
Green chemistry and Sustainable development.pptx
Green chemistry  and Sustainable development.pptxGreen chemistry  and Sustainable development.pptx
Green chemistry and Sustainable development.pptx
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
 
The Philosophy of Science
The Philosophy of ScienceThe Philosophy of Science
The Philosophy of Science
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
 
Botany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfBotany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdf
 
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticsPulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based Nanomaterials
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
 
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
 
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxPhysiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
 
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencyHire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
 
Isotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoIsotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on Io
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)
 

molecular modlling.pptx

  • 1. Simulation Tools Basics of molecular modelling Dr.Gurumeet C Wadhawa Karmaveer Bhaurao Patil College Vashi
  • 2. 0. Introduction What is molecular modelling? Wikipedia: Molecular modeling encompasses all theoretical methods and computational techniques used to model or mimic the behaviour of molecules. In other words: Theoretical methods that allows to describe macroscopic observations with the use of microscopic description of matter Simulation Tools
  • 3. 0. Introduction What is molecular modelling? Solving chemical problems with numerical experiments OBJECTS TOOLS GOALS Molecular systems Properties MODELS Comparison Theory/experience Physical laws Atomic and Geometries molecular interactions Spectra Thermodynamics Mathematical Activation energies models Rate constants Understanding Rationalization Prediction Simulation Tools
  • 4. 0. Introduction Outline I. Concepts in Molecular Simulations II. Molecular Dynamics simulations III. Monte Carlo simulations IV. Practical aspects of molecular simulations Simulation Tools
  • 5. I. Concepts in molecular simulations Molecular description and representation Length scale Electronic/Nuclear description m H mm O H μm Classical Mechanics nm Atomic/Molecular Å Quantum description Mechanics fs ps ns μs ms s Time scale Simulation Tools
  • 6. I. Concepts in molecular simulations The phase space ● One microstate = a set of given coordinates and moments (rN,pN) of all the particles of the system ● N particles → 6N-dimensional phase space Γ and 3N-dimensional configuration space ● All microstates do not have the same importance  . One configuration Important for macroscopic property . One configuration Unlikely to occur Simulation Tools
  • 7. I. Concepts in molecular simulations The potential energy surface (PES) Global Maximum Saddle point Local Maximum E Local Minimum global Minimum Local Minimum ● Potential energy surface = energy as a function of nuclear coordinates (Born-Oppenheimer approximation) ● Each point of the configuration space corresponds to one point on the PES ● Various interesting points on the PES Simulation Tools
  • 8. I. Concepts in molecular simulations Particular points of the PES 𝜕𝐸 = 0 Stationary points 𝜕𝑥𝑟 Transition state: saddle point Equilibrium structures: local minima 𝜕2𝐸 𝜕2𝐸 Equilibrium structure: global minimum 𝜕𝑥2 > 0 𝜕𝑥2 <0 𝑟 𝑟 Maximum Minimum Simulation Tools
  • 9. I. Concepts in molecular simulations The stationary points of the PES Minimum Maximum Saddle point 𝜕2𝑓(𝑥,𝑦) > 0 ; 𝜕2𝑓(𝑥,𝑦) 𝜕2𝑓(𝑥,𝑦) < 0 ; 𝜕2𝑓(𝑥,𝑦) < 0 𝜕2𝑓(𝑥,𝑦) > 0 ; 𝜕2𝑓(𝑥,𝑦) <0 𝜕𝑥2 𝜕𝑦2 > 0 𝜕𝑥2 𝜕𝑦2 𝜕𝑥2 𝜕𝑦2 ● Stable states: minimum of the PES with respect to every coordinates ● Transition states: minimum in every normal direction but one, for which it is maximum ● Stationary points thus correspond to important states of the system Simulation Tools
  • 10. I. Concepts in molecular simulations Energy minimisation ● In practice, high dimensional surface ● Many local minima ● How to perform energy minimisation? Simulation Tools
  • 11. I. Concepts in molecular simulations Classification of minimisation algorithms ● Goal of minimisation algorithms: find the coordinates that correspond to the minimum value of the energy: 𝜕𝐸 𝜕2𝐸 ∀𝑖, 𝜕𝑥𝑖 = 0 and 𝜕𝑥2 > 0 𝑖 ● Analytical search is impossible because of the complexity of the energy function Use of numerical methods ● Two groups of numerical methods: ● Methods using the derivatives of E: – First-order – Second-order ● Methods that do not use the derivatives Simulation Tools
  • 12. I. Concepts in molecular simulations First-order derivative method: Steepest descent ● The idea: the fastest decrease in energy at one point is seen along the gradient direction ● Algorithm steps: ● The system is initialy in A and the gradient gA of the energy is computed ● The minimum along this gradient direction vA = -gA is searched. The system reaches the point c ● The gradient of the energy at c is computed (it is found perpendicular tothe previous gradient) and the process iterates until one reaches B Simulation Tools
  • 13. I. Concepts in molecular simulations First-order derivative method: Conjugate-gradients Steepest-descent ● Drawbacks of the steepest-descent algorithm: ● « very local » ● May lead to oscillatory processes in narrow valleys ● The oscillatory behavior comes from the fact that the direction vi explored at step i is perpendicular to that vi-1 at step(i-1) Conjugate gradients ● Conjugate-gradients: keeping memory of the previous direction explored vi = -gi + γi vi-1 ● Conjugate-gradients reaches minimum of a M-dimension quadratic function in M steps Simulation Tools
  • 14. I. Concepts in molecular simulations Drawbacks of energy minimisation ● Only the closest energy minimum is found Energy minimisation from different configurations (generated by MD or MC simulations for example) ● Knowing minimum structures: is it enough? ● Think of liquids and solids !! Simulation Tools
  • 15. I. Concepts in molecular simulations How to compute macroscopic properties? Atoms, molecules Macroscopic Statistical Intermolecular forces physics properties Simulation Tools
  • 16. I. Concepts in molecular simulations Principles of statistical physics ● Ensemble averages Thermodynamic properties are averages of microscopic quantities over the accessible microscopic states of the system Discrete phase space Continuous phase space 𝑋 = 𝑋𝑖 = 𝑃𝑖 𝑋𝑖 𝑋 = 𝑋(𝑟𝑁, 𝑝𝑁) = ... 𝑎 (𝑟𝑁, 𝑝𝑁) 𝑃 𝑟𝑁,𝑝𝑁 𝑑𝑟𝑁𝑑𝑝𝑁 𝑖 ● Ergodic principle It is equivalent to compute: ● The time average of the quantity 𝑡0+τ 𝑋 𝑡 = 1 𝑋 𝑡𝑑𝑡 τ 𝑡0 𝑎(𝑟𝑁, 𝑝𝑁) = 𝑎 𝑡 ● The statistical average of the quantity 𝑋(𝑟𝑁, 𝑝𝑁) = ... 𝑋 (𝑟𝑁, 𝑝𝑁) 𝑃(𝑟𝑁, 𝑝𝑁) 𝑑𝑟𝑁𝑑𝑝𝑁 Simulation Tools
  • 17. I. Concepts in molecular simulations Principles of statistical physics: ensembles ● Accessible microscopic states depend on the external parameters applied ● Statistical ensembles ● (N,V,E): microcanonical ensemble – isolated systems ● (N,V,T): canonical ensemble – equilibrium with a thermostat ● (N,P,T): isothermal-isobaric ensemble – equilibrium with a thermostat and a barostat ● (μ,V,T): grand-canonical ensemble – equilibrium with a thermostat and a molecular reservoir ● Probabilities Pi of microstates depend on the ensemble Simulation Tools
  • 18. I. Concepts in molecular simulations Principles of statistical physics: partition function ● Canonical ensemble: (N,V,T) ● Accessible microstates have the same volume and number of particles ● But the energies Ei of the accessible microstates canvary. ● The probability of a microstate i depends on its energy: exp −𝐸𝑖 𝑟𝑁,𝑝𝑁 𝑃𝑖 = 𝑘𝐵𝑇 𝑄 𝑁, 𝑉, 𝑇 ● The partition function: normalisation factor of the probability 𝑄 𝑁, 𝑉, 𝑇 = 1 … exp −𝐸𝑖 𝑟𝑁,𝑝𝑁 𝑑𝑟 𝑑𝑝 ℎ3N𝑁! 𝑘𝐵𝑇 𝑁 𝑁 The partition function contains all the information necessary to compute average quantities Simulation Tools
  • 19. I. Concepts in molecular simulations Principles of statistical physics: partition function 𝐸𝑖(𝑟𝑁, 𝑝𝑁) = 𝐾𝑖(𝑝𝑁) + 𝑈𝑖(𝑟𝑁) Kinetic energy Potential energy: 𝑝2 molecular interactions 𝐾𝑖(𝑝𝑁) = 𝑗 Internal degrees of freedom 2m𝑗 𝑗 𝑄 𝑁, 𝑉, 𝑇 = 1 exp −𝐾𝑖 𝑝𝑁 𝑑𝑝 × exp −𝑈𝑖 𝑟𝑁 𝑑𝑟 ℎ3N𝑁! 𝑘𝐵𝑇 𝑁 𝑘𝐵𝑇 𝑁 “Ideal” partition function Qid Configurational partition function: Qc Simulation Tools
  • 20. I. Concepts in molecular simulations Ideal and configurational partition functions ● Ideal partition function ● Easy to compute ● Analytical expression: 2π𝑚𝑗𝑘𝐵𝑇 3 2 1 𝑄𝑖𝑑 = ℎ2 = Λ3 𝑗 𝑗 𝑗 ● Configurational partition function ● Comes from intermolecular forces and internal degrees of freedom ● Analytical expression available only for few models: hard spheres, van der Waals fluids ● Need to be evaluated numerically Simulation Tools
  • 21. I. Concepts in molecular simulations Numerical evaluation of Qc ● Direct evaluation: Generation of all the possible configurations of the system Impossible because of high dimensionality ● Over all the possible configurations, only few have a non-negligible contribution to Qc Generation of representative configurations Molecular simulation Simulation Tools
  • 22. A configurations I. Concepts in molecular simulations Molecular simulation principles B configurations dt dt dt dt 𝐵 𝑋 1 𝑋 𝑟 𝑡 ,𝑝 𝑡 ? 𝑀 𝐷 = 𝐵 𝑁 𝑁 𝑖=1 MOLECULAR DYNAMICS (phase space{ri,pi}) trajectory ? 𝑑𝑝 𝐹𝑖 = 𝑖 𝑑𝑡 ? MONTE CARLO ? (configuration space {r }) i « Random » configurations ? Acceptance conditions Ergodic principle: 𝐴 𝑋 = 1 𝑋 𝑟𝑁 𝑋 𝑒𝑛𝑠 = 𝑋 𝑀 𝐶 = 𝑋 𝑀 𝐷 𝑀 𝐶 𝐴 𝑖=1 Simulation Tools
  • 23. I. Concepts in molecular simulations Brief history of molecular simulations Around 1950 Use of the first computers for civil applications 1953 First simulation of a liquid by Monte Carlo (hard spheres) Métropolis, Rosenbluth et Teller 1956 Molecular dynamics Simulation of hard disks (Alder et Wainright) 1957 Monte Carlo Simulation of a Lennard-Jones liquid 1964 Molecular dynamics Simulation of condensed Argon (liquid) (Rahman) From then and until now Strong and continuous evolution of algorithms Simulation of complex mixtures, polar molecules, heterogenous sytems Simulation Tools
  • 24. II. Molecular Dynamics simulations Basics of molecular dynamics simulations ● Particles are submitted to inter-atomic potentials U ● Framework of classical mechanics: Newton's laws for the nuclei 𝐹𝑖 𝑡 = 𝑚𝑖𝑎𝑖 𝑡 = −𝛻𝑖𝑈 𝑟 𝑡 Expression of the potential U: Quantum mechanics: Classical mechanics: Ab-initio MD (Classical) MD Expression of U: forcefield Simulation Tools
  • 25. II. Molecular Dynamics simulations Classical forcefields 𝐹𝑖 𝑡 = 𝑚𝑖𝑎𝑖 𝑡 = −𝛻𝑖𝑈 𝑟 𝑡 ● Two-body interactions Expression of the potential U: ● Analytical expression ● Differentiable function Forcefield 𝑞𝑖𝑞𝑗 Charge-charge 𝑉𝑐𝑜𝑢𝑙 𝑟 = 4πε0𝑟 interactions 𝑉 𝑟 = 4ε σ 12 − σ 6 Dipole-dipole 𝐿𝐽 𝑟 𝑟 interactions Simulation Tools
  • 26. II. Molecular Dynamics simulations Integration of the equations of motion Finite difference methods: Discretization of the trajectory and numerical integration t t+δt t+2δt 𝑟 𝑡+ δ𝑡 = 𝑟 𝑡 + δ𝑡𝑣 𝑡 + 1 δ𝑡2 𝑎𝑡+. .. 2 𝑣 𝑡+ δ𝑡 = 𝑣 𝑡 + δ𝑡𝑎𝑡+. .. Simulation Tools
  • 27. II. Molecular Dynamics simulations Equations of motion: the Verlet algorithm (1967) 𝑟 𝑡+ δ𝑡 = 𝑟 𝑡 + δ𝑡𝑣 𝑡 + 1 δ𝑡2 𝑎𝑡 2 𝑟 𝑡− δ𝑡 = 𝑟 𝑡 − δ𝑡𝑣 𝑡 + 1 δ𝑡2 𝑎𝑡 2 𝑎 𝑡 = −𝛻𝑈 𝑡 𝑟 𝑡+ δ𝑡 = 2 𝑟 𝑡 − 𝑟 𝑡− δ𝑡 + δ𝑡2 𝑎𝑡 𝑣 𝑡 = 𝑟 𝑡+ δ𝑡 − 𝑟 𝑡− δ𝑡 2δ𝑡 Simulation Tools
  • 28. II. Molecular Dynamics simulations Equation of motions: other algorithms 𝑟 𝑡+ δ𝑡 = 𝑟 𝑡 + δ𝑡𝑣 𝑡+ δ𝑡 2 𝑣 𝑡+ δ𝑡 = 𝑣 𝑡− δ𝑡 + δ𝑡𝑎𝑡 Leap-frog algorithm 2 2 𝑣 𝑡 = 1 𝑣 𝑡+ δ𝑡 + 𝑣 𝑡− δ𝑡 2 2 2 𝑟 𝑡+ δ𝑡 = 𝑟 𝑡 + δ𝑡𝑣 𝑡 + 1 δ𝑡2 𝑎𝑡 Velocity-Verlet algorithm 2 𝑣 𝑡+ δ𝑡 = 𝑣 𝑡 + δ𝑡 𝑎 𝑡 + 𝑎 𝑡+δ𝑡 2 And others.... Simulation Tools
  • 29. II. Molecular Dynamics simulations Integration in practice ● Which integration scheme should be used? ● Good energy conservation ● Depends on the time step value δt ● Choice of the time step ● Small: good accuracy but computationally expensive ● Big: poor accuracy for the trajectory but cheap Compromise between accuracy and computation time Simulation Tools
  • 30. II. Molecular Dynamics simulations More about the time step... ● Not too small but not too big, but how much? ● Typically one order of magnitude lower than the period of the fastest motion in the system Example 1: argon atoms Example 2: water molecules Caracteristic distance: 𝑑 ≈ 0.3𝑛𝑚 Fastest motion: vibration of O-H bond Caracteristic speed: 3𝑘𝐵𝑇 −1 Period of the vibration: 𝑣 ≈ 𝑚 ≈ 350𝑚. 𝑠 𝑑 ν ≈ 4000𝑐𝑚−1 ⇒ 𝑇 ≈ 10−14𝑠 Caracteristic time: τ ≈ 𝑣 ≈ 10−13𝑠 Time step δt ≈ 10-14 s Time step δt ≈ 10-15 s Simulation Tools
  • 31. II. Molecular Dynamics simulations Statistical ensembles and molecular dynamics All intermolecular forces are conservative Total energy of the system constant: (N,V,E) microcanonical ensemble 2 𝐾 T is an output of the simulation: 𝑇 = 3𝑁𝑘𝐵 Is it possible to fix T and to sample in the (N,V,T) or (N,P,T) ensemble ? Simulation Tools
  • 32. II. Molecular Dynamics simulations Constant temperature molecular thermodynamics ● Fixing temperature to T0 = Fixing kinetic energy 𝐾 = 1 𝑚 𝑣2 𝑇 = 2 1 𝑚 𝑣2 2 𝑗 𝑗 3N𝑘𝐵 2 𝑗 𝑗 𝑗 𝑗 ● If T ≠ T0, modification of the velocities: 1 2 𝑣𝑗 → (λ𝑣𝑗) 𝐾′ = 2 𝑚𝑗 λ𝑣𝑗 𝑇′ = λ2𝑇 𝑗 λ = 𝑇0 𝑇 ● In practice, this method is not used anymore and more sophisticated algorithm are used, but the idea of “modifying” the velocities of particles Simulation Tools
  • 33. II. Molecular Dynamics simulations How to run an MD simulation? ● System definition ● Statistical ensemble ● Choice of the forcefield ● Temperature, density,... ● Setting up the initial “configuration” ● Initial coordinates ● Initial velocities (linked with temperature T) ● Calculation of forces applied to each particle ● Integration of the equations of motion New coordinates and velocities Simulation Tools
  • 34. II. Molecular Dynamics simulations Few examples in motion: fluid simulation Simulation Tools
  • 35. II. Molecular Dynamics simulations Few examples in motion: protein folding simulation Simulation Tools
  • 36. III. Monte Carlo simulations Monte Carlo: the principles ● Calculation of the ensemble average : ● Random generation of M configurations i of the system ● Calculation of the probability Pi of eachconfiguration ● Estimation of the ensemble average: 𝑀 𝐴 = 𝑃𝑖 𝑎𝑖 𝑖=1 ● Drawback: many configurations have a negligible weight in the average M should be very big ● Alternative: importance sampling ● Generation of M’ configurations that follow the Boltzmannprobability distribution {Pi} 𝑀 ′ ● Direct calculation of the ensemble average: 𝐴 = 1 𝑎 𝑀′ 𝑖 𝑖=1 Simulation Tools
  • 37. III. Monte Carlo simulations Monte Carlo: Markov chain and microreversibility ● How to generate configurations following the probability distribution {Pi}? ● Markov chain: ● Creation of successive configurations ● Random creation of each configuration ● The probability W(i→j) to go from configuration i to the next configuration j only depends on i and j i j ● If i is the configuration at step t, the configuration at step (t+1) may thenbe: – Either the same configuration i – Or the new configuration j Simulation Tools
  • 38. III. Monte Carlo simulations Monte Carlo: Markov chain and microreversibility ● Probability to be in configuration i at step (t+1): 𝑃 𝑖,𝑡 + 1 = 𝑃 𝑖,𝑡 − 𝑃 𝑖,𝑡 𝑊 𝑖→ 𝑘 + 𝑃 𝑘, 𝑡 𝑊 𝑘 → 𝑖 𝑘≠𝑖 𝑘≠𝑖 Probability to stay in Probability to arrive in configuration i configuration i from another configuration ● Equilibrium condition (stationnarity): At equilibrium, the probability to be in configuration i does not depend on the step, but only on its Boltzmann probability: P(i,t+1)=P(i,t)=P(i) 𝑃 𝑖𝑊 𝑖→ 𝑘 = 𝑃 𝑘 𝑊 𝑘 → 𝑖 𝑘≠𝑖 𝑘≠𝑖 Probability of i in the statistical Transition probability to go from configuration i to ensemble considered configuration k in the Markov chain ● Sufficient condition: microreversibility ∀ 𝑖,𝑘 ,𝑃 𝑖𝑊 𝑖→ 𝑘 = 𝑃 𝑘 𝑊 𝑘 → 𝑖 Simulation Tools
  • 39. III. Monte Carlo simulations Monte Carlo: Metropolis algorithm ● Aim of the algorithm: determine the transition probabilities so that configurations are visited with the right probability ● Transition probability W(i→k): 𝑊 𝑖→ 𝑘 = 𝑃𝑔𝑒𝑛 𝑖→ 𝑘 .𝑃𝑎𝑐𝑐 𝑖→ 𝑘 ● Micro-reversibility condition: ∀ 𝑖,𝑘 ,𝑃 𝑖 𝑃𝑔𝑒𝑛 𝑖→ 𝑘 𝑃𝑎𝑐𝑐 𝑖→ 𝑘 = 𝑃 𝑘 𝑃𝑔𝑒𝑛 𝑘 → 𝑖𝑃𝑎𝑐𝑐 𝑘 → 𝑖 ● Metropolis criteria: ● Random generation of the configurations: 𝑃𝑔𝑒𝑛 𝑖→ 𝑘 = 𝑃𝑔𝑒𝑛 𝑘 → 𝑖 ● Acceptation probability: 𝑃𝑎𝑐𝑐 𝑖→ 𝑘 = 1 𝑖𝑓 𝑃𝑘 > 𝑃𝑖 𝑃𝑘 𝑃 𝑖→ 𝑘 = 𝑃𝑘 𝑖𝑓 𝑃 < 𝑃 𝑃𝑎𝑐𝑐 𝑖→ 𝑘 = min 1, 𝑎𝑐𝑐 𝑃𝑖 𝑘 𝑖 𝑃𝑖 Simulation Tools
  • 40. III. Monte Carlo simulations Monte Carlo: Metropolis algorithm in practice ● Calculation of the energy Ei of the current configuration i ● Construction of a new possible configuration j from configuration i ● Calculation of the energy Ej of the new configuration j ● Calculation of: 𝐸𝑗− 𝐸𝑖 𝑅 𝑖→ 𝑗 = exp − 𝑘𝐵𝑇 ● Generation of a random number R from a uniform distribution between 0 and 1 exp − 𝐸𝑗−𝐸𝑖 ● R < R(i→j): the new configuration j 𝑘𝐵𝑇 is accepted ● R > R(i→j): the new configuration j x RRefused is rejected and the configuration i is 2 conserved Accepted x R1 Ej –Ei Ej –Ei Simulation Tools
  • 41. III. Monte Carlo simulations Creation of the new configuration ● If the configuration j is created randomly: few chances that R(i→j) will be high. ● Configuration j build from configuration i with “small” modifications (moves): Translation Rotation Exchange Moves can be « non-physical » ● Advantages: ● Energy difference (Ei-Ej) easy to compute ● Energy difference small → “high” probability of accepting the move Simulation Tools
  • 42. III. Monte Carlo simulations Generating a new configuration in practice (1) ● Selection of a type of move: ● Each type of move has a probability P(M) (sum to 1) ● Generation of a random number R1 between 0 and 1 ● Move M selected if: 1 exchange 𝑀−1 𝑀 𝑃 𝑗 < 𝑅1 < 𝑃 𝑗 2/3 𝑗=1 𝑗=1 rotation Translation 1/3 R1 X translation 0 Simulation Tools
  • 43. III. Monte Carlo simulations Generating a new configuration in practice (2) ● Selection of a type of move: N=12 ● Select a molecule to which the move is applied: ● Generate a random number R2 between 0and 1 1 ● Chose molecule k so that: R2 X 10/N 𝑘 − 1 < 𝑅 < 𝑘 9/N 𝑁 2 𝑁 k = 10 2/N 1/N 0 Simulation Tools
  • 44. III. Monte Carlo simulations Generating a new configuration in practice (3) ● Selection of a type of move: ● Select a molecule to which the move is applied: ● Apply the selected move to molecule k: ● Generate random numbers (3 for a translation: ξx, ξy, ξz) ● Move the molecule to create the trial configuration j 𝑥𝑘 𝑗 = 𝑥𝑘 𝑖 + 2ξ𝑥 − 1 δ𝑟 𝑦𝑘 𝑗 = 𝑦𝑘 𝑖 + 2ξ𝑦 − 1 δ𝑟 𝑧𝑘 𝑗 = 𝑧𝑘 𝑖 + 2ξ𝑧 − 1 δ𝑟 Simulation Tools
  • 45. III. Monte Carlo simulations Monte Carlo simulations and random numbers ● Monte Carlo simulations make use of a large amount of random numbers ● Example: one trial configuration with a translation move ● 1 number to “chose” the translation move ● 1 number to “chose” the molecule to which the translation is applied ● 3 random numbers to generate the amount of translation ● 1 random number to determine the acceptance/rejection of the configuration ● Total: 6 random numbers for only one trial move (10-1000 billions moves in one typical MC simulation) ● Need for “good” random number generators ! Simulation Tools
  • 46. III. Monte Carlo simulations Monte Carlo simulations and statistical ensembles ● Monte Carlo simulations well suited for canonical ensembles: ● Typical moves: translation, rotation ● Biased moves for complex molecules (reptation, regrowth,...) to accelerate convergence ● Acceptance probability: Metropolis criterion 𝐸𝑖 − 𝐸𝑗 𝑃𝑎𝑐𝑐 𝑖→ 𝑗 = min 1,exp 𝑘𝐵𝑇 ● But Monte Carlo algorithm can be adapted to other ensembles: ● Isothermic-isobaric ensemble (N,P,T) New moves ● Grand-canonical ensemble (μ,V,T) New Boltzmann ● And others... probabilities New acceptance probability Simulation Tools
  • 47. III. Monte Carlo simulations Monte Carlo simulations in (N,P,T) ensemble ● The volume of the system can fluctuate between two configurations New move: volume change 𝑉𝑗= 𝑉𝑖+ (2ξ −1)δ𝑉 Multiplication of every coordinate by a same factor ● Probability of one configuration: 1 𝑉𝑖 𝑁 −𝐸𝑖 +𝑃𝑉𝑖 𝑃 𝑖 ∝ 𝑁! Λ exp 𝑘𝐵𝑇 ● Probability of accepting the new configuration: 𝑉𝑘 𝑁 𝐸𝑖 − 𝐸𝑘 𝑃 𝑉𝑘 − 𝑉𝑖 𝑃𝑎𝑐𝑐 𝑖→ 𝑗 = min 1, 𝑉𝑖 exp 𝑘𝐵𝑇 + 𝑘𝐵𝑇 Simulation Tools
  • 48. III. Monte Carlo simulations Monte Carlo simulations in (μ,V,T) ensemble ● Grand-canonical ensemble adapted to open systems, where the nunmber of particles N can fluctuate: Two new moves: insertion (Nk = Ni + 1) and deletion (Nk = Ni - 1) of particles ● Probability of one configuration: 1 𝑉 𝑁𝑖 −𝐸𝑖 −μ𝑁𝑖 𝑃 𝑖 ∝ 𝑁𝑖! Λ exp 𝑘𝐵𝑇 ● Probabilités d'accepter la nouvelle configuration : 𝑁𝑘 = 𝑁𝑖 + 1 𝑃 𝑖→ 𝑘 = min 1, 𝑉 exp 𝐸𝑖 − 𝐸𝑘 + μ 𝑎𝑐𝑐 insertion Λ3 𝑁𝑖 + 1 𝑘𝐵𝑇 𝑘𝐵𝑇 𝑁𝑖 𝑁𝑘 = 𝑁𝑖 𝑃 𝑖→ 𝑘 = min 1,exp 𝐸𝑖− 𝐸𝑘 𝑎𝑐𝑐 rotation, translation, ... 𝑘𝐵𝑇 𝑁𝑘 = 𝑁𝑖 − 1 𝑁𝑖Λ3 𝐸𝑖 − 𝐸𝑘 μ 𝑃𝑎𝑐𝑐 𝑖→ 𝑘 = min 1, exp − deletion 𝑉 𝑘𝐵𝑇 𝑘𝐵𝑇 Simulation Tools
  • 49. Practical aspects of molecular simulations M2 SERP-Chem 2013-2014 Simulation Tools
  • 50. IV. Practical aspects of molecular simulations Periodic boundary conditions ● Computational time for energy proportional to N2 ● Limitation of system size tipically to 103-106 atoms ● Surface effect problems ● Example: regular cubic network of 1000 atoms (10x10x10) ● ~ 50% of the atoms on the surface ! ● Even with 106 atoms(100x100x100): ● 98x98x98 = 941192 atoms « in the heart » of the system ● ~6% of the atoms on the surface M2 SERP-Chem 2013-2014 Simulation Tools
  • 51. IV. Practical aspects of molecular simulations Periodic boundary conditions ● Periodic conditions: Replication of the cell in every direction of space: ● Creation of a cristalline network: ● Suppression of surface effects ● Artefacts due to the artificial periodicity? Simulation Tools
  • 52. IV. Practical aspects of molecular simulations Potential truncation and minimum image convention ● Intermolecular potentials: mathematical function in (1/r)n ● If n > 2, short-range interactions Example: dispersion interactions σ 6 𝑉𝑑𝑖𝑠𝑝 σ = −4ε 𝑉𝑑𝑖𝑠𝑝 𝑟 = −4ε 𝑟 𝑉𝑑𝑖𝑠𝑝 σ 𝑉𝑑𝑖𝑠𝑝 2.5σ = 2.56 ≈ 0.005𝑉𝑑𝑖𝑠𝑝 σ σ : few Å σ 2,5σ ● Introduction of a cutoff radius rc in the calculation ofinteractions ● Which value for rc? Simulation Tools
  • 53. IV. Practical aspects of molecular simulations Potential truncation and minimum image convention ● Minimum image convention: One molecule should feel the influence of only one image of each molecule of the system (the closest one) ● Restriction on the value of rc 𝑟 < 𝐿 𝑐 2 L ● Lower the periodicity effects M2 SERP-Chem 2013-2014 Simulation Tools
  • 54. IV. Practical aspects of molecular simulations Potential truncation in practice ● Chose the cutoff radius rc ● Build a neighbour-list for each atom i that includes all the atoms lying at a distance less than rc from i. ● Compute the interaction for atom i: 12 6 ● For each atom j in the neighbour-list: 𝑉 = 4ε σ − σ 𝑖𝑗 𝑟𝑖𝑗 𝑟𝑖𝑗 ● For any other atom k: 𝑉𝑖𝑘 = 0 ∞ σ12 σ6 ● Add a long-range correction: 𝑉𝑐𝑜𝑟𝑟 = ρ 𝑉 𝑟 4π𝑟2𝑑𝑟 = 8πρ 6𝑟9 − 3𝑟3 𝑟𝑐 𝑐 𝑐 ● The neighbour-list is rebuilt periodically Simulation Tools
  • 55. IV. Practical aspects of molecular simulations Long range forces ● Electrostatic interactions in (1/r) are long-range interactions 𝑞𝑖𝑞𝑗 𝑉𝑐𝑜𝑢𝑙 𝑟 = 4πε0𝑟 𝑉 𝑟 = 4ε σ 12 − σ 6 𝐿𝐽 𝑟 𝑟 ● Using a cutoff is inappropriate – more sophisticated methods are used (Ewald summations) Simulation Tools
  • 56. IV. Practical aspects of molecular simulations Equilibration and production phases ● Initial configuration is most of the time not at equilibrium ● The first stage of the simulation is to reach equilibrium: this is the equilibration stage. ● Once equilibrium is reached, the production phase can begin, during which properties can be calculated Simulation Tools
  • 57. IV. Practical aspects of molecular simulations Which information is accessible with MC or MD? ● Structural data ● Equilibrium structure of a macromolecule ● Fluid density in various (P,T) conditions ● Structure of a fluid (radial distribution function g(r)) ● Energetic data ● Binding affinities ● Heat capacities ● Thermoelastic coefficients (compressibility, Joule-Thomson coefficients) ● Transport properties ● Diffusion coefficients ● Viscosity ● Thermal conductivity .... and many others Simulation Tools
  • 58. IV. Practical aspects of molecular simulations Monte Carlo or Molecular dynamics? Water simulation at 298K and under a pressure of 1bar Monte Carlo (N,P,T) simulation Molecular Dynamics (N,P,T) simulation <T>DM = 297,9± 0,4K <ρ>MC = 997,6 ± 1,7 kg.m-3 <E>DM = -47,799 ± 0,009kJ.mol-1 <E>MC = -47,79 ± 0,04kJ.mol-1 <ρ>DM = 997.02 ± 0,31 kg.m-3 M2 SERP-Chem 2013-2014 Simulation Tools
  • 59. IV. Practical aspects of molecular simulations Monte Carlo or Molecular dynamics? Molecular Dynamics Monte Carlo ● Molecular dynamics: temporal information, collective motions ● Monte Carlo: may be easier to overcome energy barriers, no need of thermostat or barostat (“exact” T or P) ● Hybrid MD/MC simulations are in development Simulation Tools