lammps/examples/USER/phonon/2-1D-diatomic
sjplimp a920f23204 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9632 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-03-11 20:47:14 +00:00
..
README git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9632 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-03-11 20:47:14 +00:00
data.pos git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9632 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-03-11 20:47:14 +00:00
disp.dat git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9632 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-03-11 20:47:14 +00:00
in.Ana git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9632 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-03-11 20:47:14 +00:00
in.disp git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9632 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-03-11 20:47:14 +00:00
log.lammps.example git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9632 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-03-11 20:47:14 +00:00
map.in git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9632 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-03-11 20:47:14 +00:00
pdisp.eps git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9632 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-03-11 20:47:14 +00:00
pdos.dat git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9632 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-03-11 20:47:14 +00:00
phonon.bin.2000000 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9632 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-03-11 20:47:14 +00:00
phonon.log git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9632 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-03-11 20:47:14 +00:00
plot.disp git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9632 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-03-11 20:47:14 +00:00

README

This directory illustrates the usage of fix-phonon to calculate the dynamical
matrix as well as phonon dispersion curve for 1 dimensional diatomic chain.

The files under this directory:

 1) data.pos           : LAMMPS input file
 2) disp.dat           : phonon dispersion data from phonon.bin.2000000
 3) in.Ana             : LAMMPS input file
 4) in.disp            : input file to get disp.dat by phana
 5) log.lammps         : LAMMPS log file
 6) map.in             : LAMMPS input file for fix-phonon
 7) pdisp.eps          : phonon dispersion for 1D monoatomic chain, generated by plot.disp
 8) phonon.bin.2000000 : last output binary file by fix-phonon
 9) phonon.log         : log file for fix-phonon
10) plot.disp          : script to generate phonon dispersion curve
11) README             : this file


To run this example, simply:
-> lmp -in in.Ana -screen none

Once done, one can use the auxiliary analysing code "phana" to obtain "disp.dat" based on
data from phonon.bin.2000000:
-> phana phonon.bin.2000000 < in.disp

And then use the gnuplot script file "plot.disp" to generate pdisp.eps:
-> gnuplot plot.disp

The resultant ``pdisp.eps'' compares the measured phonon dispersion to analytic solutions.


NOTE: the binary file provided here might be unreadable on some computers because of
      incompatibility between different architectures.
      The running of this example needs the molecule package included in lammps.

Author: Ling-Ti Kong, konglt@sjtu.edu.cn
Feb 2013