Strange behavior of a rotating drum

Submitted by Schrader on Tue, 07/10/2018 - 09:24

Hello,
I'm trying to simulate a rotating drum (primitive y-cylinder wall) with periodic boundaries in y-direction. If I do so, the particles are rolling up the cylinder wall clockwise and anticlockwise (see picture).

I am using the following command:

"fix cylwalls all wall/gran model hertz tangential history rolling_friction cdt primitive type 1 ycylinder ${RADIUS} 4.5 4.5 shear z ${VELOCITY}"

The documentation tells me:

"For zcylinder walls, a dimension of z means the cylinder is moving in the z-direction along it’s axis. A dimension of x or y means the cylinder is spinning around the z-axis, either in the clockwise direction for vshear > 0 or counter-clockwise for vshear < 0. In this case, vshear is the tangential velocity of the wall at whatever radius has been defined. The same applies to xcylinder and ycylinder accordingly."

I am using a positive value for "VELOCITY", so the particles should move in clockwise direction. Does anyone has a explanation for my strange behavior?

Cheers,
Marcel

AttachmentSize
Image icon rotating_drum.jpg377.91 KB
Plain text icon input.txt3.7 KB
Plain text icon run.txt3.09 KB
arnom's picture

arnom | Thu, 07/19/2018 - 09:22

Can you please provide the input script that shows this behaviour?

DCS team member & LIGGGHTS(R) core developer

Schrader | Tue, 08/07/2018 - 18:44

Hello,
sorry for my late response. I used the input and run script, which I have attached to my first post.

Cheers,
Marcel

Philippe's picture

Philippe | Tue, 10/09/2018 - 17:34

Hi Marcel,

you can easily fix that bug - just exchange "dx" and "dz" in line 282 of src/primitive_wall_definitions.h

cheers
Philippe

Schrader | Fri, 10/12/2018 - 10:50

Hey Phillippe,
perfect! Thank you for your help :)

Cheers,
Marcel