Re: [Yade-users] [Question #289662]: ZeroDivisionError: float division by zero

2016-05-02 Thread Yor1
Question #289662 on Yade changed: https://answers.launchpad.net/yade/+question/289662 Status: Answered => Solved Yor1 confirmed that the question is solved: Hi Jerome Thank you for your advice. I will try to put the essential part of the script without comments :) Jabrane. -- You

Re: [Yade-users] [Question #289662]: ZeroDivisionError: float division by zero

2016-04-12 Thread Jérôme Duriez
Question #289662 on Yade changed: https://answers.launchpad.net/yade/+question/289662 Jérôme Duriez proposed the following answer: Hi Jabrane, The error says "Division by 0" thus it means Yade has at one point to divide by 0 and obviously it can not handle that. The error also says this division

Re: [Yade-users] [Question #289662]: ZeroDivisionError: float division by zero

2016-03-31 Thread Jan Stránský
Question #289662 on Yade changed: https://answers.launchpad.net/yade/+question/289662 Status: Open => Answered Jan Stránský proposed the following answer: Hi Jabrane, please provide also the file X1Y2Z1_20k.spheres such that we can test it ourselves. Also the error says exactly on which

[Yade-users] [Question #289662]: ZeroDivisionError: float division by zero

2016-03-31 Thread Yor1
New question #289662 on Yade: https://answers.launchpad.net/yade/+question/289662 Hello, I try to simulate triaxial compression test on fractured sample in order to determine the energy balance. To calculate the elastic energy i use this formula: Elastic energy=Fn^2/kn + Fs^2/ks with Fn, Fs