~ubuntu-branches/debian/sid/lammps/sid

« back to all changes in this revision

Viewing changes to tools/moltemplate/examples/all_atom_examples/aluminum_crystal_strain/README.TXT

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2013-11-20 22:41:36 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20131120224136-tzx7leh606fqnckm
Tags: 0~20131119.git7162cf0-1
* [e65b919] Imported Upstream version 0~20131119.git7162cf0
* [f7bddd4] Fix some problems, introduced by upstream recently.
* [3616dfc] Use wrap-and-sort script.
* [7e92030] Ignore quilt dir

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
NOTE: This example requires the "Al99.eam.alloy" file.
 
2
      (It was not included in this directory because if its large size.)
 
3
      As of 2012-11, I was able to obtain it here:
 
4
      http://www.ctcms.nist.gov/~cbecker/Download/Al-YM/Al99.eam.alloy
 
5
      Copy it to the directory containing this README file.
 
6
------------------------------------------------------------------------
 
7
This example shows an alternative way to setup the
 
8
aluminum crystal loading simulation described here:
 
9
http://icme.hpc.msstate.edu/mediawiki/index.php/Uniaxial_Compression
 
10
by Mark Tschopp and Nathan R. Rhodes
 
11
For additional backgroumd information, please consult that web page.
 
12
 
 
13
In this example, I use moltemplate to build a "DATA" file for this system.
 
14
(I can't think of a compelling reason to do this for simple simulations like
 
15
this. But this approach might be useful if you want to artificially create 
 
16
unusual structures out of aluminum crystals, or mix them with other molecules.
 
17
I created this example in response to a user request.)
 
18
 
 
19
 
 
20
  --- To build the system ---
 
21
 
 
22
Carry out the instructions in README_setup.sh,
 
23
to generate the LAMMPS DATA file and input scripts you need:
 
24
system.data, system.in.init, system.in.settings.
 
25
(The run.in script contains references to these files.)
 
26
 
 
27
 
 
28
  --- To run LAMMPS, try a command like: ---
 
29
 
 
30
lmp_linux -i run.in
 
31
 
 
32
    or (if you have mpi installed)
 
33
 
 
34
mpirun -np 4 lmp_linux -i run.in
 
35
 
 
36
This will create an ordinary LAMMPS dump file you can visualize with VMD
 
37
traj.lammpstrj    (See README_visualize.txt)
 
38
 
 
39
It will also create a number of other files, such as:
 
40
dump.comp_0.cfg
 
41
dump.comp_500.cfg
 
42
dump.comp_20000.cfg
 
43
Al_comp_100.def1.txt
 
44
 
 
45
The dump.comp_*.cfg files can be visualized using 
 
46
AtomEye if you have AtomEye and ImageJ installed.
 
47
The procedure for doing this is explained in the original tutorial at:
 
48
http://icme.hpc.msstate.edu/mediawiki/index.php/Uniaxial_Compression
 
49
 
 
50
The "Al_comp_100.def1.txt" file is a four-column text file containing:
 
51
column 1:     v_strain = (lx - v_L0)/v_L0
 
52
column 2:     -pxx/10000  (diagonal components of the stress tensor)
 
53
column 3:     -pyy/10000
 
54
column 4:     -pzz/10000