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

    Status: Open => Answered

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

I think adding

vol = O.bodies[-1].state.mass / O.materials['rubber].density # hard to
test by myself with this sort of non-working minimal script ;-)

will give you in "vol" the volume of that clump, as considered by YADE
in your workflow.

Since your clump looks to involve overlapping members, note though this
volume value is wrong. Having a correct value would require to include
"discretization" considerations [*] and maybe another kind of YADE
workflow

[*] see https://yade-
dem.org/doc/yade.wrapper.html#yade.wrapper.BodyContainer.clump

-- 
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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to