yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #13265
[Question #355381]: ID Bodies Plot
New question #355381 on Yade:
https://answers.launchpad.net/yade/+question/355381
Hi,
I am defining a plane with name p2:
p2=O.bodies.append(utils.geom.facetBox((0,0,r),(0.01,-0.01,r),wallMask=32))
I am using the id to plot, but it is not convenient to identify in each simulation.
plot.addData(z1=O.bodies[id].state.pos[2],F=O.forces.f(id)[2])
Is there a way to plot the position and forces of this body p2 using a ids=p2?
Tks,
Luis
--
You received this question notification because your team yade-users is
an answer contact for Yade.