yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #16711
Re: [Question #663965]: Tracking interaction forces on a surface
Question #663965 on Yade changed:
https://answers.launchpad.net/yade/+question/663965
Status: Open => Answered
Robert Caulk proposed the following answer:
Hello Giovanni,
facetCylinder creates a cylindrical geometry in yade composed of facets
and returns a list of body ids [1]. The body forces method takes a
single body id and returns the traction force on that body [2]. In other
words, you will need to index into the facetCylinder list and pull a
single bodyId out for use with the body forces method, which will return
the traction on the body. If you want to extract a component of the
traction you can simply dot it by the unit vector of interest.
Best,
Robert
[1] https://yade-dem.org/doc/yade.geom.html#yade.geom.facetCylinder
[2]https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.ForceContainer.f
--
You received this question notification because your team yade-users is
an answer contact for Yade.