forked from lijiext/lammps
43 lines
744 B
Plaintext
43 lines
744 B
Plaintext
# Big colloid particles and small LJ particles
|
|
|
|
units lj
|
|
atom_style atomic
|
|
dimension 2
|
|
|
|
lattice sq 0.01
|
|
region box block 0 30 0 30 -0.5 0.5
|
|
create_box 2 box
|
|
create_atoms 1 box
|
|
|
|
set group all type/fraction 2 0.96 23984
|
|
|
|
mass 1 9
|
|
mass 2 1
|
|
|
|
velocity all create 1.44 87287 loop geom
|
|
|
|
# multi neighbor and comm for efficiency
|
|
|
|
neighbor 1 multi
|
|
neigh_modify delay 0
|
|
communicate multi
|
|
|
|
# colloid potential
|
|
|
|
pair_style colloid 12.5
|
|
pair_coeff 1 1 1.0 1.0 5.0 5.0 12.5
|
|
pair_coeff 1 2 5.0 1.0 5.0 0.0 7.0
|
|
pair_coeff 2 2 10.0 1.0 0.0 0.0 2.5
|
|
|
|
fix 1 all npt 2.0 2.0 1.0 xyz 0.0 1.0 10.0 drag 1.0
|
|
fix 2 all enforce2d
|
|
|
|
dump 1 all atom 200 dump.colloid
|
|
|
|
thermo_style custom step temp epair etotal press vol
|
|
thermo 1000
|
|
|
|
timestep 0.005
|
|
|
|
run 50000
|