fix wall/gran

Submitted by DAVID RIVERA TAPIA on
DAVID RIVERA TAPIA

In reply to by anonymous_stub (not verified)

I did not get an error, but the cylindrical walls did not stop the particles in the simulation box.

The boundaries are:

region reg block -0.1 0.1 -0.1 0.1 0 0.7 units box

All the particles exceed the limits and quit the simulation box.

Best Regards,

David

Mon, 28 Oct 2013 - 16:23 Permalink
cstoltz

Are the particles actually penetrating the cylinder walls, or falling out of the bottom of the cylinder in the z-direction? Keep in mind that a primitive cylinder is just an infinitely long horizontal tube with no top/bottom. If you want to add those, you'll need additional primitives.

If the particles are blowing through the walls, most likely a timestep issue.

Regards,
Chris

Mon, 28 Oct 2013 - 20:30 Permalink
DAVID RIVERA TAPIA

The particles are falling out of the bottom. Do I need to define a z plane in order to avoid the particles to go out the cylinder?

Best regards,

David

Mon, 28 Oct 2013 - 23:32 Permalink
cstoltz

Yes. To create a completely enclosed cylinder using primitives, you need three primitives - the cylinder and two planes to represent the ends. See fix_wall_gran in the documentation.

Regards,
Chris

Tue, 29 Oct 2013 - 10:50 Permalink
DAVID RIVERA TAPIA

Hi Chris,

Thank you very much, your answer helped me to solve my trouble.

Best Regards,

David

Wed, 30 Oct 2013 - 04:34 Permalink

Hi everybody,

In the new version of liggghts I can not create a cylindrical wall with fix wall/gran/hertz/history. I am using this code to specify the cylwall:

fix cylwalls all wall/gran/hertz/history primitive type 1 zcylinder 0.1 0. 0.7

Is there any error in this line?

Regards,

David