-
Notifications
You must be signed in to change notification settings - Fork 99
/
Copy pathinput.lammps
34 lines (26 loc) · 948 Bytes
/
input.lammps
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
# This LAMMPS input script simulates the melting of a cube of Au
# Written by Simon Gravelle (https://simongravelle.github.io/)
# Find more scripts here: https://github.com/simongravelle/lammps-input-files
# LAMMPS tutorials for beginners: https://lammpstutorials.github.io/
variable fccAu equal 4.065
variable L1 equal ${fccAu}*8
variable L2 equal ${fccAu}*4
variable Ti equal 1
variable Tf equal 2500
units metal
boundary p p p
atom_style atomic
region system block -${L1} ${L1} -${L1} ${L1} -${L1} ${L1}
region cube block -${L2} ${L2} -${L2} ${L2} -${L2} ${L2}
create_box 1 system
include parm.lammps
lattice fcc 4.065
create_atoms 1 region cube # place atoms on lattice
lattice none 1.0 # re-set lattice to default valu
velocity all create ${Ti} 425521 rot yes mom yes dist gaussian
fix mynvt all nvt temp ${Ti} ${Tf} 0.1
fix myrc all recenter INIT INIT INIT
timestep 0.001
dump dp1 all atom 1000 dump.lammpstrj
thermo 1000
run 100000