yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #13954
Re: [Question #432620]: How to understand getStress?
Question #432620 on Yade changed:
https://answers.launchpad.net/yade/+question/432620
Status: Open => Answered
Jan Stránský proposed the following answer:
Hello,
getStress() function computes the result based on normalForce and
shearForce of interactions. BubblePhys is one of a few IPhys classes, that
does not have shearForce.. The code probably should throw some error, but
it does not so you get a strange result..
If you change BubbleMat to FrictMat, it should work ok.. What material are
you using in other simulations?
cheers
Jan
2017-01-07 14:57 GMT+01:00 张文卿 <question432620@xxxxxxxxxxxxxxxxxxxxx>:
> New question #432620 on Yade:
> https://answers.launchpad.net/yade/+question/432620
>
> I‘m using getStress() to monitor my 'peri'.In doucumentation,it says
> stress is negative for repulsive contact forces.So,I wanna try if
> it'scorrect.I used it for a simple example:bouncingbubble.py.And something
> wierd show up.Stress is(nan,nan,nan,0,0,12.644,0,0,34.8838).Can anyone
> explain that?
>
> --
> You received this question notification because your team yade-users 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 your team yade-users is
an answer contact for Yade.