Debian Codegraph @

examples/all_atom/force_field_explicit_parameters/nanotube+water/moltemplate_files/graphene.lt

raw
1 #####################################################################
2 # NOTE: This is a hexagonal unit cell. The crystals you make from it
3 # will be hexagonal. Some users prefer to work with rectangular crystals.
4 # There is a rectangular version of the graphene unit cell containing 4 atoms:
5 # https://github.com/jewettaij/moltemplate/blob/master/moltemplate/force_fields/graphene_rectangular.lt
6 # If you prefer to work with rectangular graphene, download that file and use
7 # import "graphene_rectangular.lt" in place of this file. (The unit cell
8 # size and geometry is included in comments at the bottom of that file.)
9 #####################################################################
10
11 # The minimal unit cell for graphine contains only 2 atoms:
12 # (which I arbitrarily named "c1" and "c2")
13
14 Graphene {
15
16 # atomID molID atomType charge x y z
17 write("Data Atoms") {
18 $atom:c1 $mol:... @atom:C 0.0 -0.61487803668695 -0.355 0.0000
19 $atom:c2 $mol:... @atom:C 0.0 0.61487803668695 0.355 0.0000
20 }
21
22 # Now define the "C" atom type
23 write_once("Data Masses") {
24 @atom:C 12.0
25 }
26 write_once("In Settings") {
27 # i j epsilon sigma
28 pair_coeff @atom:C @atom:C lj/cut/coul/long 0.068443 3.407
29
30 # The Lennard-Jones parameters above were chosen to realistically model
31 # the interaction between graphene and water
32 # R. Saito, R. Matsuo, T. Kimura, G. Dresselhaus, M.S. Dresselhaus,
33 # Chem Phys Lett, 348:187 (2001)
34 # NOTE: If you want to simulate movement of the carbon atoms, then you must
35 # choose a more appropriate force field for the carbon atoms, such as
36 # AIREBO or Tersoff. You can do this by editing the "pair_coeff" above.
37 # (The paper by C.F. Cornwell, C.R. Welch, J. Chem. Phys. (2011), Vol 134,
38 # demonstrates how to use the AIREBO potential in LAMMPS.)
39
40 # Define a group consisting of only carbon atoms in graphene molecules
41 group Cgraphene type @atom:C
42 }
43 write_once("In Init") {
44 # -- Default styles (used in this file for graphene carbon) --
45 units real
46 atom_style full #(full enables you to to add other molecules later)
47 pair_style hybrid lj/cut/coul/long 10.0
48 }
49 } # Graphene
50
51
52
53
54 # This is a 2-dimensional hexagonal unit cell. The unit vectors are:
55 #
56 # (2.4595121467478, 0, 0)
57 # (1.2297560733739, 2.13, 0)
58 #
59 # You can create a sheet of single-layer graphene this way:
60 #
61 # small_crystal = new Graphene [3].move(2.45951214, 0, 0)
62 # [3].move(1.229756, 2.13, 0)
63 #
64 # For thicker sheets, follow the instructions in the "graphite.lt" file.
65 #
66 # Note: The length of each carbon-carbon bond is currently 1.42 Angstroms.
67 # To increase it to 1.422 Angstroms, uncomment the following line:
68 #
69 # Graphene.scale(1.0014084507042254) # 1.0014084507042254 = 1.422 / 1.42
70 #
71 # You will have to change the unit cell lattice vectors (see above) accordingly