Offsetting a Rigid Body at an Angle

Submitted by kheikkinen on Thu, 07/21/2011 - 21:59

Hey Christoph,

I've got a new simulation that I've been running. Essentially I've created a rigid body of particles in the shape of a hollow cylinder. This rigid body is then dropped into a bed of particles with gravity. Currently the rigid body is created using the subtraction of two groups made of two cylindrical regions. I was wondering if there was a way to offset the rigid body by an angle. I would like to simply offset the cylinder by an angle of about 60 degrees and then drop it into the bed instead of having the vertical cylinder dropping into the bed. Is there a command I could use to offset the cylinder without giving it rotational velocity?

Thanks!
Kirsten

ckloss's picture

ckloss | Thu, 07/21/2011 - 22:53

Hi Kirsten,

there are multiple ways of doing this:
+ you can prepare the cylinder data outside of LIGGGHTS and use the read_data command, and afterwards inserting the bed particles
+ you can apply a "fix move" to the cylinder to let it rotate, then use the set command to zero its velocity and angular velocity and let it drop

Cheers,
Christoph