Re: [Yade-users] [Question #402658]: add displacement according to their coordinate
Question #402658 on Yade changed: https://answers.launchpad.net/yade/+question/402658 Status: Answered => Solved 张文卿 confirmed that the question is solved: Thanks Jan Stránský, that solved my question. -- 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #402658]: add displacement according to their coordinate
Question #402658 on Yade changed: https://answers.launchpad.net/yade/+question/402658 Status: Open => Answered Jan Stránský proposed the following answer: You can prescribe velocity such that during next time step the particle gets to desired position b.state.vel = (desiredPos - b.state.pos) / O.dt cheers Jan 2016-10-01 14:53 GMT+02:00 张文卿: > New question #402658 on Yade: > https://answers.launchpad.net/yade/+question/402658 > > At the begining of each time step, I want to add displacement to every > particle according to their center coordinate. > just like this:for x direction,Displacement=a*x*timestep. > a is just a coefficient. > But I only find 'addMove'.Is there any way solve this problem.Thanks: ) > > -- > 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@lists.launchpad.net > Unsubscribe : https://launchpad.net/~yade-users > More help : https://help.launchpad.net/ListHelp > -- 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
[Yade-users] [Question #402658]: add displacement according to their coordinate
New question #402658 on Yade: https://answers.launchpad.net/yade/+question/402658 At the begining of each time step, I want to add displacement to every particle according to their center coordinate. just like this:for x direction,Displacement=a*x*timestep. a is just a coefficient. But I only find 'addMove'.Is there any way solve this problem.Thanks: ) -- 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp