← Back to team overview

yade-users team mailing list archive

Re: Simulation in displacement control

 

2010/4/16 Václav Šmilauer <eudoxos@xxxxxxxx>

> > I want to run a simple test of two balls in displacement control. Is
> > there any engine for this purpose? I see in ForceContainer a function
> > called move.. Is that one I should use for? Can I run it say every
> > time step?
> Use TranslationEngine or JumpChangeSe3. You can use move as well, but
> you have to set it at every step; besides, it will not set particle's
> velocity.
>

Ok. In fact, (Jerome) we see in the NewtonIntegrator something like
_scene->forces.getMove(id)_, hence also move() is possible to use if we want
to force a displacement. Anyway an engine is better since it is run every
time step as Vaclav suggests.


>
> I am attaching script that I use(d) for plotting 1-1 graphs, take it as
> inspiration, it is rather hairy. I wanted to add something like this to
> some yade standard module (since every time you develop new contact law,
> you want to test it on 1-1 configuration first), but I did not (and will
> not probably) have time for that. It uses the JumpChangeSe3 engine.
>

Thanks a lot Vaclav. In fact, I was thinking to add a good general script to
be used to test a contact law. I will since I am playing with
tension/compression forces, loading/unloading... Just a matter of time.

BTW, why sometimes I do not see consistence in assigned names of py/c++
functions? Like getMove() and move()... It would be simpler to maintain the
same...

cheers, Chiara

>
> It runs 3 scenarios, the one you might need is distProx perhaps.
>
> HTH, Vaclav
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References