← Back to team overview

yade-users team mailing list archive

Re: [Question #703734]: Get force on Facet

 

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

    Status: Open => Answered

Karol Brzezinski proposed the following answer:
Hi,

please provide more information (e.g., MVE [1]). Do you have any errors,
or just nothing happens? You need to pass body id to the O.forces.f()
function. If 'barrier' is references directly to your facet (body) you
should try something like this:

F = O.forces.f(barrier.id)
print(F)

Cheers,
Karol

[1] https://www.yade-dem.org/wiki/Howtoask

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