← Back to team overview

yade-users team mailing list archive

Re: [Question #668838]: Converting triaxial Scripts to biaxial compression

 

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

    Status: Open => Answered

Robert Caulk proposed the following answer:
Hey Nima,

To elaborate on Bruno's comment, the TriaxialStressController [1] has a
member variable named "stressMask" [2], which is a bitmask that controls
which goals [3] are imposed stresses, the remaining walls being imposed
strains. I had some trouble following what conditions you need exactly,
but if you are after biaxial conditions, you would simply use a
stressMask = either 4, 5, or 6 (goals are imposed stresses in 2
directions [2]). Then you assign a strain goal=0 for the remaining
direction.

Hope it helps,

-rc


[1]https://github.com/yade/trunk/blob/master/examples/concrete/uniax.py
[2]https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.TriaxialStressController.stressMask
[3]https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.TriaxialStressController.goal1

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