[lammps-users] simulating a horizontally vibrating granular particles

Dear all,

I want to simulate a 2d horizontal vibrating granular particles. I need to
insert the particles in 2d horizontal box randomly as an initial
condition, not on a lattice, Could anyone help me how can I insert
particles randomly?

also, I need to add an oscillatory external force in horizontal direction,
but I don't know how can I add this force? because fix setforce or
addforce just adds a constant force and I need a sinusoidally force.

Thanks in advance

Fix pour will pour granular particles randomly into a box. Like
in examples/pour. Fix wall/gran has a wiggle option for
shaking the box.