← Back to team overview

yade-users team mailing list archive

Re: [Question #253577]: How to add fore on a GridNode.

 

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.