← Back to team overview

yade-users team mailing list archive

Re: [Question #691285]: Extract Normals and Shears/tangentials forces on a ballMill

 

Question #691285 on Yade changed:
https://answers.launchpad.net/yade/+question/691285

Jérôme Duriez proposed the following answer:
Hi

- normal and shear forces and contact points can be accessed like in
previous answer #8

- interaction torques, additional to the ones caused by the contact
forces, in the case of Law2_ScGeom_MindlinPhys_Mindlin seem to be at
i.phys.momentBend and .momentTwist [0]. I'm not sure there exists
interaction torques in Law2_ScGeom_ViscElPhys_Basic

- overlap is at [1], and is accessed with e.g. i.geom.penetrationDepth
where i is an interaction of your simulation

- to repeat the measure and export at each time step, you may wanna look
at PyRunner engine [2] and include one in your O.engines

- export in text files can be done following https://yade-
dem.org/doc/user.html#exporting if you like gnuplot, or using
plot.saveDataTxt()

- The whole doc § of https://yade-dem.org/doc/user.html#tracking-
variables (and all User's manual doc) should be very helpful to complete
such tasks

[0] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.MindlinPhys.momentBend and below
[1] https://yade-dem.org/doc/yade.wrapper.html?highlight=penetrationdepth#yade.wrapper.ScGeom.penetrationDepth
[2] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.PyRunner
[3] https://yade-dem.org/doc/yade.plot.html?highlight=savedatatxt#yade.plot.saveDataTxt

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.