← Back to team overview

yade-users team mailing list archive

Re: [Question #261529]: a cylinder as a single body

 

Hi Behzad,

you have more options:

1) use O.bodies.appedClumped(facets) to create a clump, which you can aplly
force to. Currently it does not work with facets, but it should not be
difficult to make it work with non-spherical shapes. I don't have time now
to work on it..

2) use normal bodies and use RotationEngine on them, each (or each a few)
time step checking forces on individual facets and apdate angular velocity
according to the value (i.e. creating PyRunner doing the same as
NewtonIntegrator :-)

I like no 1 most (if it works), you can ask some other developers for the
help :-)

cheers
Jan



2015-02-01 20:36 GMT+01:00 behzad <question261529@xxxxxxxxxxxxxxxxxxxxx>:

> New question #261529 on Yade:
> https://answers.launchpad.net/yade/+question/261529
>
>
> Hi,
>
> I need to create(or import) a cylindrical-shape body and as I see in any
> case this cylinder is presented by an assembly of facets which means
> several bodies.
>
> However, what I want to do is measuring the viscosity of a material. It
> means we apply a moment on a cylinder surrounded by spheres  and we measure
> the shear rate (angular velocity).
> So, the problem is how can we treat the cylinder as a single rigid body?
>
> Thanks .
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References