| 1 |
variable sname index ch4_ionized |
| 2 |
log ${sname}.nvt.log |
| 3 |
|
| 4 |
units electron |
| 5 |
newton on |
| 6 |
boundary f f f |
| 7 |
|
| 8 |
atom_style electron |
| 9 |
|
| 10 |
read_data data.${sname} |
| 11 |
|
| 12 |
pair_style eff/cut 5000.0 0 0 |
| 13 |
pair_coeff * * |
| 14 |
|
| 15 |
comm_modify vel yes |
| 16 |
|
| 17 |
# minimize |
| 18 |
min_style cg |
| 19 |
min_modify line quadratic |
| 20 |
minimize 0 1.0e-6 10000 100000 |
| 21 |
|
| 22 |
# dynamics |
| 23 |
compute effTemp all temp/eff |
| 24 |
|
| 25 |
thermo 100 |
| 26 |
thermo_style custom step etotal pe ke temp press |
| 27 |
thermo_modify temp effTemp |
| 28 |
|
| 29 |
# equilibrate |
| 30 |
timestep 0.001 |
| 31 |
fix 1 all nvt/eff temp 300.0 300.0 0.1 |
| 32 |
|
| 33 |
# the custom dump includes the radii |
| 34 |
compute 1 all property/atom spin eradius |
| 35 |
dump 1 all custom 100 ${sname}.nvt.lammpstrj id type x y z c_1[1] c_1[2] |
| 36 |
dump 2 all xyz 100 ${sname}.nvt.xyz |
| 37 |
|
| 38 |
run 1000000 |
| 39 |
|
| 40 |
fix 2 all nve/eff |
| 41 |
|
| 42 |
run 1000000 |