forked from lijiext/lammps
24 lines
417 B
Plaintext
24 lines
417 B
Plaintext
|
# 2d polygon nparticle bodies
|
||
|
|
||
|
units lj
|
||
|
dimension 2
|
||
|
atom_style body nparticle 2 6
|
||
|
|
||
|
read_data data.body
|
||
|
|
||
|
velocity all create 1.44 87287 loop geom
|
||
|
|
||
|
pair_style body 5.0
|
||
|
pair_coeff * * 1.0 1.0
|
||
|
|
||
|
neighbor 0.3 bin
|
||
|
|
||
|
fix 1 all nve/body
|
||
|
fix 2 all enforce2d
|
||
|
|
||
|
#compute 1 all body/local type 1 2 3
|
||
|
#dump 2 all local 100 dump.body index c_1[1] c_1[2] c_1[3] c_1[4]
|
||
|
|
||
|
thermo 500
|
||
|
run 10000
|