← Back to team overview

yade-users team mailing list archive

Re: [Question #226804]: Applying Forces on Facets with ForceEngine

 

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

    Status: Answered => Solved

Eugen Kubowsky confirmed that the question is solved:
ah ok...
Thanks! What I wanted was something like this:

Yade []: O.forces.f(18).dot(O.bodies[18].shape.normal)
 ->  []: 9.23879532511287

Yade []: O.forces.f(19).dot(O.bodies[19].shape.normal)
 ->  []: 3.8268343236508944


I think that yade._utils.sumFacetNormalForces does already implement this.
So you will receive the scalar projection of force vector of facet (18 or 19) onto a normal vector of facet (18 or 19).

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.