← Back to team overview

yade-dev team mailing list archive

Re: [Yade-users] [Question #671132]: tow engines in a program

 

Hi,
You can impose the velocity of the piston as b.state.vel=(x,y,z) after
setting b.state.blockedDOFs='xyzXYZ'. You then make it zero in the begining
and change for something else at some point.
TranslationEngine makes this simple thing excessively complex in my
opinion. I would suggest to forget it (*).
Bruno

(*) and even to remove it from source code for its anti-didactic effect, to
keep only truly involved helico-rotational motion engines present

Le jeu. 26 juil. 2018 16:43, Jan Stránský <
question671132@xxxxxxxxxxxxxxxxxxxxx> a écrit :

> Question #671132 on Yade changed:
> https://answers.launchpad.net/yade/+question/671132
>
>     Status: Open => Answered
>
> Jan Stránský proposed the following answer:
> > I applied a engine for movement of particles caused by gravity
>
> yes, NewtonIntegrator(...,gravity=[0,0,-9.8]) does this
>
> > after that I want to compress particles by the piston
>
> your TranslationEngine is ok.
>
> There are several options how to make it work, e.g. I would add the
> piston with TranslationEngine after gravity deposition ends.
>
> cheers
> Jan
>
> --
> You received this question notification because your team yade-users 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
>