12.01.2013 Views

Molecular Dynamic Simulation of united atom liquid n-hexane

Molecular Dynamic Simulation of united atom liquid n-hexane

Molecular Dynamic Simulation of united atom liquid n-hexane

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.

THEORETICAL PHYSICAL CHEMISTRY TU DARMSTADT<br />

You can finally get the autocorrelation function <strong>of</strong> the torsion state:<br />

ccf ccf_output<br />

Use xmgrace ccf_output to view it.<br />

Autocorrelation function for torsion state:<br />

( h(<br />

t)<br />

− h )( h(<br />

0)<br />

.<br />

c(<br />

t)<br />

=<br />

( h(<br />

t)<br />

− h<br />

where h(t) is the respective state (trans/gauche) at time t .<br />

4. Follow the same procedure to calculate the other two c(t). (central torsion (tor2.dat) and the<br />

other end torsion (tor3.dat)). For all the repeated commands, you can make a shell script<br />

program to run in torsion2 and torsion 3.<br />

Plot the result for every torsion on separate graphs. Plot the three results in a single figure where you<br />

will restrict the time-scale to an interval where the decrease <strong>of</strong> the curves can clearly be seen.<br />

5. Compute the distribution <strong>of</strong> the torsion angles.<br />

This can be done by applying the tool distribtors. That program reads the file resultfile produced<br />

previously. Copy from the directory /data/home/fleroy/students/exercises/prace4/ the program<br />

distribtors to the three directories you have created for each torsion. Run it by simply typing<br />

./distribtors<br />

The program will ask you for the number <strong>of</strong> lines in resultfile. This can be obtained by a UNIX<br />

command:<br />

wc –l resultfile<br />

Or more directly by multiplying the number <strong>of</strong> frames written in the trajectory file by the number <strong>of</strong><br />

molecules.<br />

You will collect a file named tors_angl_dist.dat which contains the probability distribution <strong>of</strong> finding<br />

an angle having a given value for the considered torsion.<br />

Plot the results in a single figure so as to compare them.<br />

6. Calculate the center-<strong>of</strong>-mass diffusion coefficient<br />

First with cmtrj create the center <strong>of</strong> mass trajectory. Use msd to obtain the mean square displacement<br />

from the trajectory. And then compute the diffusion coefficient using diffcoeff.<br />

Both the programs msd and cmtrj need separate template files. We set msd.tpl as the template file for<br />

msd, and cm.tpl as that for cmtrj. First, create cm.tpl with the YASP tool<br />

mkcmtrjtemplate cm.tpl<br />

2<br />

)<br />

−<br />

h )<br />

7

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

Saved successfully!

Ooh no, something went wrong!