← Back to team overview

yade-users team mailing list archive

Re: [Question #230538]: Mass and Inertia modification for clump

 

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

    Status: Open => Answered

Christian Jakob proposed the following answer:
Hi,

please have a look at the clump section in the users manual [1].

If you use clump() or appendClumped() method masses/inertia of clump will not be adapted automatically. You may want to use adaptClumpMasses() for this [2]. 
If you use replaceByClumps() method, masses will be adapted automatically. In this case there is no need for [2].

> And Also, why replaceByClump() in my Yade doesn' work?

Please attach a script and explain what does not work.

> I am not sure whether my way to call this function is correct or not, 
> coz I didn't found an example script.

Hm, maybe you will find an example in examples/clumps/ folder?!

[1] https://yade-dem.org/doc/user.html?highlight=user#clumping-particles-together
[2] https://yade-dem.org/doc/yade.wrapper.html?highlight=adapt#yade.wrapper.BodyContainer.adaptClumpMasses

Regards,

Christian

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