Dear LAMMPS developers.
I generated a cluster and want to use ultrasonic waves to break this cluster.
I found the relevant command “fix move” in the lammps documentation and added a simple harmonic force to the wall.
It cant run. Maybe I have used this command incorrectly. But I can’t find any more references to add a correct simple harmonic force. I will be grateful for any suggestion.
My code is attached below
Sincerely,
Cute
variable name string pour_into_box
atom_style sphere
units si
variable boxx equal 500e-6
variable boxy equal 300e-6
variable boxz equal 500e-6
variable rlo equal 7e-6
variable rhi equal 9e-6
variable dlo equal 2.0*${rlo}
variable dhi equal 2.0*${rhi}
variable dens equal 944.3038
variable skin equal 0.3*${rhi}
region boxreg block 0 ${boxx} 0 ${boxy} 0 ${boxz}
region insreg1 block 200e-6 ${boxx} 0 ${boxy} 100e-6 300e-6
region cyl block 0 ${boxx} 0 ${boxy} 0 10e-6 side out
region wall2 cylinder z 100e-6 150e-6 10e-6 10e-6 30e-6 side out
create_box 1 boxreg
change_box all boundary f f f
comm_modify vel yes
pair_style granular
pair_coeff 1 1 jkr 2.5e8 0.26 0.25 0.005 tangential mindlin 5e6 1.0 0.6 rolling none twisting marshall
fix 1 all nve/sphere
fix grav all gravity 10.0 vector 0 0 -1
fix ins1 all pour 1000 1 546876 region insreg1 diam range ${dlo} ${dhi} dens ${dens} ${dens}
fix 2 all wall/gran/region granular jkr 1e8 0.4 0.3 0.04 tangential mindlin NULL 1 0.7 rolling sds
& 5e5 2.5 0.405 twisting marshall region cyl
fix 3 all wall/gran/region granular jkr 1e8 0.4 0.3 0.04 tangential mindlin NULL 1 0.7 rolling sds
& 5e5 2.5 0.405 twisting marshall region wall2
neighbor ${skin} bin
neigh_modify delay 0 every 1 check yes
thermo_style custom step atoms ke
thermo_modify lost warn
thermo 100
timestep 5.82e-8
dump 1 all custom 100 ${name}.dump id type radius mass x y z
run 200000
fix 3 wall2 move wiggle 0 0 10e-6 5e-6
run 200000