Professional Documents
Culture Documents
Fall 2012
www.numfys.net
Slides
p.1
= rm r
rm 2 r
, (1)
where r is the distance between the particles. Here, is the depth (i.e. the minimum) of the potential well, reached at r = rm , and is the distance at which the inter-particle potential is zero. It can be shown that rm = 21/6 .
A NumFys Example Example 1.1: Lennard-Jones Potential www.numfys.net
Slides
p.2
As we can see, we nd a global minimum and expect oscillations about this equilibrium as long as the total energy, Etotal = Ekin + Epot , does not exceed zero.
A NumFys Example Example 1.1: Lennard-Jones Potential www.numfys.net
Slides
p.3
In this example, we will consider the Lennard-Jones Potential for two H2 O molecules. The parameters are: = 0.32 109 m = 1.08 1021 J Note that the orientation-dependent interaction between the water dipoles is not included here explicitly.
www.numfys.net
Slides
p.4
Plot
We obtain this plot:
www.numfys.net
Slides
p.5
The Problem
We will now analyze oscillations about the equilibrium in a classical manner. First, we want to examine the frequency of small oscillations near r = rm . To do this, we approximate the force near r = rm . Thereafter, we want to compute the period of oscillations for larger perturbations when the linearization is a poor approximation.
www.numfys.net
Slides
p.6
(2) + rm r 12 rm
7
rm r
(3)
(4)
Note that F (rm ) = 0. Hence, r = rm is an equilibrium point. Now, we Taylor-expand the force about this equilibrium point.
A NumFys Example Example 1.1: Lennard-Jones Potential www.numfys.net
Slides
p.7
(5)
rm +7 r
(6)
(8)
www.numfys.net
Slides
p.8
Slides
p.9
www.numfys.net
Slides
p.10
Nonlinear Oscillations
Now, we will solve the exact dynamic equation m r = F (r ), where dots indicate time derivatives. We transform this ODE into a set of rst-order ODEs and employ Eulers method to solve it. We do this by introducing . Substitution into new variables v and w , with v = r and w = r the equation above gives 12 F (v ) = = w r= m mrm rm v
13
(12)
rm v
(13)
www.numfys.net
Slides
p.11
(14) rm v
7
(15)
For our initial conditions, we choose v (0) = rm and w (0) > 0. Following our notation in Module 4.1, we can now write the Euler method as (v1 = v (0), w1 = w (0)) vn+1 = vn + h wn , wn+1
A NumFys Example Example 1.1: Lennard-Jones Potential
(16) rm vn
13
12 = wn + h mrm
rm vn
(17)
www.numfys.net
Slides
p.12
Implementation in Matlab
We can implement this in a simple for-loop in Matlab (see corresponding script):
www.numfys.net
Slides
p.13
Oscillations near r = rm
2 First, we set 1 2 mw0 = 0.001 . This corresponds to very small oscillations because the kinetic energy is much smaller than and, therefore, we are deep down in the potential well where the oscillations are harmonic. We plot the vector v which represents the position of the molecule vs. time steps.
www.numfys.net
Slides
p.14
Oscillations near r = rm
We nd the following features. The oscillations around the equilibrium r = rm seem harmonic. Matlab uses around 1000 time steps of magnitude 1015 s. Hence, the period is about T = 1000 1015 s = 1012 s, in agreement with our linear analysis.
www.numfys.net
Slides
p.15
www.numfys.net
Slides
p.16
www.numfys.net
Slides
p.17
Repeating Oscillations
So far, we have only looked at oscillations for one period. If we increase the number of oscillations, we would expect neither diminishing nor increasing amplitudes since energy is conserved. Unfortunately, Eulers method contains errors which can be large enough to clearly violate energy conservation in our solution. Hence, the amplitude may not be constant.
www.numfys.net
Slides
p.18
As the number of oscillations increases, the molecules move further away from equilibrium with each oscillation which would correspond to an increase in energy.
A NumFys Example Example 1.1: Lennard-Jones Potential www.numfys.net
Slides
p.19
www.numfys.net
Slides
p.20
www.numfys.net