File: in.graphene

package info (click to toggle)
lammps 20210122~gita77bb%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 331,996 kB
  • sloc: cpp: 802,213; python: 24,256; xml: 14,949; f90: 10,448; ansic: 8,476; perl: 4,161; sh: 3,466; fortran: 2,805; makefile: 1,250; objc: 238; lisp: 163; csh: 16; awk: 14; tcl: 6
file content (34 lines) | stat: -rw-r--r-- 959 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
atom_style	atomic
units   	metal
dimension	3
boundary 	p p p

read_data       ./data.graphene
mass		1 12.01  ##Carbon

### Optimized Tersoff for Carbon: Lindsay and Broido PRB 81, 205441 (2010) 
pair_style      tersoff
pair_coeff      * * C.opt.tersoff C(O) 

variable	T equal 300
variable        V equal vol

variable        Lx equal xhi-xlo
variable        Ly equal yhi-ylo
print           "Lx = ${Lx} A"
print           "Ly = ${Ly} A"

print           "Volume simulation box = $V A^(3)"
variable        Volume equal v_Lx*v_Ly*3.35
print           "Volume = Lx*Ly*3.35A = ${Volume} A^(3)"

velocity	all create $T 345352 mom yes rot yes dist gaussian
timestep  	0.001  # 0.001 picosecond = 1 femtosecond
thermo          1000
thermo_style    custom step temp pe etotal press pxx pyy pzz

# --------------- i-PI interface -----------------
fix 1 all ipi graphene 31415 unix   # UNIX socket
#fix 1 all ipi localhost 31415        # Internet socket
run		5000000