File: single_atom.in

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 (27 lines) | stat: -rw-r--r-- 660 bytes parent folder | download | duplicates (7)
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
# Ti single atom in vacuum

units		metal
boundary	f f f

atom_style	atomic
region		box block -100 100 -100 100 -100 100 units box
create_box		1 box
create_atoms	1 single 0 0 0 units box

pair_style      meam/sw/spline
pair_coeff      * * ../../potentials/Ti.meam.sw.spline Ti
mass            * 47.90

variable	cohesive_energy equal pe/atoms
run			0

print		"===================================================="
print		"Calculated cohesive energy: ${cohesive_energy} eV/atom"
print		"Reference cohesive energy:  0 eV/atom"
print		"===================================================="


#dump		1 all custom 1 single_atom.dump id type x y z fx fy fz
#run 		0