| 1 |
# PREREQUISITES: |
| 2 |
# system_ch4_ionized.data, system_ch4_ionized.in.init, system.in.settings |
| 3 |
# Generate these files using: |
| 4 |
# cd moltemplate_files/ |
| 5 |
# moltemplate.sh -atomstyle electron system_ch4_ionized.lt |
| 6 |
|
| 7 |
# WARNING: As of 2014-3-12, the "pair_style eff/cut 5000.0 0 0" command |
| 8 |
# located in "orig_files/in.ch4_ionized.dynamics" (as well as the |
| 9 |
# files "moltemplate_files/ch4_ionized.lt" and "system.in.settings", |
| 10 |
# which are both derived from it) causes LAMMPS to hang. |
| 11 |
# Running LAMMPS on Andres' original eFF example has the same behavior. |
| 12 |
# This appears to be an eFF/LAMMPS issue, not a moltemplate issue. |
| 13 |
# The "pair_style eff/cut 100" command works, so |
| 14 |
# try reducing the cutoff (or ask Andres Jaramillo-Botero for help). |
| 15 |
# Please let me know if you solve this issue (jewett.aij -at- g mail ) |
| 16 |
|
| 17 |
|
| 18 |
variable sname index ch4 |
| 19 |
log ${sname}.nve.log |
| 20 |
|
| 21 |
|
| 22 |
boundary f f f |
| 23 |
include system_${sname}.in.init |
| 24 |
|
| 25 |
|
| 26 |
read_data system_${sname}.data |
| 27 |
|
| 28 |
|
| 29 |
include system_${sname}.in.settings |
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
# Minimize |
| 34 |
|
| 35 |
min_style cg |
| 36 |
min_modify line quadratic |
| 37 |
minimize 0 1.0e-6 10000 100000 |
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
# Dynamics |
| 42 |
|
| 43 |
compute effTemp all temp/eff |
| 44 |
|
| 45 |
thermo 100 |
| 46 |
thermo_style custom step etotal pe ke temp press |
| 47 |
thermo_modify temp effTemp |
| 48 |
|
| 49 |
# Equilibrate |
| 50 |
timestep 0.001 |
| 51 |
fix 1 all nvt/eff temp 300.0 300.0 0.1 |
| 52 |
|
| 53 |
# the custom dump includes the radii |
| 54 |
compute 1 all property/atom spin eradius |
| 55 |
dump 1 all custom 100 ${sname}.nvt.lammpstrj id type x y z c_1[1] c_1[2] |
| 56 |
dump 2 all xyz 100 ${sname}.nvt.xyz |
| 57 |
|
| 58 |
run 1000000 |
| 59 |
|
| 60 |
fix 2 all nve/eff |
| 61 |
|
| 62 |
run 1000000 |