| 1 |
# ------------------------------- Initialization Section -------------------- |
| 2 |
|
| 3 |
include system.in.init |
| 4 |
|
| 5 |
# ------------------------------- Atom Definition Section ------------------- |
| 6 |
|
| 7 |
|
| 8 |
# Normally, I would minimize the system and equilibrate the system at constant |
| 9 |
# pressure and temperature beforehand. If you run lammps with "run.in.npt", |
| 10 |
# it will generate a data file "system_after_npt.data" with reasonable |
| 11 |
# coordinates at that temperature and pressure. We load it now: |
| 12 |
|
| 13 |
read_data system_after_npt.data |
| 14 |
|
| 15 |
# ------------------------------- Settings Section -------------------------- |
| 16 |
|
| 17 |
include system.in.settings |
| 18 |
|
| 19 |
# ------------------------------- Run Section ------------------------------- |
| 20 |
|
| 21 |
|
| 22 |
timestep 6.0 # The time-step in Watson et. al 2011 was 0.002*3ps = 6fs |
| 23 |
dump 1 all custom 5000 traj_nvt.lammpstrj id mol type x y z ix iy iz |
| 24 |
|
| 25 |
|
| 26 |
thermo_style custom step temp pe etotal vol epair ebond eangle |
| 27 |
thermo 1000 # time interval for printing out "thermo" data |
| 28 |
|
| 29 |
|
| 30 |
fix fxlan all langevin 300.0 300.0 120 48279 |
| 31 |
fix fxnve all nve |
| 32 |
|
| 33 |
# Note: The energy scale "epsilon" = 2.75kJ/mole = 330.7485200981 Kelvin*kB. |
| 34 |
# So a temperature of 300.0 Kelvin corresponds to 0.907033536873*epsilon. |
| 35 |
# Note: The langevin damping parameter "120" corresponds to |
| 36 |
# the 0.12ps damping time used in Watson et. al JCP 2011. |
| 37 |
|
| 38 |
#restart 1000000 |
| 39 |
|
| 40 |
run 1000000 |
| 41 |
|
| 42 |
write_data system_after_nvt.data |
| 43 |
|