.
[lectures/latex.git] / posic / thesis / basics.tex
1 \chapter{Basics}
2
3 \section{Molecular dynamics simulations}
4
5 \subsection{Introduction to molecular dynamics simulations}
6
7 Basically, molecular dynamics (MD) simulation is a technique to compute a system of particles, referred to as molecules, evolving in time.
8 The MD method was introduced by Alder and Wainwright in 1957 \cite{alder1,alder2} to study the interactions of hard spheres.
9 The basis of the approach are Newton's equations of motion to describe classicaly the many-body system.
10 MD simulation is the numerical way of solving the $N$-body problem ($N > 3$) which cannot be solved analytically.
11 Quantum mechanical effects are taken into account by an analytical interaction potential between the nuclei.
12
13 By MD simulation techniques a complete description of the system in the sense of classical mechanics on the microscopic level is obtained.
14 This microscopic information has to be translated to macroscopic observables by means of statistical mechanics.
15
16 The basic idea is to integrate Newton's equations numerically.
17 A system of $N$ particles of masses $m_i$ ($i=1,\ldots,N$) at positions ${\bf r}_i$ and velocities $\dot{{\bf r}}_i$ is given by
18 \begin{equation}
19 m_i \frac{d^2}{dt^2} {\bf r}_i = {\bf F}_i \, \textrm{.}
20 \end{equation}
21 The forces ${\bf F}_i$ are obtained from the potential energy $U(\{{\bf r}\})$:
22 \begin{equation}
23 {\bf F}_i = - \nabla_{{\bf r}_i} U({\{\bf r}\}) \, \textrm{.}
24 \end{equation}
25 Given the initial conditions ${\bf r}_i(t_0)$ and $\dot{{\bf r}}_i(t_0)$ the equations can be integrated by a certain integration algorithm.
26 The solution of these equations provides the complete information of a system evolving in time.
27
28 The following chapters cover the tools of the trade necessary for the MD simulation technique.
29 First a detailed overview of the available integration algorithms is given, including their advantages and disadvantages.
30 After that the interaction potentials and their accuracy for describing certain systems of elements are discussed.
31 In addition special techniques will be outlined which reduce the complexity of the MD algorithm, though the force/energy evaluation almost inevitably dictates the overall speed.
32
33 \subsection{Integration algorithms}
34
35
36 \subsection{Interaction potentials}
37
38 The potential energy of $N$ interacting atoms can be written in the form
39 \begin{equation}
40 U(\{{\bf r}\}) = \sum_i U_1({\bf r}_i) + \sum_i \sum_{j>i} U_2({\bf r}_i,{\bf r}_j) + \sum_i \sum_{j>i} \sum_{k>j>i} U_3({\bf r}_i,{\bf r}_j,{\bf r}_k) \ldots
41 \end{equation}
42 where $U$ is the total potential energy.
43 $U_1$ is a single particle potential describing external forces.
44 This could for instance be the gravitational force or an electric field.
45 $U_2$ is a two body pair potential which only depends on the distance $r_{ij}$ between the two atoms $i$ and $j$.
46
47 $U_3$ is a three body potential which may have an additional angular dependence describing covalent bonds, plus higher order terms which are expected to be small and thus neglected.
48
49 \subsubsection{The Lennard-Jones potential}
50
51 The L-J potential is a realistic two body pair potential and is of the form
52 \begin{equation}
53 U^{LJ}(r) = 4 \epsilon \Big[ \Big( \frac{\sigma}{r} \Big)^{12} - \Big( \frac{\sigma}{r} \Big)^6 \Big] \, \textrm{,}
54 \label{eq:lj-p}
55 \end{equation}
56 where $r$ denotes the disatnce between the two atoms.
57
58 The attractive tail for large separations $(\sim r^{-6})$ is essentially due to correlations between electron clouds surrounding the atoms. The attractive part is also known as {\em van der Waals} or {\em London} interaction.
59 It can be derived classically by considering how two charged spheres induce dipol-dipol interactions into each other, or by considering the interaction between two oscillators in a quantum mechanical way.
60
61 The repulsive term $(\sim r^{-12})$ captures the non-bonded overlap of the electron clouds.
62 It does not have a true physical motivation, other than the exponent being larger than $6$ to get a steep rising repulsive potential wall at short distances.
63 Chosing $12$ as the exponent of the repulsive term it is just the square of the attractive term which makes the potential evaluable in a very efficient way.
64
65 The constants $\epsilon$ and $\sigma$ are usually determined by fitting to experimental data.
66 $\epsilon$ accounts to the depth of the potential well, where $\sigma$ is regarded as the radius of the particle, also known as the van der Waals radius.
67
68 Writing down the derivation of the Lennard-Jones potential in respect to $x_i$ (the $i$th component of the distance vector $\vec{r}$)
69 \begin{equation}
70 \frac{\partial}{\partial x_i} U^{LJ}(r) = 4 \epsilon x_i \Big( -12 \frac{\sigma^{12}}{r^{14}} + 6 \frac{\sigma^6}{r^8} \Big)
71 \label{eq:lj-d}
72 \end{equation}
73 one can easily identify $\sigma$ by the equilibrium distance of the atoms $r_e=\sqrt[6]{2} \sigma$.
74 Applying the equilibrium distance into \eqref{eq:lj-p} $\epsilon$ turns out to be the negative well depth.
75 The $i$th component of the force $F^j$ on particle $j$ is obtained by
76 \begin{equation}
77 F_i^j = - \frac{\partial}{\partial x_i} U^{LJ}(r) \, \textrm{.}
78 \label{eq:lj-f}
79 \end{equation}
80