lammps/examples/snap/in.snap.Mo_Chen

46 lines
739 B
Plaintext
Raw Normal View History

2019-09-20 03:17:52 +08:00
# Demonstrate SNAP Mo potential
2017-09-20 22:54:30 +08:00
# Initialize simulation
variable nsteps index 100
variable nrep equal 4
variable a equal 3.160
2019-09-20 03:17:52 +08:00
units metal
2017-09-20 22:54:30 +08:00
# generate the box and atom positions using a BCC lattice
variable nx equal ${nrep}
variable ny equal ${nrep}
variable nz equal ${nrep}
2019-09-20 03:17:52 +08:00
boundary p p p
2017-09-20 22:54:30 +08:00
lattice bcc $a
2019-09-20 03:17:52 +08:00
region box block 0 ${nx} 0 ${ny} 0 ${nz}
create_box 1 box
create_atoms 1 box
2017-09-20 22:54:30 +08:00
mass 1 183.84
# choose potential
include Mo_Chen_PRM2017.snap
# Setup output
2019-09-20 03:17:52 +08:00
thermo 10
2017-09-20 22:54:30 +08:00
thermo_modify norm yes
# Set up NVE run
timestep 0.5e-3
neighbor 1.0 bin
neigh_modify once no every 1 delay 0 check yes
# Run MD
velocity all create 300.0 4928459
fix 1 all nve
run ${nsteps}