yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #07373
Re: [Question #226804]: Applying Forces on Facets with ForceEngine
Question #226804 on Yade changed:
https://answers.launchpad.net/yade/+question/226804
Jan Stránský posted a new comment:
yes, utils.sumFacetNormalForces([18]) wiil do what you want for facet
number 18.
Jan
2013/4/16 Eugen Kubowsky <question226804@xxxxxxxxxxxxxxxxxxxxx>
> 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.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.