← Back to team overview

yade-users team mailing list archive

Re: [Question #254578]: Reducing spheres radius

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,

it is possible and very easy:

b = O.bodies[someID]
b.shape.radius = whatever # directly assign a value
b.shape.radius *= 0.9 # change the current value to be multiplied by 0.9

note that mass and inertia are not changed

cheers
Jan



2014-09-16 10:53 GMT+02:00 Latifa El Ghezal <
question254578@xxxxxxxxxxxxxxxxxxxxx>:

> New question #254578 on Yade:
> https://answers.launchpad.net/yade/+question/254578
>
> Hi to all,
> Aiming to simulate soil shrinkage, I would like to know if it is possible
> to reduce sphere radius during simulation ?
>
> Best Regards
>
> --
> 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.