← Back to team overview

yade-users team mailing list archive

Re: [Question #257061]: Bug in UniaxialStrainer ?

 

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

    Status: Open => Answered

Bruno Chareyre proposed the following answer:
Hi Hicham,
I think it is a feature of uniaxialStrainer to allow lateral deformations, not a bug.
This behavior actually minimizes the boundary effects. You should have even more stress concentration near the plates if you don't allow the thining of the cross section at the top and bottom.

Anyway, if you definitely need no deformation of upper/lower spheres it should be possible without changing the code.
Do this once before the test:

for id in posIds:
   O.bodies[id].state.blockedDOFs="xyz" #(or even "xyzXYZ"?)
   O.bodies[id].state.vel=(0,0,0) #useless if velocities are null initially

They will move like a rigid block.

Bruno

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.