← Back to team overview

yade-users team mailing list archive

Re: [Question #431251]: How to read the force value

 

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

    Status: Open => Answered

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

It seems to me the answer is directly in the question. The force acting
on any body "b" is obtained by typing

O.forces.f(b.id)

See https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.ForceContainer.f
Not surprisingly, it returns a vector (which can not be directly tested for ">/<" )

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