← Back to team overview

yade-users team mailing list archive

Re: [Question #683385]: stressMask meaning in class PeriTriaxController

 

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

    Status: Open => Answered

Jérôme Duriez proposed the following answer:
Hi,

Everything you said is correct, so I guess you almost understood stress masks, congratulations !
In order to nail it down once for all (hopefully) and understand more complex cases than the isotropic 111 = 7, let say that

stressMask = a*2^0 + b*2^1 + c*2^2 = a + 2b + 4c, with a,b,c = 0 or 1.

Then a corresponds to x direction (direction "0"),
b corresponds to y direction (direction "1"),
and c corresponds to z direction (direction "2")

and the 0/1 values tell you whether each direction is strain (0) or
stress (1)-controlled.


And, as you said, the range of possible values for  a + 2b + 4c, with a,b,c = 0 or 1, indeed goes from 0 to 7.

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