10.07.2015 Views

Molecular Simulation Methods with Gromacs

Molecular Simulation Methods with Gromacs

Molecular Simulation Methods with Gromacs

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Preparing the systemWe will start <strong>with</strong> a topology that can be downloaded from http://www.gromacs.org/Documentation/Tutorials/Free_energy_of_solvation_tutorial: getthe archive file fe-tutorial-4.6.tar.gz from the bottom of the page, or dowget http://www.gromacs.org/@api/deki/files/194/=fe-tutorial-4.6.tar.gzThen extract the archive <strong>with</strong>tar xzvf fe-tutorial-4.6.tar.gzand look for a file named topol.top, and a very basic coordinate file namedethanol.gro. This topology uses the OPLS force field and defines a methanemolecule, and includes the definitions for SPC/E water.Question: Take a look at the topology file topol.top. For the ethanol moleculedefinition, can you find which atoms are there, and how they are connected?We will first prepare the simulation box: the original configuration file has a dummysimulation box associated <strong>with</strong> it (you can see that by looking at the file ethanol.gro).We do this <strong>with</strong>:editconf -f ethanol.gro -o box.gro -bt dodecahedron -d 1which sets up the simulation box. In this case, it will make the simulation box a rhombicdodecahedron <strong>with</strong> a minimum distance between the solute (the ethanol molecule) andthe box edge of 1nm. The box is a rhombic dodecahedron because it provides a moreeffective packing of periodic images than rectangular boxes: we can use fewer watersfor the same distance between periodic images of the ethanol molecule. See the<strong>Gromacs</strong> manual for illustrations of this box shape and how its periodic images arearranged.Next, we solvate the system in watergenbox -cp box.gro -cs -o solvated.gro -p topol.topThis should generate a system <strong>with</strong> 310 water molecules taken from the default filename of the -cs option: a box of equilibrated water molecules.To make the configuration suitable for simulation, we will first minimize its energy,twice: once <strong>with</strong> flexible bonds, and once <strong>with</strong> constrained bonds. For the flexible-bondminimization we will use the following settings (see the included fileem_flexible.mdp)integrator = steep ; steepest-descent minimizationnsteps = 500 ; max. number of steps

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!