← Back to team overview

yade-users team mailing list archive

[Question #689537]: Tutorial example script 04-periodic-simple-shear.py does not work

 

New question #689537 on Yade:
https://answers.launchpad.net/yade/+question/689537

Hello,

I face the same problem as Jan in 2016 concerning 2 bugs in Tutorial example script 04-periodic-simple-shear.py.
These bugs were reported as  https://bugs.launchpad.net/yade/+bug/1634434
(L75)
if stress.trace()/3.<limitMeanStress:
...
limitMeanStress is given a negative value (that's expected )

and stress.trace is positive and is increasing with time so the condition (L75) is never fulfilled.

Furthermore, it gives ZeroDivisionError in the beginning
(L120)
plot.addData(exz=O.cell.trsf[0,2],szz=stress[2,2],sxz=stress[0,2],tanPhi=stress[0,2]/stress[2,2],i=O.iter)
and stress[2,2] is taking zero value at the beginning.

Was there improvements on the example script since with respect to these bugs ??
The film shown in the example can not for this reason be reproduced.

Thank you for your input,

Vincent  

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