← Back to team overview

yade-users team mailing list archive

Re: [Question #693690]: problems in making a 2D packing using TriaxialStressController

 

Question #693690 on Yade changed:
https://answers.launchpad.net/yade/+question/693690

Jan Stránský posted a new comment:
Hello,

if you ask a question and then come to solution yourself, please next
time explain the solution (for further reference and for people coming
here with the same problem)

> the walls didn't move at all

depends on definition of walls :-)
the "walls=aabbWalls(thickness=0,material='frictionlessWalls')" indeed does not move
BUT, the triax's "walls" DOES!
try:
b = O.bodies[triax.wall_left_id]
print(b.state.displ()) # the wall does move!
print(O.bodies[triax.wall_left_id].shape) # Sphere (!!)

Either specify wall ids explicitly, or add walls before spheres [1]

cheers
Jan

[1] https://yade-
dem.org/doc/yade.wrapper.html#yade.wrapper.TriaxialStressController.wall_back_id

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.