← Back to team overview

yade-users team mailing list archive

Re: [Question #631788]: Flow of sphere clump.

 

Question #631788 on Yade changed:
https://answers.launchpad.net/yade/+question/631788

    Status: Open => Answered

Jan Stránský proposed the following answer:
O.bodies.appendClumped returns (clumpID,listOfMemberIds), so "for i in ss2" is wrong here. O.bodies[cid]... is the correct approach
Try (indent it according to your needs):

cid,bids = ss2
v = (9.1924,9.1924,0)
O.bodies[cid].state.vel = v

cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.