Question #685885 on Yade changed: https://answers.launchpad.net/yade/+question/685885
Jan Stránský proposed the following answer: Hello, velVec is assigned a value inside an if condition (if aTime>0.005). This condition is false (you can easily check, O.dt=0.0001, iterPeriod=1) and velVec therefore has no value. Then you try to assign it to translation engine, but it is currently just nothing, so Python comes with this error. cheers Jan PS: have look at [1], section "Please, no external links!" ;-) PPS: aTime = (O.iter*O.dt) ... you can use directly aTime = O.time [1] https://www.yade-dem.org/wiki/Howtoask -- You received this question notification because your team yade-users is an answer contact for Yade. _______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp

