← Back to team overview

yade-users team mailing list archive

Re: [Question #238797]: Update interaction physics after changing material of spheres

 

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

Klaus Thoeni proposed the following answer:
What about increasing the stiffness incrementally, e.g. increase it by a
factor of 2 or 10 (you probably have to try), run a couple of time steps
with high numerical damping and repeat this step until you reach your final
value.

Another way of avoiding the explosion is to downscale your particle radius
so that the particles are not in contact any more, i.e. ones you reach
equilibrium with your low stiffness you block all DoFs and then you scale
down the radius based on real interactions.

HTH
Klaus


On Thu, Nov 7, 2013 at 8:56 PM, Christian Jakob <
question238797@xxxxxxxxxxxxxxxxxxxxx> wrote:

> Question #238797 on Yade changed:
> https://answers.launchpad.net/yade/+question/238797
>
> Christian Jakob proposed the following answer:
> You can avoid explosions by using calm() function, which sets velocities
> of all bodies to zero.
> In addition with a pyrunner, it can help you ... You can try something
> like this:
>
>
> O.engines=O.engines+[PyRunner(iterPeriod=1,command='calm()',label='calmRunner')]
> O.run(1000,True)
>
> calmRunner.iterPeriod = 9
> O.run(5000,True)
>
> calmRunner.iterPeriod = 9999
> O.run(10000,True)
>
> calmRunner.iterPeriod = 99999
> O.run(20000,True)
> calmRunner.dead=True    #deactivate calm runner
>
> --
> 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.