lammps/tools/moltemplate/examples/all_atom_examples/aluminum_crystal_strain
sjplimp def6733a9a git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9823 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-05-07 23:41:55 +00:00
..
images git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9823 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-05-07 23:41:55 +00:00
moltemplate_files git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9823 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-05-07 23:41:55 +00:00
README.TXT git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9823 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-05-07 23:41:55 +00:00
README_setup.sh git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9823 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-05-07 23:41:55 +00:00
README_visualize.txt git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9823 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-05-07 23:41:55 +00:00
run.in git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9823 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-05-07 23:41:55 +00:00

README.TXT

NOTE: This example requires the "Al99.eam.alloy" file.
      (It was not included in this directory because if its large size.)
      As of 2012-11, I was able to obtain it here:
      http://www.ctcms.nist.gov/~cbecker/Download/Al-YM/Al99.eam.alloy
      Copy it to the directory containing this README file.
------------------------------------------------------------------------
This example shows an alternative way to setup the
aluminum crystal loading simulation described here:
http://icme.hpc.msstate.edu/mediawiki/index.php/Uniaxial_Compression
by Mark Tschopp and Nathan R. Rhodes
For additional backgroumd information, please consult that web page.

In this example, I use moltemplate to build a "DATA" file for this system.
(I can't think of a compelling reason to do this for simple simulations like
this. But this approach might be useful if you want to artificially create 
unusual structures out of aluminum crystals, or mix them with other molecules.
I created this example in response to a user request.)


  --- To build the system ---

Carry out the instructions in README_setup.sh,
to generate the LAMMPS DATA file and input scripts you need:
system.data, system.in.init, system.in.settings.
(The run.in script contains references to these files.)


  --- To run LAMMPS, try a command like: ---

lmp_linux -i run.in

    or (if you have mpi installed)

mpirun -np 4 lmp_linux -i run.in

This will create an ordinary LAMMPS dump file you can visualize with VMD
traj.lammpstrj    (See README_visualize.txt)

It will also create a number of other files, such as:
dump.comp_0.cfg
dump.comp_500.cfg
dump.comp_20000.cfg
Al_comp_100.def1.txt

The dump.comp_*.cfg files can be visualized using 
AtomEye if you have AtomEye and ImageJ installed.
The procedure for doing this is explained in the original tutorial at:
http://icme.hpc.msstate.edu/mediawiki/index.php/Uniaxial_Compression

The "Al_comp_100.def1.txt" file is a four-column text file containing:
column 1:     v_strain = (lx - v_L0)/v_L0
column 2:     -pxx/10000  (diagonal components of the stress tensor)
column 3:     -pyy/10000
column 4:     -pzz/10000