← Back to team overview

yade-users team mailing list archive

Re: [Question #258801]: Keeping the z-coordinate of a body fixed

 

Hi Christopher

O.bodies[bid].state.blockedDOFs = 'z' # [1]

cheers
Jan

[1]
https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.State.blockedDOFs



2014-12-08 21:26 GMT+01:00 Christopher Stanbridge <
question258801@xxxxxxxxxxxxxxxxxxxxx>:

> New question #258801 on Yade:
> https://answers.launchpad.net/yade/+question/258801
>
> Hi guys,
>
> Is there any way -- besides a PyRunner with an iterPeriod of 1 -- to keep
> a body's z-coordinate constant while still allowing it to move in the x-
> and y-directions?
>
> Cheers,
> Christopher Stanbridge
>
> --
> 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
>

References