yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #15664
Re: [Question #657560]: Plotting force & displacement of impactor in a penetration test
Question #657560 on Yade changed:
https://answers.launchpad.net/yade/+question/657560
Jan Stránský proposed the following answer:
Once again, take care of errors :-)
I got:
TypeError
...
---> 14 Dz=hammer.state.displ[2]
should be Dz=hammer.state.displ()[2] # state.displ() is a fanction,
therefore called by (), than you can extract z component by [2]
cheers
Jan
--
You received this question notification because your team yade-users is
an answer contact for Yade.