yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #14275
Re: [Question #515400]: Introduction of defects
Question #515400 on Yade changed:
https://answers.launchpad.net/yade/+question/515400
Status: Open => Answered
Jan Stránský proposed the following answer:
Hello,
I am new to Yade
welcome :-)
for f in O.forces :
> f.addF((-1,0,0))
for b in O.bodies:
O.forces.addF(b.id,(-1,0,0)) # [1]
cheers
Jan
[1]
https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.ForceContainer.addF
--
You received this question notification because your team yade-users is
an answer contact for Yade.