yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #10084
Re: [Question #253577]: How to add fore on a GridNode.
Question #253577 on Yade changed:
https://answers.launchpad.net/yade/+question/253577
Jan Stránský proposed the following answer:
Hi Henry,
https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.ForceContainer.addF
cheers
Jan
2014-08-25 16:42 GMT+02:00 Henry <question253577@xxxxxxxxxxxxxxxxxxxxx>:
> Question #253577 on Yade changed:
> https://answers.launchpad.net/yade/+question/253577
>
> Description changed to:
> Dear all,
> I want add force on gridnodes in X direction, through the following
> script. However, it seems that there is no force has been added on the
> gridnodes.
> for b in O.bodies:
> if isinstance(b.shape,GridNode):
> O.forces.f(b.id)[0]=100000.0
>
> Is the force can't be added on the grinode?
>
> Thanks a lot!
>
> Regard,
> Henry
>
> --
> 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
>
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.