← Back to team overview

yade-users team mailing list archive

Re: [Question #181411]: cylinder larger than half of the periodic cell

 

Question #181411 on Yade changed:
https://answers.launchpad.net/yade/+question/181411

    Status: Open => Answered

Chareyre proposed the following answer:
Hi Giulia,

1/ I added the "if(!scene->isPeriodic)" at a time when there was no
option to have bodies larger than period.
In this special case, the large body is not periodic (else it would
touch itself). So, you could just comment the "if" line and it should
work (just, you must define the center of cylinder so that it is in
period (0,0,0)), no need to wrap/shear/unshear.
Could you try and confirm?

2/ For the second question, make a chain with only one cylinder, it will
be perfectly rigid.
Blocking DOFs works also but then the cylinder can't be dynamic.

Note that 1/ applies when there is only one cylinder. It is a bit less
likely to work in all cases if the chain is composed of many
smaller-than-period cylinders. Note sure, you will have to experiment.

Bruno

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.