← Back to team overview

yade-users team mailing list archive

Re: [Question #562171]: Why I can't get stress?

 

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

Robert Caulk posted a new comment:
I am unsure what you mean by "it is still the same".

I have run your script, including O.run(), and it runs without error.
triax.stress returns stresses.

Can you provide more details about your setup? 
-which version of yade are you using?
-what distribution of linux are you using?
-details about the behavior of yade and your specific interactions with it when the behavior seems abnormal? 

Here is your code, including O.run().

O.dt=PWaveTimeStep()
O.run()

def controlporosity():
     targateporosity=0.36
     a=utils.porosity()
     print 'stress tensor ', triax.stress
     if a<targateporosity:
         O.pause()

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