Re: [Yade-users] [Question #685903]: 'ValueError: shape mismatch' when plotting

2019-11-15 Thread Rohit John
Question #685903 on Yade changed: https://answers.launchpad.net/yade/+question/685903 Rohit John posted a new comment: Thanks for the quick reply. Are there any other ways to plot or visualise what is going on when the simulation is running? I am testing some simulations so I need to see what

[Yade-users] [Question #685903]: 'ValueError: shape mismatch' when plotting

2019-11-15 Thread Rohit John
New question #685903 on Yade: https://answers.launchpad.net/yade/+question/685903 Hello, I am using Yade 2018.02b on a Virtual Box machine running Ubuntu 18.04.3 LTS. The host machine runs Windows 10. I was trying to learn how to plot using the first tutorial given in the YADE tutorial

[Yade-users] [Question #686382]: Flow around particles. CFD DEM coupling

2019-11-29 Thread Rohit John
New question #686382 on Yade: https://answers.launchpad.net/yade/+question/686382 Hello, I am studying an impact damper. It consists of a single ball in a cavity filled with fluid. I checked the YADE openFOAM coupling and found that it uses a drag model to calculate the drag on a particle. I

[Yade-users] [Question #690088]: Simulating a brush

2020-04-21 Thread Rohit John
New question #690088 on Yade: https://answers.launchpad.net/yade/+question/690088 Hello, I would like to simulate a sphere making contact with a brush. The sphere and the brush are not fixed space and both can move freely. The brush is made of individual bristles whose response to a force can

Re: [Yade-users] [Question #692613]: Order of defining object and engine is causing problems

2020-09-01 Thread Rohit John
Question #692613 on Yade changed: https://answers.launchpad.net/yade/+question/692613 Status: Needs information => Open Rohit John gave more information on the question: Dear Robert, Thanks for your reply. I am using two materials: one for the internal nodes and one for the exter

[Yade-users] [Question #693446]: How to have viscous damping for chainedCylinder

2020-10-13 Thread Rohit John
this phenomena is plastic deformation). I would like method so that damping occurs in the elastic regime. Kind regards, Rohit John [1] https://answers.launchpad.net/yade/+question/680927 -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #693446]: How to have viscous damping for chainedCylinder

2020-10-15 Thread Rohit John
Question #693446 on Yade changed: https://answers.launchpad.net/yade/+question/693446 Status: Answered => Solved Rohit John confirmed that the question is solved: Thanks Chareyre, that solved my question. -- You received this question notification because your team yade-users is an ans

Re: [Yade-users] [Question #693446]: How to have viscous damping for chainedCylinder

2020-10-15 Thread Rohit John
Question #693446 on Yade changed: https://answers.launchpad.net/yade/+question/693446 Rohit John posted a new comment: Dear Bruno, I shall update you when I have made a working code. I have a doubt. I did not find ViscoelasticPM in the documentation. Are you talking about

[Yade-users] [Question #693479]: How to initialize the angular velocity of a box made of pfacets

2020-10-15 Thread Rohit John
New question #693479 on Yade: https://answers.launchpad.net/yade/+question/693479 Hello, I created a box using pFacets. Now I want to initialise its angular velocity. I did so by assigning the same angular velocity to all bodies in the pfacet box(nodes, cylinders and pfacet) using

Re: [Yade-users] [Question #693446]: How to have viscous damping for chainedCylinder

2020-10-14 Thread Rohit John
Question #693446 on Yade changed: https://answers.launchpad.net/yade/+question/693446 Rohit John posted a new comment: Thanks for you answer Bruno. I have read that most of the constitutive laws do no have a velocity base damping [1]. Is there a reason why velocity base damping

[Yade-users] [Question #692613]: Order of defining object and engine is causing problems

2020-08-26 Thread Rohit John
New question #692613 on Yade: https://answers.launchpad.net/yade/+question/692613 Hello all, I am new to yade. I have tried the basic tutorial scripts and in them the objects are defined first followed by the engines. In an advanced script (cylinderconnection-roots.py) I saw that the objects

Re: [Yade-users] [Question #692956]: Implementing orbital motion

2020-09-17 Thread Rohit John
Question #692956 on Yade changed: https://answers.launchpad.net/yade/+question/692956 Status: Open => Solved Rohit John confirmed that the question is solved: Hello, Thank you Janek for your advice. I shall try this. -- You received this question notification because your team yade-us

[Yade-users] [Question #692956]: Implementing orbital motion

2020-09-16 Thread Rohit John
for position. The FieldApplier looks promising, but how do I use it? Kind regards, Rohit John [1] https://en.wikipedia.org/wiki/Clohessy%E2%80%93Wiltshire_equations -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #692956]: Implementing orbital motion

2020-09-16 Thread Rohit John
Question #692956 on Yade changed: https://answers.launchpad.net/yade/+question/692956 Status: Needs information => Open Rohit John gave more information on the question: Hello, Thanks for your answers reply to Robert's comments. > Even if what you say is true (which seems odd to me

Re: [Yade-users] [Question #693479]: How to initialize the angular velocity of a box made of pfacets

2020-12-08 Thread Rohit John
Question #693479 on Yade changed: https://answers.launchpad.net/yade/+question/693479 Rohit John posted a new comment: Hello, I found a work around to this problem. I used the rotationEngine to initialise the angular velocity. It is active for the first few iterations and then it will be turned

Re: [Yade-users] [Question #694531]: non linear shear: How to implement it?

2020-12-15 Thread Rohit John
Question #694531 on Yade changed: https://answers.launchpad.net/yade/+question/694531 Status: Needs information => Open Rohit John gave more information on the question: Hello, > why? > why the other "can be handled"? Shear force uses an incremental formulation w

Re: [Yade-users] [Question #694531]: non linear shear: How to implement it?

2020-12-16 Thread Rohit John
Question #694531 on Yade changed: https://answers.launchpad.net/yade/+question/694531 Status: Answered => Open Rohit John is still having a problem: Thank you Jan and Bruno for your comments. >From Jan's comments Please correct me if I am wrong, does geom->rotate(espT) rotate t

[Yade-users] [Question #694531]: non linear shear: How to implement it?

2020-12-15 Thread Rohit John
New question #694531 on Yade: https://answers.launchpad.net/yade/+question/694531 Hello all, Reading through the manual and source code, I found that the shear force is modelled as a linear function of shear displacement. In each iteration, the displacement in the shear direction, dus, is

Re: [Yade-users] [Question #693479]: How to initialize the angular velocity of a box made of pfacets

2020-11-11 Thread Rohit John
Question #693479 on Yade changed: https://answers.launchpad.net/yade/+question/693479 Rohit John posted a new comment: Hello, Sorry for the late reply. I'll see what I can do -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #692613]: Order of defining object and engine is causing problems

2020-11-12 Thread Rohit John
Question #692613 on Yade changed: https://answers.launchpad.net/yade/+question/692613 Rohit John gave more information on the question: Dear Jérôme Duriez, Thanks for your advice. However, I do not understand your comment. I have included Law2_ScGeom_FrictPhys_CundallStrack() which, as I

Re: [Yade-users] [Question #692613]: Order of defining object and engine is causing problems

2020-10-30 Thread Rohit John
Question #692613 on Yade changed: https://answers.launchpad.net/yade/+question/692613 Status: Expired => Open Rohit John is still having a problem: Hello , Can anyone please help me with this issue -- You received this question notification because your team yade-users is an ans

Re: [Yade-users] [Question #694531]: non linear shear: How to implement it?

2020-12-16 Thread Rohit John
Question #694531 on Yade changed: https://answers.launchpad.net/yade/+question/694531 Status: Answered => Solved Rohit John confirmed that the question is solved: Thanks Jan Stránský, that solved my question. -- You received this question notification because your team yade-us

Re: [Yade-users] [Question #694531]: non linear shear: How to implement it?

2020-12-16 Thread Rohit John
Question #694531 on Yade changed: https://answers.launchpad.net/yade/+question/694531 Status: Solved => Open Rohit John is still having a problem: Dear Jan, Thanks for helping me with this problem. I went through the source code for CPM and I found that it is storing the shear increme

Re: [Yade-users] [Question #695226]: RungeKuttaCashKarp54Integrator with gridConnections is causing errors

2021-01-28 Thread Rohit John
Question #695226 on Yade changed: https://answers.launchpad.net/yade/+question/695226 Status: Answered => Solved Rohit John confirmed that the question is solved: Thanks Janek Kozicki, that solved my question. -- You received this question notification because your team yade-us

Re: [Yade-users] [Question #695226]: RungeKuttaCashKarp54Integrator with gridConnections is causing errors

2021-01-28 Thread Rohit John
Error: No IGeomDispatcher in engines or inside InteractionLoop". The minimum working code is given below. Please help me to fix the issue Kind regards, Rohit John ## # encoding: utf-8 "An example showing bendin

[Yade-users] [Question #695226]: RungeKuttaCashKarp54Integrator with gridConnections is causing errors

2021-01-28 Thread Rohit John
nside InteractionLoop". The minimum working code is given below. Please help me to fix the issue Kind regards, Rohit John ## # encoding: utf-8 "An example showing bending beams." from yade.gridpfacet impo

Re: [Yade-users] [Question #695226]: RungeKuttaCashKarp54Integrator with gridConnections is causing errors

2021-01-28 Thread Rohit John
Question #695226 on Yade changed: https://answers.launchpad.net/yade/+question/695226 Rohit John posted a new comment: Dear Bruno, > what happens with super-small O.dt? (defining what is "super-small" needs to > think about mass-viscosity-stiffness parameters) - It depend

Re: [Yade-users] [Question #695226]: RungeKuttaCashKarp54Integrator with gridConnections is causing errors

2021-01-29 Thread Rohit John
Question #695226 on Yade changed: https://answers.launchpad.net/yade/+question/695226 Rohit John posted a new comment: Dear Bruno, >Last one maybe: in a working case (small damping), did you find consistency _at the structural scale_ in terms of damping the oscillations? It co

Re: [Yade-users] [Question #695226]: RungeKuttaCashKarp54Integrator with gridConnections is causing errors

2021-01-29 Thread Rohit John
Question #695226 on Yade changed: https://answers.launchpad.net/yade/+question/695226 Rohit John posted a new comment: Dear Bruno, > Problem here is we can't see you changes. - I see. I tried pushing the code into the YADE gitlab and I got this error remote: You are not allowed to push c

[Yade-users] [Question #697465]: angular momentum of pfacet clump not conserved after collision

2021-06-09 Thread Rohit John
New question #697465 on Yade: https://answers.launchpad.net/yade/+question/697465 Hello, In the following simulation, two sphere are fired in opposite direction at a pfacet box clump. Ideally after collision, the box starts rotating and the spheres move in the opposite direction (opposite to

Re: [Yade-users] [Question #697465]: Angular momentum of pfacet clump not conserved after collision

2021-06-09 Thread Rohit John
Question #697465 on Yade changed: https://answers.launchpad.net/yade/+question/697465 Summary changed to: Angular momentum of pfacet clump not conserved after collision -- You received this question notification because your team yade-users is an answer contact for Yade.

Re: [Yade-users] [Question #697249]: extMaterial in cylinderConnection gridpfacet.py not used

2021-05-26 Thread Rohit John
Question #697249 on Yade changed: https://answers.launchpad.net/yade/+question/697249 Status: Answered => Open Rohit John is still having a problem: Hi Bruno, I thought the intMaterial is CohFrictMat whereas the external material would be FrictMat. In that case wouldn't we need

[Yade-users] [Question #697249]: extMaterial in cylinderConnection gridpfacet.py not used

2021-05-26 Thread Rohit John
New question #697249 on Yade: https://answers.launchpad.net/yade/+question/697249 Hello all, I was going through the code in gridpfacet.py [1] and I found that in the definition of the cylinderConnection() function, I found that the argument extMaterial is not used. Is it by design or is that

Re: [Yade-users] [Question #697249]: extMaterial in cylinderConnection gridpfacet.py not used

2021-05-26 Thread Rohit John
Question #697249 on Yade changed: https://answers.launchpad.net/yade/+question/697249 Status: Answered => Solved Rohit John confirmed that the question is solved: Thanks Bruno Chareyre, that solved my question. -- You received this question notification because your team yade-us

Re: [Yade-users] [Question #697791]: yade installation: AttributeError: module 'mpmath.ctx_mp_python' has no attribute 'mpf'

2021-07-02 Thread Rohit John
Question #697791 on Yade changed: https://answers.launchpad.net/yade/+question/697791 Status: Answered => Solved Rohit John confirmed that the question is solved: Dear Janek Kozicki, Thanks for your advice. The problem is solved. I did the following - uninstalling mpmath using pip $ p

[Yade-users] [Question #697791]: yade installation: AttributeError: module 'mpmath.ctx_mp_python' has no attribute 'mpf'

2021-06-30 Thread Rohit John
New question #697791 on Yade: https://answers.launchpad.net/yade/+question/697791 Hello, I tried compiling yade in my Ubuntu 20.04 machine. I followed the instructions in [1]. The compilation completed without any errors. However, when I try to run yade, I get the following:

Re: [Yade-users] [Question #697791]: yade installation: AttributeError: module 'mpmath.ctx_mp_python' has no attribute 'mpf'

2021-07-01 Thread Rohit John
Question #697791 on Yade changed: https://answers.launchpad.net/yade/+question/697791 Status: Answered => Open Rohit John is still having a problem: Dear Janek Kozicki, I thought pip was the standard method to install python modules. I am able to import mpmath to python, however, it s

[Yade-users] [Question #697145]: Is it possible to simulate a conical grid connection?

2021-05-19 Thread Rohit John
New question #697145 on Yade: https://answers.launchpad.net/yade/+question/697145 Hello, I have been working with grid connections to simulate bristles of a brush. I wanted to know if it possible to simulation a bristle whose diameter changes linearly along its lenght (like a cone). Is it

Re: [Yade-users] [Question #695226]: RungeKuttaCashKarp54Integrator with gridConnections is causing errors

2021-02-10 Thread Rohit John
Question #695226 on Yade changed: https://answers.launchpad.net/yade/+question/695226 Rohit John posted a new comment: Thanks for your advice Bruno, I shall put an update in this thread when I find something useful. Kind regards, Rohit K. John -- You received this question notification because

[Yade-users] [Question #695461]: How to create a solid polyhedron capable of interacting with gridConnections?

2021-02-10 Thread Rohit John
could use polyhedron [1], but I did not find an Ig2 functor for polyhedra and gridConnection. Do you know how to model a shape that is capable of interacting with a gridConnection? kind regards, Rohit John [1] https://yade-dem.org/doc/yade.utils.html?highlight=polyhedron#yade.utils.polyhedron

Re: [Yade-users] [Question #695461]: How to create a solid polyhedron capable of interacting with gridConnections?

2021-02-11 Thread Rohit John
Question #695461 on Yade changed: https://answers.launchpad.net/yade/+question/695461 Status: Answered => Open Rohit John is still having a problem: Dear Jan, >> I found that this pfacet body is hollow > is it a problem? why? If it is possible to set an arbitrary mass t

Re: [Yade-users] [Question #695461]: How to create a solid polyhedron capable of interacting with gridConnections?

2021-02-11 Thread Rohit John
Question #695461 on Yade changed: https://answers.launchpad.net/yade/+question/695461 Rohit John posted a new comment: Hello, Is it possible to add the pFacet body to a clump and then assign the clump mass and MMOI? I tried using O.bodies.appendClumped( [O.bodies[i] for i in node_id_list

Re: [Yade-users] [Question #695461]: How to create a solid polyhedron capable of interacting with gridConnections?

2021-02-11 Thread Rohit John
Question #695461 on Yade changed: https://answers.launchpad.net/yade/+question/695461 Status: Open => Solved Rohit John confirmed that the question is solved: Dear Jan, Thanks for your answer, I tried that and it worked. Kind regards, Rohit K. John -- You received this quest

Re: [Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-03-23 Thread Rohit John
Question #695558 on Yade changed: https://answers.launchpad.net/yade/+question/695558 Status: Expired => Open Rohit John is still having a problem: Dear Klaus Thoeni, I used the fix mentioned in [1] to fix the problem I was facing. And it does fix the dynamics my simulation (see c

Re: [Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-03-24 Thread Rohit John
Question #695558 on Yade changed: https://answers.launchpad.net/yade/+question/695558 Rohit John posted a new comment: Dear Bruno, Thanks for your explanation. I will look into it. How do I open a bug and what information should I put into it? Kind regards, Rohit -- You received this question

Re: [Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-03-23 Thread Rohit John
Question #695558 on Yade changed: https://answers.launchpad.net/yade/+question/695558 Rohit John gave more information on the question: Dear Bruno, I think I found a solution. I found that setting the mass of the grdiConnections to 0 seemed to fix the problem of the triangular object rotation

Re: [Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-03-23 Thread Rohit John
Question #695558 on Yade changed: https://answers.launchpad.net/yade/+question/695558 Status: Answered => Open Rohit John is still having a problem: Dear Bruno, Thanks for you swift reply. > Best method is to download the sources with git [1], then you update with "cd > t

[Yade-users] [Question #696376]: Contact between sphere-gridconnection not detected in a pfacet edge

2021-04-03 Thread Rohit John
New question #696376 on Yade: https://answers.launchpad.net/yade/+question/696376 Hello, The simulation consists of two sphere moving towards two edges of pfacet triangle. They just pass through the edges without any interaction. I think there could be something wrong with the engines I'm

Re: [Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-04-06 Thread Rohit John
Question #695558 on Yade changed: https://answers.launchpad.net/yade/+question/695558 Status: Answered => Open Rohit John is still having a problem: Dear Bruno, I have found one more bug. The angular momentum value of the clump returns (0,0,0) even though inertia is not 0 and angu

Re: [Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-03-02 Thread Rohit John
Question #695558 on Yade changed: https://answers.launchpad.net/yade/+question/695558 Rohit John gave more information on the question: Dear Klaus Thoeni, I was playing around with the pfacet and I found a discrepancy in mass of the nodes in a pfacet. I calculated the mass of the nodes using

Re: [Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-02-24 Thread Rohit John
Question #695558 on Yade changed: https://answers.launchpad.net/yade/+question/695558 Rohit John posted a new comment: Dear Klaus, > Apparently there seems to be a bug in the distribution of the forces onto the > gridNodes [1]. - Thanks for this information. Please let me know if I can he

Re: [Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-02-24 Thread Rohit John
Question #695558 on Yade changed: https://answers.launchpad.net/yade/+question/695558 Rohit John posted a new comment: In the comment above, I have given the code which highlights the bug. I've modified the mikado example [1]. The newton damping is set to 0, but you can still see this bug when

Re: [Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-02-24 Thread Rohit John
Question #695558 on Yade changed: https://answers.launchpad.net/yade/+question/695558 Rohit John gave more information on the question: Dear Klaus, I was testing the mikado example [1], and I found an bug. This example has many vertical cylinders on a pfacet square. In [1], the lengths

Re: [Yade-users] [Question #689485]: ERROR:root:Unable to guess python type from cxx type 'vector >'

2021-02-25 Thread Rohit John
Question #689485 on Yade changed: https://answers.launchpad.net/yade/+question/689485 Rohit John posted a new comment: Hello all, I was facing a similar issue in Yade 2018.02b in Ubuntu 18.04.5 LTS. I tried it on Yade 2020-11-05.git-7d0ae90 and I did not get an error. So this problem is fixed

Re: [Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-02-23 Thread Rohit John
Question #695558 on Yade changed: https://answers.launchpad.net/yade/+question/695558 Rohit John gave more information on the question: Dear Klaus Thoeni, Thank you for your input on my suspicions regarding the rounding error. Is it possible for you to give a value (or a range of values

Re: [Yade-users] [Question #696376]: Contact between sphere-gridconnection not detected in a pfacet edge

2021-04-08 Thread Rohit John
Question #696376 on Yade changed: https://answers.launchpad.net/yade/+question/696376 Rohit John posted a new comment: Dear Klaus, Thanks for working on fixing this bug. Shall I post on launchpad if I find any additional bugs? Kind regards, Rohit K. John -- You received this question

Re: [Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-02-15 Thread Rohit John
. I could not find the bug in my code. I suppose there could be something in the dynamics I am missing. Kind regards, Rohit John from yade import plot, utils from yade.gridpfacet import * # user define function

[Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-02-15 Thread Rohit John
the bug in my code. I suppose there could be something in the dynamics I am missing. Kind regards, Rohit John The minimum working code # --- from yade import plot, utils

Re: [Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-02-15 Thread Rohit John
Question #695558 on Yade changed: https://answers.launchpad.net/yade/+question/695558 Rohit John gave more information on the question: I found that the order of defining the pfacet faces is affecting the rotation. For pfacet_nodes = [ [nodes[0], nodes[2], nodes[1]], [nodes[0], nodes[1

Re: [Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-02-15 Thread Rohit John
. I could not find the bug in my code. I suppose there could be something in the dynamics I am missing. Kind regards, Rohit John from yade import plot, utils from yade.gridpfacet import * # user define function

Re: [Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-02-16 Thread Rohit John
Question #695558 on Yade changed: https://answers.launchpad.net/yade/+question/695558 Rohit John gave more information on the question: Hello, I found that the engine Law2_ScGridCoGeom_FrictPhys_CundallStrack(), was part of the problem. This got rid of the rotation that was caused at the start

Re: [Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-02-16 Thread Rohit John
Question #695558 on Yade changed: https://answers.launchpad.net/yade/+question/695558 Rohit John gave more information on the question: Hello, Please disregards, the comment I made above (#2), now I realize that I need Law2_ScGridCoGeom_FrictPhys_CundallStrack() to handle the interaction between

Re: [Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-02-17 Thread Rohit John
. I could not find the bug in my code. I suppose there could be something in the dynamics I am missing. Kind regards, Rohit John # code from yade import plot, utils from

[Yade-users] [Question #695545]: There is an error fixing DOFs of pfacet?

2021-02-15 Thread Rohit John
New question #695545 on Yade: https://answers.launchpad.net/yade/+question/695545 Hello, I want to fix the rotation DOF of a pfacet. But when I tried that, the face disappeared in the GUI. I used inspect to check the state of the facet. It said nan for some values (pos, vel). Can you help me

Re: [Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-02-18 Thread Rohit John
Question #695558 on Yade changed: https://answers.launchpad.net/yade/+question/695558 Status: Answered => Open Rohit John is still having a problem: Dear Klaus Thoeni, Thanks for your insight into the matter. I tried your solution and it worked. However, project involves study

Re: [Yade-users] [Question #695461]: How to create a solid polyhedron capable of interacting with gridConnections?

2021-02-11 Thread Rohit John
Question #695461 on Yade changed: https://answers.launchpad.net/yade/+question/695461 Rohit John posted a new comment: Dear Bruno, I pointed out the fact that pfacet bodies are hollow because I wanted to simulate the dynamics of a solid body as opposed to a hollow one. I could achieve

Re: [Yade-users] [Question #698572]: Is it possible to constrain the motion of a body along a circle

2021-09-01 Thread Rohit John
Question #698572 on Yade changed: https://answers.launchpad.net/yade/+question/698572 Status: Needs information => Open Rohit John gave more information on the question: Hello Jan, I am trying to simulate a rigid box that is constrained to rotate about an axis that does pass through

[Yade-users] [Question #698572]: Is it possible to constrain the motion of a body along a circle

2021-08-30 Thread Rohit John
New question #698572 on Yade: https://answers.launchpad.net/yade/+question/698572 Hello, I want to constrain the motion of a body to a circle. The answer given in [1], recommends using a penalty force to constrain the motion of the body. If large forces act on the body, I suppose this method

Re: [Yade-users] [Question #698572]: Is it possible to constrain the motion of a body along a circle

2021-09-03 Thread Rohit John
Question #698572 on Yade changed: https://answers.launchpad.net/yade/+question/698572 Status: Answered => Open Rohit John is still having a problem: Dear Jan, Thanks for clearing my doubt and your idea. I figured out a method using Lagrangian Dynamics and Lagrangian multipliers. The I

Re: [Yade-users] [Question #698572]: Is it possible to constrain the motion of a body along a circle

2021-09-02 Thread Rohit John
Question #698572 on Yade changed: https://answers.launchpad.net/yade/+question/698572 Status: Needs information => Open Rohit John gave more information on the question: Dear Karol, > aren't those two statements opposite: - You are correct, I made a mistake. It is supposed to be

Re: [Yade-users] [Question #698572]: Is it possible to constrain the motion of a body along a circle

2021-09-06 Thread Rohit John
Question #698572 on Yade changed: https://answers.launchpad.net/yade/+question/698572 Rohit John posted a new comment: Dear Karol and Jan, Thanks for taking time from your work to come up with really creative solutions to my problem. I will test the solutions and let you know what I find. Kind

[Yade-users] [Question #698754]: Making video of pfacet clump: clump falling apart

2021-09-16 Thread Rohit John
New question #698754 on Yade: https://answers.launchpad.net/yade/+question/698754 Hello all, I am trying to make a video of a rotating pfacet clump. However, when the pfacet clump starts rotating it seems to be falling apart in the 3D view. According to Bruno Chareyre [1] #17 : "Note: there

Re: [Yade-users] [Question #698572]: Is it possible to constrain the motion of a body along a circle

2021-09-18 Thread Rohit John
Question #698572 on Yade changed: https://answers.launchpad.net/yade/+question/698572 Rohit John posted a new comment: Dear Jan, I performed a simple test on your code. I tried simulating what would happen a sphere hits the clump "pendulum". Then the angular velocity about the origin w

Re: [Yade-users] [Question #698572]: Is it possible to constrain the motion of a body along a circle

2021-09-18 Thread Rohit John
Question #698572 on Yade changed: https://answers.launchpad.net/yade/+question/698572 Status: Answered => Open Rohit John is still having a problem: Dear Jan, I tried the same test, explain in the previous comment, on a clump which is force to rotate about the origin using a penalty fo

Re: [Yade-users] [Question #698825]: Yade-batch is being indeterministic

2021-09-27 Thread Rohit John
Question #698825 on Yade changed: https://answers.launchpad.net/yade/+question/698825 Rohit John posted a new comment: Dear Karol, Thanks for spending your time to find the probable cause and proposing a viable solution. I shall look into this and get back as soon as possible. Kind regards

[Yade-users] [Question #698825]: Yade-batch is being indeterministic

2021-09-22 Thread Rohit John
New question #698825 on Yade: https://answers.launchpad.net/yade/+question/698825 Hello, I am simulating the interaction between a brush (modelled using gridConnections) and a rotating box (pfacet clump). I noticed some inconsistencies in the batch simulations and I tried a batch simulation in

Re: [Yade-users] [Question #698825]: Yade-batch is being indeterministic

2021-09-22 Thread Rohit John
Question #698825 on Yade changed: https://answers.launchpad.net/yade/+question/698825 Rohit John posted a new comment: Hello all, Please use the following code for post-processing Kind regards, Rohit

Re: [Yade-users] [Question #698825]: Yade-batch is being indeterministic

2021-09-22 Thread Rohit John
Question #698825 on Yade changed: https://answers.launchpad.net/yade/+question/698825 Status: Needs information => Open Rohit John gave more information on the question: Dear Robert, I tried adding the column "!OMP_NUM_THREADS" and I set all the values to one (given below

Re: [Yade-users] [Question #698825]: Yade-batch is being indeterministic

2021-09-22 Thread Rohit John
Question #698825 on Yade changed: https://answers.launchpad.net/yade/+question/698825 Status: Needs information => Open Rohit John gave more information on the question: Hello, I have put the content of the .log file at the end of this comment. In a previous, albeit more complicated scr

Re: [Yade-users] [Question #698572]: Is it possible to constrain the motion of a body along a circle

2021-09-21 Thread Rohit John
Question #698572 on Yade changed: https://answers.launchpad.net/yade/+question/698572 Rohit John posted a new comment: Hello all, I managed to make the code I had posted earlier faster (#6) by getting an analytical solution for the non linear equations. The code is given below. It affects

Re: [Yade-users] [Question #698825]: Yade-batch is being indeterministic (gtsPfacet)

2021-09-27 Thread Rohit John
Question #698825 on Yade changed: https://answers.launchpad.net/yade/+question/698825 Summary changed to: Yade-batch is being indeterministic (gtsPfacet) -- You received this question notification because your team yade-users is an answer contact for Yade.

Re: [Yade-users] [Question #698825]: Yade-batch is being indeterministic

2021-09-27 Thread Rohit John
Question #698825 on Yade changed: https://answers.launchpad.net/yade/+question/698825 Status: Open => Solved Rohit John confirmed that the question is solved: Dear Karol, You are correct. The problem lies with the gtsPfacet() function. It is introducing randomness somehow. I tried writ

Re: [Yade-users] [Question #698754]: Making video of pfacet clump: clump falling apart

2021-09-24 Thread Rohit John
Question #698754 on Yade changed: https://answers.launchpad.net/yade/+question/698754 Status: Answered => Solved Rohit John confirmed that the question is solved: Dear Bruno, Thanks for your help. I really like your creative solution. It solved my problem Kind regards, Rohit K. J

Re: [Yade-users] [Question #698754]: Making video of pfacet clump: clump falling apart

2021-09-24 Thread Rohit John
Question #698754 on Yade changed: https://answers.launchpad.net/yade/+question/698754 Rohit John confirmed that the question is solved: Thanks Bruno Chareyre, that solved my question. -- You received this question notification because your team yade-users is an answer contact for Yade

[Yade-users] [Question #699273]: Clump angular momentum not conserved

2021-10-29 Thread Rohit John
New question #699273 on Yade: https://answers.launchpad.net/yade/+question/699273 Hello all, I have a simulation consisting of two spheres (S1, S2) and a clump made of two spheres (C1, C2). The two spheres, S1 and S2, are given the same initial speed but in the opposite directions along the

Re: [Yade-users] [Question #699273]: Clump angular momentum not conserved

2021-10-29 Thread Rohit John
Question #699273 on Yade changed: https://answers.launchpad.net/yade/+question/699273 Rohit John gave more information on the question: Hello all, I derived the equations for getting the state after the collision using the following code Kind regards, Rohit K. John

Re: [Yade-users] [Question #699273]: Clump angular momentum not conserved

2021-10-29 Thread Rohit John
Question #699273 on Yade changed: https://answers.launchpad.net/yade/+question/699273 Status: Answered => Open Rohit John is still having a problem: Hello, I apologise for not mentioning the version of Yade I use. I am using Yadedaily. I will amend the initial description. Kind rega

Re: [Yade-users] [Question #699273]: Clump angular momentum not conserved

2021-10-29 Thread Rohit John
Question #699273 on Yade changed: https://answers.launchpad.net/yade/+question/699273 Description changed to: Hello all, I have a simulation consisting of two spheres (S1, S2) and a clump made of two spheres (C1, C2). The two spheres, S1 and S2, are given the same initial speed but in the