← Back to team overview

yade-users team mailing list archive

Re: [Question #706640]: How to get a volume of a clump using makeClumpCloud?

 

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.