← Back to team overview

yade-users team mailing list archive

Re: [Question #678982]: about TriaxialStressController

 

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

    Status: Open => Answered

Robert Caulk proposed the following answer:
> in the second section of it (deviatoric part) it doesn't stop when it
reach to -0.2 strain in z direction. What can I do for it?

As highlighted by the documentation [1], triax.stressMask assigns a
strain rate. Therefore,  I don't expect Yade to stop straining with that
strain rate until intervened. How to intervene really depends on your
problem and what you want to solve. In all cases you will want to
periodically check your strain values and take action (e.g. change
stress conditions, pause the simulation, save the packing etc) after
some criteria is met. This is most commonly achieved using a tool called
a "PyRunner", which is already exemplified in the triaxial example
script [1] and is also very well documented in [3] and [4] :-)

[1]https://yade-dev.gitlab.io/trunk/yade.wrapper.html#yade.wrapper.TriaxialStressController.stressMask
[2]https://gitlab.com/yade-dev/trunk/blob/master/examples/triax-tutorial/script-session1.py
[3]https://yade-dev.gitlab.io/trunk/tutorial-data-mining.html#pyrunner
[4]https://yade-dev.gitlab.io/trunk/yade.wrapper.html#yade.wrapper.PyRunner

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