yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #15473
Re: [Question #655521]: using TriAxialstressController obtain volume origin and size
Question #655521 on Yade changed:
https://answers.launchpad.net/yade/+question/655521
Status: Open => Answered
Robert Caulk proposed the following answer:
Hello,
I think you are right, X/Y/Z = width/height/depth [1]. height0 is the
reference height used for strain calculation [2].
>However, how do I get the origin or center of this volume?
So you want the center of the box defined by the locations of the
triaxial walls? The user defines the geometry and position of the walls
explicitly. In most triaxial loading conditions, the center should not
change. If for some reason you are expecting unsymmetric deformation or
specimen translation, you can you use the position of the walls to
determine where the center is. O.bodies[1].state.pos provides access to
this information.
Cheers,
Robert
[1]https://github.com/yade/trunk/blob/e4e757f2e98a620e3177b7a36a1d10f69f6a6a28/pkg/dem/TriaxialStressController.cpp#L122
[2]https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.TriaxialStressController.height0
--
You received this question notification because your team yade-users is
an answer contact for Yade.