Next: Exercise 4.4: Distribution of
Up: MD simulation: Continuous potentials
Previous: Exercise 4.2: Approach to
Consider particles in a box of linear dimensions . Consider
the initially the particles are placed in a rectangular grid and the
velocities are random with .
- Do a number of MD steps (50,100) and average the quantity
to estimate the actual temperature. To adjust
the temperature to a desired value, scale all velocity components for all
particles in a suitable way. Repeat this procedure up to 10 times. After
500-1000 steps the fluid will be well equilibrated and the temperature will
be steady (although fluctuating slightly). Use .
- Plot the temperature averaged over intervals of 5 time steps as a
function of time for each of the previous temperatures. What is the
qualitative dependence of the temperature fluctuations?
- Calculate the kinetic and potential energies as a function of time.
Are the kinetic and potential energies conserved separately?
Adrian E. Feiguin
2004-06-01