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
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