yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #09873
Re: [Question #251510]: Loop - array -->Find out the strength needed to move each particle
Question #251510 on Yade changed:
https://answers.launchpad.net/yade/+question/251510
rayolau posted a new comment:
Hi Jérôme, thanks for answering so fast!
I understood that I put inside the while loop, the engine
NewtonIntegrator for the positions and velocities are updated. I've
updated this part of the code, and I still have the same problem, the
position is not updated after applying force.
while b.state.pos[0]!=g.state.pos[0]:
fx=fx+0.01
fy=0
fz=0
O.engines=[
InsertionSortCollider(
[Bo1_Sphere_Aabb(),
Bo1_Facet_Aabb(),
Bo1_Box_Aabb(),
Bo1_Wall_Aabb()]),
InteractionLoop(
[Ig2_Sphere_Sphere_ScGeom(),
Ig2_Facet_Sphere_ScGeom(),
Ig2_Wall_Sphere_ScGeom(),
Ig2_Box_Sphere_ScGeom()],
[Ip2_FrictMat_FrictMat_FrictPhys()],
[Law2_ScGeom_FrictPhys_CundallStrack()]
),
NewtonIntegrator(damping=0.5,gravity=(0,-9.81,0),label='newton')
]
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.