[Yade-users] [Question #648259]: rotation of gravity or box?
New question #648259 on Yade: https://answers.launchpad.net/yade/+question/648259 I want to simulate a very slow inclinaison process of a box filled with spheres in order to observe the precursors of the avalanche process. for that I can first fill a box with spheres and after do a rotation either of the gravity field (change gravity in x and z) or of the box by changing the orientation of all the walls. but of course the way to calculate all the interactions between spheres, gravity and walls can generate different amplitudes of errors; so my question : according to the internal calculation of Yade, is it better to tilt the gravity or the walls? thanks for the answer. -- 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 #648215]: Rotational Resistance
Question #648215 on Yade changed: https://answers.launchpad.net/yade/+question/648215 Status: Open => Answered Jérôme Duriez proposed the following answer: Hi, For such a task, you first need to define for each corresponding particle "b" : b.state.blockedDOFs = 'XYZ' (see [1]) so that you can control directly these angular velocities instead of them being affected by resulting torques (if I understood correctly what you want to achieve) Then, I think you just have to include some PyRunner [2] engine in your engine list (at the end of O.engines, typically) defined as O.engines = [..., PyRunner(iterPeriod = 1,command = 'trickRotation()')] with this trickRotation() Python function defined elsewhere as def trickRotation(): for b in theListOfParticlesYouWantToPlayWith: b.state.angVel = 0.99 * b.state.angVel # that's all you need to do to update this velocity ! Jerome [1] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.State.blockedDOFs [2] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.PyRunner -- 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 #648215]: Rotational Resistance
New question #648215 on Yade: https://answers.launchpad.net/yade/+question/648215 Hello I am trying to apply very simplified rotational resistance approach proposed by Teufelsbaure in my model. In this approach I am trying to multiply the angular velocity of each particle in all directions by a constant coefficient (something close to 0.99) in each iteration. w(i+1)x,y,z=A*w(i)x,y,z A=0.99 I am trying to use RotationEnigne however, I am wondering how can assign rotational velocity of a particle from last iteration to it.(Do you think RotationEngine works or I should use another way?) If it works should I use separate RotationEnigne for each direction or I can apply all in one? By the way I am very new Python user. Thanks in advance Ataollah -- 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 #647299]: About plotting the histogram for distribution of interaction directions
Question #647299 on Yade changed: https://answers.launchpad.net/yade/+question/647299 Jan Stránský posted a new comment: > I also want to know whether we can convert the vtk files, which save the interaction information of the whole system, into text files. vtk files are text files themselves ;-) but yes, it is possible to convert them to a different format. vtk has its own but well defined structure, see [1]. cheers Jan [1] http://www.vtk.org/wp-content/uploads/2015/04/file-formats.pdf -- 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