yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #14865
Re: [Question #631723]: Add Force every iterPeriod
Question #631723 on Yade changed:
https://answers.launchpad.net/yade/+question/631723
Status: Open => Answered
Jan Stránský proposed the following answer:
Hello,
1) yes, the approach is correct
2)
def addForce():
O.forces.addF(0,Vector3(0,0,5*O.iterPeriod))
O.forces.addF(1,Vector3(0,0,-5*O.iterPeriod))
print ...
cheers
Jan
--
You received this question notification because your team yade-users is
an answer contact for Yade.