Debian Codegraph @

examples/misc_examples/explicit_electrons/eff_CH4/orig_files/in.ch4.dynamics

raw
1 variable sname index ch4
2 log ${sname}.nve.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 100.0
13 pair_coeff * *
14
15 comm_modify vel yes
16
17 # Minimize
18 min_style cg
19 compute 1 all property/atom spin eradius
20 dump 1 all custom 1 ${sname}.min.lammpstrj id type q c_1[1] c_1[2] x y z
21 min_modify line quadratic dmax 0.1
22 minimize 0 1.0e-6 1000 10000
23
24 # Dynamics
25
26 compute effTemp all temp/eff
27
28 thermo 1000
29 thermo_style custom step pe temp press
30 thermo_modify temp effTemp
31
32 velocity all create 300.0 4928459 dist gaussian rot yes mom yes
33
34 timestep 0.005
35 fix 1 all nve/eff
36
37 # the custom dump includes the radii
38 dump 2 all custom 1000 ${sname}.nve.lammpstrj id type q c_1[1] c_1[2] x y z
39 dump 3 all xyz 1000 ${sname}.nve.xyz
40
41 run 100000