Keeping the z-coordinate of a body fixed

Asked by Christopher Stanbridge

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

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jan Stránský (honzik) said :
#1

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 <
<email address hidden>>:

> 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 : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>

Can you help with this problem?

Provide an answer of your own, or ask Christopher Stanbridge for more information if necessary.

To post a message you must log in.