yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #14614
Re: [Question #616981]: how to record the force applied on the plate
Question #616981 on Yade changed:
https://answers.launchpad.net/yade/+question/616981
Status: Open => Answered
mohsen proposed the following answer:
Hi ting
Every thing is True, but just you made an samll mistake in defining
addPlotdata; may be this works:
def addPlotData():
if not isinstance(O.bodies[-1].shape,Facet):
plot.addData(); return
F=O.forces.f(plate.id)[1]
plot.addData(F=F,displacement=plate.state.pos[1]-plate.state.refPos[1],unbalanced=unbalancedForce(),i=O.iter)
Regards
Mohsen
--
You received this question notification because your team yade-users is
an answer contact for Yade.