User Tools

Site Tools


Molecular Dynamics simulation of a small molecule

Concerning temperature control, in these exercises we will use the NOSE-HOOVER chains method. This has been briefly described in the lecture, and is presented in this paper by Glenn Martyna (1992).

In this exercise, we will extensively use vmd for visualizing the results of the cp2k simulations. As always, give the commands:

module load cp2k/trunk.2.5.13191
module load vmd
mkdir EX_4.1
cd EX_4.1

Then, copy the commented files from the wiki:

You will start from a configuration already computed in a previous lecture, say inp.a.pdb which is included in the repository of this exercise as well. Use the file inp.nve for the first simulation, which is a constant energy simulation. As usual the command is bsub cp2k.popt -i inp.nve > out.nve

  1. Perform a constant energy simulation, 100000 time steps, with a time step of 1 fs.
  2. Using a different input file, modify the time step and the name of the project. Do it for 0.1, 2, 3, 4 fs.
  3. Access the corresponding *.ener files. How is the energy conservation? How is the behavior of potential and kinetic energy, and how the temperature?

- Plot with gnuplot the different energy conservations and discuss them.

  1. Perform now a constant Temperature simulation. The system is in contact with a thermostat, and the conserved quantity includes the thermostat degrees of freedom. The first simulation is done at 100 K: inp.100
  2. Then, perform a simulation at 300 K, using the restart file from the previous simulation: inp.300.
  3. Now you have some outputs to study with vmd.

The trajectory files we are going to study are


“Fire” vmd, for example vmd nve_md-pos-1.pdb From the Extensions menu, you can choose the Tk console. And from there, you can enter

source "dihedrals.vmd"

which will define the two dihedrals phi and psi. You can also pick from the extensions the “RMSD trajectory tool” and use it to align the molecule along the trajectory. Remember to replace “protein” with “all” in the selection, and then use “align”. You will see that now the molecule is well aligned along the path.

Using “Labels” menu, plot now the two dihedral angles graph.

Which differences do you notice between the nve, the 100 K and the 300 K case? Can you explain them?

exercises/2014_ethz_mmm/md_ala.txt · Last modified: 2014/10/15 15:29 by oschuett