← Back to team overview

yade-users team mailing list archive

Re: [Question #231633]: Problem with stress mask value

 

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

Nolan Dyck posted a new comment:
I have also found the bitmask to be a mystery. Maybe someone more
knowledgeable than me could explain it. That being said I know the
stressMask value 0b111 indicates stress control for all axis, and the
value 0b000 indicates strain control for all axis. At the bottom of your
code you have:

#set stress control on x and z, we will impose strain rate on y
triax.stressMask = 7

I'm not sure how to do this; its going to be some combination of 1s and
0s after the b (e.g. 0b010). I would suggest experimenting with
different values.

Also, when I ran your code, yade locks up and becomes unresponsive so I
cant open the 3D view to see whats going on. Not sure if that is
supposed to happen.

Hopefully this answer will tide you over until someone else gets around to responding.
Nolan

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