lammps/examples/latte/in.latte.sucrose

41 lines
710 B
Plaintext
Raw Normal View History

# simple sucrose model with LATTE
2017-02-24 09:20:02 +08:00
units metal
atom_style full
atom_modify sort 0 0.0 # turn off sorting of the coordinates
2017-09-22 00:40:54 +08:00
read_data data.sucrose
2017-02-24 09:20:02 +08:00
# replicate system if requested
variable x index 1
variable y index 1
variable z index 1
variable nrep equal v_x*v_y*v_z
if "${nrep} > 1" then "replicate $x $y $z"
# initialize system
velocity all create 0.0 87287 loop geom
pair_style zero 1.0
pair_coeff * *
neighbor 1.0 bin
neigh_modify every 1 delay 0 check yes
timestep 0.00025
fix 1 all nve
fix 2 all latte NULL
fix_modify 2 energy yes
2017-09-22 00:40:54 +08:00
thermo_style custom step temp pe etotal press
2017-02-24 09:20:02 +08:00
# dynamics
2017-02-24 09:20:02 +08:00
thermo 10
run 100